NanoPC-T6 Kernel 6.x with modules - build and install? #6619
-
I discovered that there is the 6-series dietpi and used that one - also worked nicely with dd-ing the sd card to the emmc. Doing that we end up with this layout on the EMMC:
Because I did not find the modules I need for my stuff in the 5.10 kernel shipped with the image, I'm wondering about the workflow to update the kernel on those devices. From the Wiki at Friendlyelec it seems that one needs to indeed dd stuff to individual partitions. I also tried updating the kernel by manually apting
I would rather not want to go for Ubuntu or the FriendlyElec distro if there is a way to upgrade/customize the kernel on the Dietpi release. Any help appreciated... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
There is no good mainline Linux support for this SoC yet, so for now we use the FriendlyELEC/Rockchip vendor kernel, which is natively outdated at 5.10.160. At least we'll switch to Armbian's kernel builds soon, probably with next release, so that the new images will contain a single partition only and the kernel image along with boot configs etc in Of course we could also try unmodified upstream Linux directly. A device tree for the NanoPC T6 has been added just for first Linux 6.6 RCs. Sadly R6S is still missing: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/rockchip |
Beta Was this translation helpful? Give feedback.
-
thx a lot for the quick answer... yes, it is indeed very new and it's a pity that things don't move as fast as we want them to do :-) I will see if I can get the stuff done somehow with the 5.10 kernel - seems that also the FriendlyCore is at that level... I was just wondering if there is a plan to make the R5 and T6 more like the RockPros, which are currently a bit easier to handle... |
Beta Was this translation helpful? Give feedback.
-
Ok, I got my own kernel compiled following the instructions from FriendlyElec. I successfully flashed it to an SD card (modules to rootfs, kernel and resources to partitions). Booted nicely and does what it is supposed to do. I did not find documentation about the device tree however. There is a dtbs partition which is not overwritten by default (which I feel is a bit weird). Because there is no device tree overlay in this partition setup, it seems that I have to update the device tree manually and flash it to the partition. Can you point me to some documentation how to update the device tree partition? |
Beta Was this translation helpful? Give feedback.
There is no good mainline Linux support for this SoC yet, so for now we use the FriendlyELEC/Rockchip vendor kernel, which is natively outdated at 5.10.160.
At least we'll switch to Armbian's kernel builds soon, probably with next release, so that the new images will contain a single partition only and the kernel image along with boot configs etc in
/boot
, rather than distributed across those 7 partitions. Once this is done, it is at least easier to build the same with mainline kernel. Armbian does not ship them via APT repo yet, but using their build system they can be built already, at least: https://github.com/armbian/build/blob/main/config/boards/nanopct6.wipOf course we could also t…