Hi, I have an Allwinner based board with manually soldered 16MB SPI Flash. I am trying to place u-boot into the flash and need some help so far. I have already updated the board DTS file and checked that the Linux kernel provides me with a /dev/mtd0 device which is writable and readable.
I enable the following config options additionally to the board configuration: CONFIG_SPL_SPI_FLASH_SUPPORT, CONFIG_SPL_SPI, CONFIG_SPL_MTD_SUPPORT, CONFIG_SPL_SPI_FLASH_MTD, CONFIG_SPL_SPI_LOAD. I am not sure that I chose every relevant option. However, I see the following message from the bootloader: U-Boot SPL 2024.01-rc1-45362-g94a35b52f78-dirty (Feb 24 2025 - 12:43:35 +0300) mxstatus=0xc0408000 mhcr=0x0000010b mcor=0x00000003 mhint=0x00004000 Trying to boot from SPI Invalid bus 0 (err=-19) SPI probe failed. SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### Are there any obvious things I missed? How could I debug this? -- With best regards, Matwey V. Kornilov