radxa-pkg / radxa-overlays

Additional device tree overlays to support different hardwares on Radxa products
GNU General Public License v2.0
43 stars 31 forks source link

rk3308-spi0-spidev makes armbian crash on startup #345

Closed Grix closed 4 months ago

Grix commented 4 months ago

I don't know if this is strictly an issue with the overlay or the OS but I'm reporting it for the record.

If I try to add rk3308-spi0-spidev.dts to the official Armbian build (24.5.1 Noble Server) using the armbian-add-overlay tool, then the device no longer boots correctly. The heartbeat LED blinks for around 20 seconds while it boots, but then it stops, and I cannot connect to the device over ssh. Essentially the image becomes corrupt and I need to flash the OS again from scratch to make it work. Therefore I cannot retrieve any error logs etc either.

This only seems to be a problem with spi0, because the spi1 dts boots fine.

RadxaYuntian commented 4 months ago

Device tree overlay is strongly coupled with the base device tree, so they are not portable across kernels. We only guarantee that they work on our kernels on compatible devices. The latter is guaranteed by our rsetup tool that will filter out incompatible options.

Currently we use a custom device tree for ROCK S0, which may not be the same as what Armbian uses.