AnsweredAssumed Answered

uboot doesn't working the same way in serial downloader and emmc boot mode

Question asked by ambroisealgrin on Dec 10, 2015
Latest reply on Apr 22, 2016 by Karsten Schauties

Hi,

 

I'm working on an iMX6 solo X (ref.: MCIMX6X1CVO08AB), we have an eMMC on SD4.

 

The problem is :

when downloading uboot with serial downloader, it starts normally and i'm able to flash the eMMC throught ethernet. Then i can boot linux (which is in eMMC) and everything is okay.

 

But when i change boot mode to start directly from eMMC, uboot is starting, but he can't find the MMC device, so he can't load the kernel. All the "mmc" command return nothing.

 

The two uboot use are the same, version U-Boot 2015.04-00136-g9c60985 (Dec 10 2015 - 16:31:08)

 

At uboot stats up, i have this logs :

 

when booting from ram, the eMMC debugs info are :

 

CMD_SEND:0

        ARG             0x00000000

        MMC_RSP_NONE

CMD_SEND:8

        ARG             0x000001AA

        MMC_RSP_R1,5,6,7      0xBF55D0E8 

CMD_SEND:55

        ARG             0x00000000

        MMC_RSP_R1,5,6,7      0xBF55D0E8 

CMD_SEND:0

        ARG             0x00000000

        MMC_RSP_NONE

CMD_SEND:1

        ARG             0x00000000

        MMC_RSP_R3,4         0x00FF8080 

CMD_SEND:1

        ARG             0x40300000

        MMC_RSP_R3,4         0xC0FF8080 

CMD_SEND:1

        ARG             0x40300000

        MMC_RSP_R3,4         0xBF565A68

 

when booting from eMMC, the eMMC debugs info are :

 

CMD_SEND:0

        ARG             0x00000000

        MMC_RSP_NONE

CMD_SEND:8

        ARG             0x000001AA

        MMC_RSP_R1,5,6,7      0xBF563B28 

CMD_SEND:55

        ARG             0x00000000

        MMC_RSP_R1,5,6,7      0xBF563B28 

CMD_SEND:0

        ARG             0x00000000

        MMC_RSP_NONE

CMD_SEND:1

        ARG             0x00000000

        MMC_RSP_R3,4         0x00FF8080 

CMD_SEND:1

        ARG             0x40300000

        MMC_RSP_R3,4         0xC0FF8080 

CMD_SEND:1

        ARG             0x40300000

        MMC_RSP_R3,4         0x09531A52 

CMD_SEND:0

        ARG             0x00000000

        MMC_RSP_NONE

CMD_SEND:8

        ARG             0x000001AA

        MMC_RSP_R1,5,6,7      0xBFF716CC 

CMD_SEND:55

        ARG             0x00000000

        MMC_RSP_R1,5,6,7      0xBFF716CC 

CMD_SEND:0

        ARG             0x00000000

        MMC_RSP_NONE

CMD_SEND:1

        ARG             0x00000000

        MMC_RSP_R3,4         0x00FF8080 

CMD_SEND:1

        ARG             0x40300000

        MMC_RSP_R3,4         0xC0FF8080 

CMD_SEND:1

        ARG             0x40300000

        MMC_RSP_R3,4         0x56B21884 

** Bad device mmc 0 **

WARN: Cannot load the Kernel

 

Apparently, the eMMC hasn't the same answer in both case, and i don't figure out why. Any idea ?

 

Thanks,

Outcomes