I am looking for a way to enable SPI on the RK3399-SOM. Currently I am rebuilding the kernel and trying to modify the nano-pi device tree. Then I use the AndroidTool to flash the new kernel. But this doesnt seem to work?

- Is the device tree loaded from the rootfs on boot? Do i need to change the device tree on the file system instead of the kernel?

- is the device tree carried over from u-boot? I wouldnt think so but I just wanted to check.

- I have dumped the device tree from the RK3399-som and have modified it accordingly.

I am using the Bionic Friendly Elec Image.

Thanks!