Modifing the Device Tree

Hi all,

I’m using a Rock 5 ITX running Armbian with kernel 6.1.99-vendor . My setup includes an NVMe drive and two SATA SSDs. The SATA SSDs are not being detected with this kernel.

I found this upstream kernel commit, which seems to address the issue.

To apply the fix without modifying the current kernel , I downloaded the Linux v6.15 source (which includes the fix), compiled it, and generated the corresponding DTB. I then replaced the existing DTB at /boot/dtb/rockchip/rk3588-rock-5-itx.dtb with the newly compiled one and rebooted.

Unfortunately, the board fails to boot after this change.

From my understanding, the DTB is read by the bootloader (u-boot), so I thought it could be updated independently of the kernel. However, I may be missing something (I’m relatively new to this). Could anyone clarify what I’m doing wrong or what additional steps are needed to modify the DTB correctly? Any help is appreciated!

Thanks!

I don’t think you can use the mainline dtb with the vendor kernel.