SD/MMC: Failed to load image: microchip_sama5d27

Hi Everyone,

I downloaded the microchip_sama5d27-som1-ek-ext4-sdcard.img.gz v21.02.3 image from the following link:
https://openwrt.org/docs/guide-user/installation/installation_methods/sd_card.
I followed this link: https://openwrt.org/docs/guide-user/installation/installation_methods/sd_card and flashed the SD card:

Other OS :
https://www.balena.io/etcher/ - Can flash SDCards on Windows and MacOs (also has a linux install)
Download the correct image for your device. Probably named similar to openwrt-*-sysupgrade.img.gz.
Select the image.
Select your SDCard.
Flash the image.

However, I got the following SD/MNC error:

RomBOOT
AT91Bootstrap 3.9.3 (2022-04-16)
SDHC: fix in place for SAMA5D2 SoM VDDSDMMC over-consumption errata
SD/MMC: Image: Read file u-boot.bin to 0x23f00000
MMC: ADMA supported
SDHC: Error: No Card Inserted
*** FATFS: f_open, filename: [u-boot.bin]: error
SD/MMC: Failed to load image

My device is working with v19.07.5 - Microchip(Atmel AT91) SAMA5D27 SOM1 Ek, but does not work with v21.02.3.

Do you know how to fix the issue?
Thanks in advance!

Update, the v21.02.3 image is from this link:
https://downloads.openwrt.org/releases/21.02.3/targets/at91/sama5/openwrt-21.02.3-at91-sama5-microchip_sama5d27-som1-ek-ext4-sdcard.img.gz

Errors:
SDHC: Error: No Card Inserted
*** FATFS: f_open, filename: [u-boot.bin]: error
SD/MMC: Failed to load image

make sure its unzippped before writing.

Yes, the balenaEtcher software :Decompressing, before Flashing, and Finishing.
The files are in the SD card. I think somehow the BOOT.bin does not detect the SD card.
image
Thanks

I narrowed down the latest OpenWRT version that could detect the microSD card and the earliest OpenWRT version that failed to detect the microSD card - SDMMC1.

OpenWRT v19.07.9 is the latest version that could detect the microSD card.
OpenWRT v21.02.0 is the earliest version that could not detect the microSD card.

Could anyone find out the differences of bootstrap (BOOT.bin) and u-boot.bin bootloaders between the following versions:
AT91Bootstrap 3.8.10 and 3.9.3
U-Boot 2017.03 linux4Sam_5.8 and 2020.01

AT19 bootstrap 3.9.3 failed
u-boot 2020.01 failed.

Thanks

Seems you might get some follow up on GitHub

Thanks,
I created the https://github.com/openwrt/openwrt/issues/10276 issue.

The issue was the AT19bootstrap and u-boot bootloaders configured with SDMMC1.
The solution is configuring the AT19bootstrap and u-boot bootloaders back to SDMMC0.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.