AnsweredAssumed Answered

Booting from SDHC memory card failed

Question asked by Sebastian Vinezenz on May 20, 2019
Latest reply on Jun 28, 2019 by mac wang

I'm using the LS1028ARDB board for evaluation and failed to boot Linux with kernel 4.14.47 built with default settings and flexbuild_ls1028a_bsp0.3.

The SD-card I'm using were included and shipped with the evaluation board.

 

Booting went good until SDHC tuning is executed, this tuning fails. From this point on the kernel log is full of different errors pointing to read problems from SD-card.

The question is why the tuning fails and is there also a problem with default fallback clock like read in kernel messages?

 

I also tried a different card not SDHC which is working without problems.

 

Here is a kernel log snippet from the point of first error:

[ 4.372852] mmc0: Tuning failed, falling back to fixed sampling clock
[ 4.381853] mmcblk0: error -84 transferring data, sector 2277376, nr 8, cmd response 0x900, card status 0xc00
[ 4.400299] mmc0: Tuning failed, falling back to fixed sampling clock
[ 4.503983] mmcblk0: error -84 transferring data, sector 2277377, nr 7, cmd response 0x900, card status 0xc00
[ 4.522273] mmc0: Tuning failed, falling back to fixed sampling clock
[ 4.529051] print_req_error: I/O error, dev mmcblk0, sector 2277378
[ 4.535346] Buffer I/O error on dev mmcblk0p3, logical block 0, lost sync page write
[ 4.543626] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 4.551776] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 4.560984] devtmpfs: mounted

...

Outcomes