New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FriendlyARM NanoPi R1 not booting in 22.03.01-rc4 #10080
Comments
I think there is indeed something wrong with Openwrt 22 on this particular device. I suspect there is an issue with the network configuration. Tested version: OpenWrt 22.03.2, r19803-9a599fee93 On my test setup the WAN interface seems to pick an IPv6 address but there is no IPv4 connectivity:
Contents of /etc/config/network:
The file looks wrong to me. Isn't the bridge section supposed to have two interfaces? However, I have become aware of an important change between Openwrt 21.x and 22.x (not sure if it's related but mention it just in case):
Source: Firewall configuration /etc/config/firewall I have noticed no problem on other devices like the Nanopi R4S. |
Yes i have the same problem with a fresh nanopi r1 and testing with 22.03.2 images for this device. Does not hand out ip to a wired device on LAN interface, so from here on its a dead device. Friendlywrt image based on 19.07 works but is too old for current use. |
Yes for me it wasnt clear if the cpu frequency problem was also causing the problem i experienced with not handing out an ip address. |
Your device is not only not giving out ip-addresses, but fails to boot from mmc entirely, as your posted log suggests. |
Oh thx for pointing that out , i didnt realize it. |
Sorry, used the wrong issue in the commit message. The idea is to backport bf06a7c to 22.03 early 2023 if there is no fallout reported. |
Several sunxi devices come with multiple mmc devices. On such devices, the mmc device order is unpredictable, so using /dev/mmcblk0p2 as root device doesn't always work, which results in unbootable devices. For the Banana Pi BPI-R3 in the mediatek target, this has been solved by defining aliases for the mmc devices in the DTS. Ideally we would do the same here, but for sunxi-a64 we already use UUID probing, so let's start with that (5f2ff60 ("uboot-sunxi: a64: allow booting directly from eMMC")). Since we're building and including u-boot in each supported device image, and this method has been proven to work fine for a64, let's just change the default u-boot env file to do the same. Fixes: openwrt#10080 Fixes: e6d9f6f ("sunxi: add support for FriendlyARM NanoPi R1") Co-authored-by: Karl Palsson <karlp@etactica.com> Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me> [use UUID in default u-boot env, rewrite commit message] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
I've tried the 22.03.3 from file selector for my nanopi R1 hoping it was fixed but it seems it still has the same issue.( not booting) When can we expect that the patch is incorporated when downloaded from firmware-selector ? So i've gone back to openwrt-21.02.5-sunxi-cortexa7-friendlyarm_nanopi-r1-squash-sdcard.img.gz for now , no problems but probably unfixed security issues being a year old. |
FriendlyARM NanoPi R1 not booting in 22.03.01-rc4, 22.03.01-rc1 or snapshot
All is well on 21.02.3 (r16554-1d4dea6d4f)
The text was updated successfully, but these errors were encountered: