I actually aim to use Armbian’s kernel builds for our new NanoPi 5/6 series images. For R5S/R5C, it will use mainline Linux, for 6 series it is based on the vendor kernel, but still 5.10.160: Index of /armbian/pool/main/l/linux-dtb-legacy-rk35xx/
So I wonder whether FriendlyELEC based their 6.1 branch on mainline Linux . I will think about this after some other required image/kernel work for other SBCs.
Personally I think there’s two ways to go either fully mainline (but there’s issues with complete support for HW accelerations)
Or with the vendor kernel which seems to have active (enough) development and full HW accelerations. I was also able to compile it on modern Ubuntu Jammy LTS but I do need to test it a bit more
So I wonder whether FriendlyELEC based their 6.1 branch on mainline Linux
It doesn’t seem like it’s mainline it also uses Rockchip weird partition table so I couldn’t build a booting image with mainline image builder efforts.
At least Friendlyelec provides clean debian images now so making them DietPi is a breeze.
Then again for DietPi either going full mainline (with 6.6 LTS coming up) would probably be the very best way to go (but don’t forget mainline U-Boot then too). But to have full (confirmed) working support Friendlyelec’s 6.1 branch might be the smarter option
If I understand it correctly you just dd’d everything besides rootfs and updated firmware (where did that firmware.deb come from?).
FriendlyElec’s 6.1 is based on rk/develop-6.1 (not really published publicly but technically released and available on Rockchips SDK) so they didn’t brew up something on their own.
Since we are talking about our NanoPi R5S/R6S images, replacing the bootloader is mandatory to make it use any kernel from the rootfs. When this is done, you can also use e.g. the kernel builds from Armbian (and their U-Boot builds as well), who also offer some based in mainline Linux, running very well at least on R5S/RK356x.
I want to test removing the first 7 partitions from our images, so that the rootfs is the only left one, and then flashing the Armbian U-Boot. If this works, then probably the rootfs/partition can additionally be expanded to use the leading 140 MiB which the 7 bootloader/kernel/config partitions did previously use.
I’ll start working on this once I’m done with some RPi 5 image generation and testing.
Yeah that makes way more sense. As long as we stay with Armbian Legacy and go from the separate partitions to the way all other sbc‘s do it. By then maybe the public Rockchip 6.1 SDK is in a good state