Not getting mtdblock device

Hi Team,
I need some help from this community as Im not able to get mtdblock device up.
Its a Rock5C with SPI Module clicked in. Flashing the loader and SPI file according to the wiki works as expected. Wiki and other docu for 5C is little bit weak but it seems that I did all required steps. Nevertheless, when booting into Rock5 flavored Armbian, its not presenting mtdblock device.
Maybe I missed something or completely misunderstood the concept, but finally I wanna be able to boot from USB (NVME)

content of wiki is out of date, please refer to docs.radxa.com for guide

maybe you can flash a radxa-os to your sd card or eMMC first, then flash the mtd device by rsetup, which helps you burn a usb-bootable u-boot into the spi flash.

I was sure I already followed this process but I did it again.
The message that I receive is:
“The installation destination for the selected SPI Bootloader dies not exist”
Which, I guess, is because of the missing MTDBLOCK device.
Let me know your thoughts…
I also checked the correct fit of the SPI Flash module into the connectors. Its fine.

Update:
Booting radxa os and MANUALLY modprobing spi modules, enables the MTD Block device.
Finally I got the loader flashed and NVME booted. I would consider that as workaround but @radxa devs may look into it to make the spi modules loaded by default.

Since Im using Armbian, these spi modules are not available there. Is there a guide how to build them manually?

build spi flash overlay dts on Armbian ?

Yes… is there a documented way?

https://docs.armbian.com/User-Guide_Armbian_overlays/

Maybe this guide can help you.

and this is spi flash dts overlay, you can refer to

1 Like

fantastic… got it to work on armbian

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 238.5G  0 disk
└─sda1        8:1    0 238.5G  0 part
mtdblock0    31:0    0    16M  0 disk
zram0       251:0    0   7.8G  0 disk [SWAP]
zram1       251:1    0    50M  0 disk /var/log
zram2       251:2    0     0B  0 disk
nvme0n1     259:0    0 119.2G  0 disk
└─nvme0n1p1 259:1    0   118G  0 part /var/log.hdd
                                      /
1 Like

Congratulations!