We built it.
The following are the steps we took:
> sudo armbian-add-overlay sun50i-h6-spi-spidev.dts (0)
> reboot (1)
> mkdir /sys/kernel/config/device-tree/overlays/spi (2)
> cat /boot/overlay-user/sun50i-h6-spi-spidev.dtbo > /sys/kernel/config/device-tree/overlays/spi/dtbo (3)
(.dts fie from step (0) is this one . In attachment (Bottom on post) we include both dts files we used, one was disassembled and corresponds to /boot/dtb-4.20.8-sunxi64/allwinner/overlay/sun50i-h6-spi-spidev.dtbo that came with the kernel build )
Now we have three folders inside the dtbo folder: dtbo, path and status;
>cat status
>unapplied
We tried to cat (step (3) above) both files from:
/boot/overlay-user/sun50i-h6-spi-spidev.dtbo
/boot/dtb-4.20.8-sunxi64/allwinner/overlay/sun50i-h6-spi-spidev.dtbo
Repeat step (1)
At this point, still nothing shows. The resulting armbianEnv.txt:
cat /boot/armbianEnv.txt
verbosity=1
console=both
overlay_prefix=sun50i-h6
rootdev=UUID=82f29a48-bbc5-4f83-8df9-b4819074fecd
rootfstype=ext4
user_overlays=sun50i-h6-spi-spidev
param_spidev_spi_bus=0
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
lsmod produces the following:
Module Size Used by
zstd 16384 4
cpufreq_dt 16384 0
sun50i_h6_ths 16384 0
thermal_sys 65536 2 cpufreq_dt,sun50i_h6_ths
zram 24576 5
realtek 20480 1
armbian-config shows the following :
At the moment, ls /dev/spi shows nothing.
(Will update with more info in the following minutes)
dts from github
dts disassembled that came with kernel