-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Image | NanoPi R4SE #5712
Comments
It seems
|
It also has the odd partition structure mentioned on #5598 |
no luck with my second attempt:
|
The good news is https://www.armbian.com/nanopi-r4s/ works on the R4SE (boots from SD card and recognizes both ethernet ports). Unfortunately, nand-sata-install doesn't work yet due to a missing patch. |
Great, so no own image is required but we need to update ours for R4S. Long overdue anyway for the NanoPi's, to add them to our image generation CI. |
Woot! Thanks to the great work by @pyavitz on #5598 (comment) and @coolsnowwolf on https://github.com/coolsnowwolf/lede/blob/master/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4se.dts I was able to compile rk3399-nanopi-r4se-dtb.zip then load rk3568-nanopi-r5s-debian-bullseye-5.19.8-arm64-2022-09-14.img.xz on to an SD card then add rk3399-nanopi-r4se.dtb to ROOTFS/boot/rockchip and edit ROOTFS/boot/extlinux/extlinux.conf to say P.S. Not sure if it was a necessary step, but I first cleared the eMMC boot loader via FriendlyElec's instructions with one of their provided OS images: |
hmm.. having intermittent boot issues. will continue to investigate |
I'm suprised you are booting at all. U-Boot should be different for that board. |
It must have been using the uboot from the eMMC. After I cleared the eMMC boot loader the modified R5S image doesn't boot as you expected. I'm recompiling for R4SE specifically now and I'll let you know how it goes. |
No luck after a week of hacking. I'll take a break for a bit. |
Try the new image. I'm told it works. |
Whoa! That worked - both SD card and eMMC!! You da' man, @pyavitz
|
enjoy. |
@MichaIng, the |
Are kernel/bootloader/firmware DEB packaged? |
The kernel is a deb package. The bootloader is flashed and a copy of the bin(s) stored at |
Is it named |
in this case |
This explains it. So the script needs to be edited to preserve these packages. However, I suggest to follow the Linux package naming convention (like |
I think a PR should be open over at Armbian. The patching I'm using for the R4SE is very limited and wouldn't take much effort to get working. It's basically a u-boot hack and a kernel patch. Igor is currently working on the R5S, so now would probs be a good time to introduce it. |
But Armbian kernel packages do follow this conversion, so nothing to patch on their end. |
They would need to patch uboot and the kernel. |
So would it be possible it change |
As a "somewhat" quick fix for this use case, sure. You need to edit the function file In a perfect world this would all be mostly automated through variables in the $board file but I haven't gotten around to it yet. |
Ah sorry, yes they'd need to add your patches for proper R4SE support inkl. eMMC boot, but at least the kernel package has the common naming that is preserved by our installer 😅. Wait, does extlinux support device tree overlays natively via |
The image was not created by us. It was done by a user 😄 . Therefore it is not available on our download page. |
I see, any chances it will be picked up officially? |
I'll have a look, pyavitz's images/packaging looks pretty good. |
Thanks! Hopefully it's good to be included next release :D |
@pyavitz thoughts on refreshing the R4SE base image to bookworm? |
Check. |
That worked, thanks! A few notes, all minor issues:
Conversion to DietPi went fairly smoothly. A couple notes, all minor issues:
For reference, here's the eMMC installation command:
Download: DietPi_NanoPi_R4SE-ARMv8-Bookworm.7z |
I don't own the board so trouble shooting is limited on my end. If you have ideas on how to fix the issues let me know.
Check the udev rule: /etc/udev/rules.d/10-nanopi-led.rules
I don't set root passwords by default. Users can do that
This could be related to a u-boot patch? rockchip-rk3399-add-ethaddr-and-serial-number-init |
I'm good with the current image -- all findings were minor and ignore-able for my use case. Thanks again for your quick turnaround. |
I missed this issue. The NanoPi R4SE still requires an own bootloader binary and does not boot with R4S bootloader, right? Can be added pretty quickly to our build and installer scripts. |
Personally I've moved on to their R5x and R6x lines but it would be nice if you supporte the R4SE officially since you have DietPi images for the other R4x models. |
Agreed. A gap in the lineup is not nice, especially since people might unnecessarily waste time to test the R4S image. |
I might be able to test a new image, since I have one of these available. Let me know what I can do to help, I'd love bringing this little one back to life. |
Creating an image request
Formal device information
Is the SBC officially supported by the Debian installer?
If not, is a reliable 3rd party Debian image available for this SBC?
The text was updated successfully, but these errors were encountered: