Booting from SDHC memory card failed

cancel
Showing results for 
Search instead for 
Did you mean: 

Booting from SDHC memory card failed

1,858 Views
sevi
Contributor II

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

...

Labels (1)
0 Kudos
4 Replies

1,279 Views
sevi
Contributor II

Thank you for the quick replay.

I've tried the Getting Started procedure without any problems.

But if i go on building the boot system for the SD card with the LSDK flex-builder and flex-installer like it's described in LS1028ABSPUG.pdf, the booting process fails with the error described above.

0 Kudos

1,279 Views
ufedor
NXP TechSupport
NXP TechSupport

Please apply the following patch:

 

--- a/ls1028ardb/R_SQPP_85bb/rcw_1300_sd.rcw

+++ b/ls1028ardb/R_SQPP_85bb/rcw_1300_sd.rcw

@@ -16,7 +16,7 @@ MEM_PLL_RAT=16

CGA_PLL1_RAT=13

CGA_PLL2_RAT=12

HWA_CGA_M1_CLK_SEL=7

-HWA_CGA_M2_CLK_SEL=7

+HWA_CGA_M2_CLK_SEL=1

HWA_CGA_M3_CLK_SEL=2

HWA_CGA_M4_CLK_SEL=3

1,279 Views
wangxiaozhuang
Contributor II

Thank you, I have the same question. It's worked!

0 Kudos

1,279 Views
ufedor
NXP TechSupport
NXP TechSupport

Please refer to the Getting Started with LS1028ARDB:

Getting Started with LS1028ARDB | NXP 

and report the results of the firmware upgrade.

0 Kudos