OPKG repository missing packages for 'aarch64_cortex-a53' (friendlywrt)

I am trying to transition my OpenWRT installation to a new device (NanoPI R4S - 4gb ram) and I have found that some of openwrt core packages for this device architecture "aarch64_cortex-a53" may not exist in the repository, is this intended?

I need IPv6 NAT6 on my network due to crappy ISP - following the openwrt instructions to set this up again (I done it successfully in the past) I can't proceed due to opkg install not being able to find the required packages.

My NanoPI R4S:

 -----------------------------------------------------
 FriendlyWrt 19.07.5, r11257-5090152ae3
 -----------------------------------------------------
root@FriendlyWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.5/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
root@FriendlyWrt:~# opkg install kmod-ipt-nat6
Unknown package 'kmod-ipt-nat6'.
Collected errors:
 * opkg_install_cmd: Cannot install package kmod-ipt-nat6.

My other OpenWRT device (x86) has no issues.

 -----------------------------------------------------
 OpenWrt 19.07.7, r11306-c4a6851c72
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/19.07.7/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.7/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/freifunk/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_freifunk
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/freifunk/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/x86_64/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install kmod-ipt-nat6
Installing kmod-ipt-nat6 (4.14.221-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.7/targets/x86/64/packages/kmod-ipt-nat6_4.14.221-1_x86_64.ipk
Installing kmod-nf-nat6 (4.14.221-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.7/targets/x86/64/packages/kmod-nf-nat6_4.14.221-1_x86_64.ipk
Configuring kmod-nf-nat6.
Configuring kmod-ipt-nat6.

Your (non-openwrt) friendlywrt seems to be missing the kernel dependent "target" download directory definitions. You better ask the friendlywrt people for the right definitions.

2 Likes

Did I miss an official OpenWRT build that may exist for this device?

Their instructions only advertise their own fork of OpenWRT (which I guess may have performance tweaks) https://wiki.friendlyarm.com/wiki/index.php/NanoPi_R4S#Download_Image_Files

Possibly.
New devices are added to master, so you should look into master or 21.02 instead of the ancient 19.07

And in any case, you can't install separately built kernel modules to builds. They need to be from the same build run as the kernel itself. That is probably the reason why friendlywrt does not offer downloads from the OpenWrt repo, as the kmods would be incompatible on any case.

2 Likes

thanks @hnyman !

Seems to be in master since June. "rockchip" target...

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b72157984268b6542dd667859e4aed9cc2bbb7f5

is "master" = 21.x version of OWRT?

edit: it is.

https://downloads.openwrt.org/releases/21.02.0-rc3/targets/rockchip/

No.
Master is the main development branch, while 21.02 is the current/forthcoming release branch based on Feb 2021 master...

You can install a master snapshot
https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/

1 Like

Link
https://openwrt.org/about/history#branch_logic

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.