All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
@ 2020-11-16 14:16 ` Otto Meier
  2020-11-16 22:39   ` Jaehoon Chung
  2020-11-18 17:09   ` Heinrich Schuchardt
  0 siblings, 2 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-16 14:16 UTC (permalink / raw)
  To: u-boot

I tried to build  an actual u-boot from git for my odroid-c2 board.

It doesn't find the emmc card and therefore does not boot from it.
emmc is Ok and boots with u-boot 2020.04 fine.

Newer u-boot then 2020.04 show these messages:

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
TE: 156394
no sdio debug board detected

BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao at wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 
0x000000b0
Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 
tao.zeng at droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 
0x0009e8f0
: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.271464 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):4d2e34d
NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:  2 GiB
MMC:   mmc at 72000: 0, mmc at 74000: 1
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at c9410000
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
Card did not respond to voltage select!
MMC Device 2 not found
no mmc device at slot 2
starting USB...
Bus usb at c9100000: USB DWC2
scanning bus usb at c9100000 for devices... 2 USB Device(s) found


Does anybody know how to fixes this breakage?

Best regards

Otto

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-16 14:16 ` [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04 Otto Meier
@ 2020-11-16 22:39   ` Jaehoon Chung
  2020-11-17 19:08     ` Otto Meier
  2020-11-18 17:09   ` Heinrich Schuchardt
  1 sibling, 1 reply; 19+ messages in thread
From: Jaehoon Chung @ 2020-11-16 22:39 UTC (permalink / raw)
  To: u-boot

Dear Otto,

On 11/16/20 11:16 PM, Otto Meier wrote:
> I tried to build? an actual u-boot from git for my odroid-c2 board.

Which git repository did you use?
If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.


Best Regards,
Jaehoon Chung

> 
> It doesn't find the emmc card and therefore does not boot from it.
> emmc is Ok and boots with u-boot 2020.04 fine.
> 
> Newer u-boot then 2020.04 show these messages:
> 
> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
> TE: 156394
> no sdio debug board detected
> 
> BL2 Built : 11:44:26, Nov 25 2015.
> gxb gfb13a3b-c2 - jcao at wonton
> 
> Board ID = 8
> set vcck to 1100 mv
> set vddee to 1050 mv
> CPU clk: 1536MHz
> DDR channel setting: DDR0 Rank0+1 same
> DDR0: 2048MB(auto) @ 912MHz(2T)-13
> DataBus test pass!
> AddrBus test pass!
> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
> Sending bl30........................................OK.
> Run bl30...
> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
> Wait bl30...Done
> Sending bl301.......OK.
> Run bl301...
> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
> 
> 
> --- UART initialized after reboot ---
> [Reset cause: unknown]
> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng at droid04]
> bl30: check_permit, count is 1
> bl30: check_permit: ok!
> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 0x0009e8f0
> : ef be ad de d f0 ad ba ef be ad de not ES chip
> [0.271464 Inits done]
> secure task start!
> high task start!
> low task start!
> NOTICE:? BL3-1: v1.0(debug):4d2e34d
> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
> INFO:??? BL3-1: Initializing runtime services
> INFO:??? BL3-1: Preparing for EL3 exit to normal world
> INFO:??? BL3-1: Next image address = 0x1000000
> INFO:??? BL3-1: Next image spsr = 0x3c9
> 
> 
> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
> 
> Model: Hardkernel ODROID-C2
> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:? 2 GiB
> MMC:?? mmc at 72000: 0, mmc at 74000: 1
> In:??? serial
> Out:?? serial
> Err:?? serial
> Net:?? eth0: ethernet at c9410000
> Hit any key to stop autoboot:? 0
> Card did not respond to voltage select!
> Card did not respond to voltage select!
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
> Bus usb at c9100000: USB DWC2
> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
> 
> 
> Does anybody know how to fixes this breakage?
> 
> Best regards
> 
> Otto
> 
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-16 22:39   ` Jaehoon Chung
@ 2020-11-17 19:08     ` Otto Meier
  2020-11-17 22:53       ` Jaehoon Chung
  2020-11-18  8:12       ` Alexander Dahl
  0 siblings, 2 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-17 19:08 UTC (permalink / raw)
  To: u-boot

Dear Jaehoon Chung,

I cloned github.com/u-boot which i believe is the master repo.

I enabled CONFIG_MMC_TRACE and got following
response:

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
TE: 308588
no sdio debug board detected

BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao at wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 
0x000000b0
Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 
tao.zeng at droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 
0x0009e330
: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.423714 Inits done]
secure task start!
high task start!
low task start!
NOTICE:? BL3-1: v1.0(debug):4d2e34d
NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
INFO:??? BL3-1: Initializing runtime services
INFO:??? BL3-1: Preparing for EL3 exit to normal world
INFO:??? BL3-1: Next image address = 0x1000000
INFO:??? BL3-1: Next image spsr = 0x3c9


U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100) 
odroid-c2

Model: Hardkernel ODROID-C2
SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:? 2 GiB
MMC:?? mmc at 72000: 0, mmc at 74000: 1
In:??? serial
Out:?? serial
Err:?? serial
Net:?? Could not get PHY for ethernet at c9410000: addr -1
No ethernet found.

Hit any key to stop autoboot:? 0
CMD_SEND:0
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? MMC_RSP_NONE
CMD_SEND:8
 ??????????????? ARG????????????????????? 0x000001aa
 ??????????????? RET????????????????????? -110
CMD_SEND:55
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? RET????????????????????? -110
CMD_SEND:0
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? MMC_RSP_NONE
CMD_SEND:1
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? RET????????????????????? -110
Card did not respond to voltage select!
CMD_SEND:0
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? MMC_RSP_NONE
CMD_SEND:8
 ??????????????? ARG????????????????????? 0x000001aa
 ??????????????? RET????????????????????? -110
CMD_SEND:55

 ??????????????? ARG????????????????????? 0x00000000

 ??????????????? RET????????????????????? -110
CMD_SEND:0
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? MMC_RSP_NONE
CMD_SEND:1
 ??????????????? ARG????????????????????? 0x00000000
 ??????????????? MMC_RSP_R3,4???????????? 0x00000000
CMD_SEND:1
 ??????????????? ARG????????????????????? 0x40000000
 ??????????????? RET????????????????????? -110
Card did not respond to voltage select!
MMC Device 2 not found
no mmc device at slot 2
starting USB...
Bus usb at c9100000: USB DWC2
scanning bus usb at c9100000 for devices... 2 USB Device(s) found
 ?????? scanning usb for storage devices... 0 Storage Device(s) found


Following you find a working boot from emmc:




GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
TE: 303447
no sdio debug board detected

BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao at wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
MC, src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng at droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 0x0007da20
: ef be ad de d f0 ad ba ef be ad de not ES chip
[0.418578 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):4d2e34d
NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:  2 GiB
MMC:   mmc at 72000: 0, mmc at 74000: 1
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at c9410000
Hit any key to stop autoboot:  0
CMD_SEND:0
                 ARG                      0x00000000
                 MMC_RSP_NONE
CMD_SEND:8
                 ARG                      0x000001aa
                 RET                      -110
CMD_SEND:55
                 ARG                      0x00000000
                 RET                      -110
CMD_SEND:0
                 ARG                      0x00000000
                 MMC_RSP_NONE
CMD_SEND:1
                 ARG                      0x00000000
                 RET                      -110
Card did not respond to voltage select!
CMD_SEND:0
                 ARG                      0x00000000
                 MMC_RSP_NONE
CMD_SEND:8
                 ARG                      0x000001aa
                 RET                      -110
CMD_SEND:55
                 ARG                      0x00000000
                 RET                      -110
CMD_SEND:0
                 ARG                      0x00000000
                 MMC_RSP_NONE
CMD_SEND:1
                 ARG                      0x00000000
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:0
                 ARG                      0x00000000
                 MMC_RSP_NONE
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0x40ff8080
CMD_SEND:1
                 ARG                      0x40380080
                 MMC_RSP_R3,4             0xc0ff8080
CMD_SEND:2
                 ARG                      0x00000000
                 MMC_RSP_R2               0x15010043
                                          0x4a544434
                                          0x52042550
                                          0xfa197700

                                         DUMPING DATA
                                         000 - 15 01 00 43
                                         004 - 4a 54 44 34
                                         008 - 52 04 25 50
                                         012 - fa 19 77 00
CMD_SEND:3
                 ARG                      0x00010000
                 MMC_RSP_R1,5,6,7         0x00000500
CMD_SEND:9
                 ARG                      0x00010000
                 MMC_RSP_R2               0xd0270132
                                          0x0f5903ff
                                          0xf6dbffef
                                          0x8e404000

                                         DUMPING DATA
                                         000 - d0 27 01 32
                                         004 - 0f 59 03 ff
                                         008 - f6 db ff ef
                                         012 - 8e 40 40 00
CMD_SEND:7
                 ARG                      0x00010000
                 MMC_RSP_R1,5,6,7         0x00000700
CMD_SEND:8
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:6
                 ARG                      0x03b70200
                 MMC_RSP_R1b              0x00000900
CMD_SEND:13
                 ARG                      0x00010000
                 MMC_RSP_R1,5,6,7         0x00000900
CURR STATE:4
CMD_SEND:6
                 ARG                      0x03b90100
                 MMC_RSP_R1b              0x00000900
CMD_SEND:13
                 ARG                      0x00010000
                 MMC_RSP_R1,5,6,7         0x00000900
CURR STATE:4
CMD_SEND:8
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:8
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
switch to partitions #0, OK
mmc1(part 0) is current device
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
Scanning mmc 1:1...
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000000
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:17
                 ARG                      0x00000800
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000844
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000868
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x00000804
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
CMD_SEND:16
                 ARG                      0x00000200
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:18
                 ARG                      0x0000086c
                 MMC_RSP_R1,5,6,7         0x00000900
CMD_SEND:12
                 ARG                      0x00000000
                 MMC_RSP_R1b              0x00000b00
Found EFI removable media binary efi/boot/bootaa64.efi


This is the output from mmc info command u-boot 2020.04

=> mmc info
Device: mmc at 74000
Manufacturer ID: 15
OEM: 100
Name: CJTD4
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 58.2 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 58.2 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
=>

Any Idea?

best regards

Otto



Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
> Dear Otto,
>
> On 11/16/20 11:16 PM, Otto Meier wrote:
>> I tried to build? an actual u-boot from git for my odroid-c2 board.
> Which git repository did you use?
> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>
>
> Best Regards,
> Jaehoon Chung
>
>> It doesn't find the emmc card and therefore does not boot from it.
>> emmc is Ok and boots with u-boot 2020.04 fine.
>>
>> Newer u-boot then 2020.04 show these messages:
>>
>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>> TE: 156394
>> no sdio debug board detected
>>
>> BL2 Built : 11:44:26, Nov 25 2015.
>> gxb gfb13a3b-c2 - jcao at wonton
>>
>> Board ID = 8
>> set vcck to 1100 mv
>> set vddee to 1050 mv
>> CPU clk: 1536MHz
>> DDR channel setting: DDR0 Rank0+1 same
>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>> DataBus test pass!
>> AddrBus test pass!
>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>> Sending bl30........................................OK.
>> Run bl30...
>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>> Wait bl30...Done
>> Sending bl301.......OK.
>> Run bl301...
>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>
>>
>> --- UART initialized after reboot ---
>> [Reset cause: unknown]
>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng at droid04]
>> bl30: check_permit, count is 1
>> bl30: check_permit: ok!
>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 0x0009e8f0
>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>> [0.271464 Inits done]
>> secure task start!
>> high task start!
>> low task start!
>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>> INFO:??? BL3-1: Initializing runtime services
>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>> INFO:??? BL3-1: Next image address = 0x1000000
>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>
>>
>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:? 2 GiB
>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>> In:??? serial
>> Out:?? serial
>> Err:?? serial
>> Net:?? eth0: ethernet at c9410000
>> Hit any key to stop autoboot:? 0
>> Card did not respond to voltage select!
>> Card did not respond to voltage select!
>> MMC Device 2 not found
>> no mmc device at slot 2
>> starting USB...
>> Bus usb at c9100000: USB DWC2
>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>
>>
>> Does anybody know how to fixes this breakage?
>>
>> Best regards
>>
>> Otto
>>
>>
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-17 19:08     ` Otto Meier
@ 2020-11-17 22:53       ` Jaehoon Chung
  2020-11-18  8:12       ` Alexander Dahl
  1 sibling, 0 replies; 19+ messages in thread
From: Jaehoon Chung @ 2020-11-17 22:53 UTC (permalink / raw)
  To: u-boot

On 11/18/20 4:08 AM, Otto Meier wrote:
> Dear Jaehoon Chung,
> 
> I cloned github.com/u-boot which i believe is the master repo.
> 
> I enabled CONFIG_MMC_TRACE and got following
> response:
> 
> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
> TE: 308588
> no sdio debug board detected
> 
> BL2 Built : 11:44:26, Nov 25 2015.
> gxb gfb13a3b-c2 - jcao at wonton
> 
> Board ID = 8
> set vcck to 1100 mv
> set vddee to 1050 mv
> CPU clk: 1536MHz
> DDR channel setting: DDR0 Rank0+1 same
> DDR0: 2048MB(auto) @ 912MHz(2T)-13
> DataBus test pass!
> AddrBus test pass!
> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
> Sending bl30........................................OK.
> Run bl30...
> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
> Wait bl30...Done
> Sending bl301.......OK.
> Run bl301...
> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
> 
> 
> --- UART initialized after reboot ---
> [Reset cause: unknown]
> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng at droid04]
> bl30: check_permit, count is 1
> bl30: check_permit: ok!
> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 0x0009e330
> : ef be ad de d f0 ad ba ef be ad de not ES chip
> [0.423714 Inits done]
> secure task start!
> high task start!
> low task start!
> NOTICE:? BL3-1: v1.0(debug):4d2e34d
> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
> INFO:??? BL3-1: Initializing runtime services
> INFO:??? BL3-1: Preparing for EL3 exit to normal world
> INFO:??? BL3-1: Next image address = 0x1000000
> INFO:??? BL3-1: Next image spsr = 0x3c9
> 
> 
> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100) odroid-c2
> 
> Model: Hardkernel ODROID-C2
> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:? 2 GiB
> MMC:?? mmc at 72000: 0, mmc at 74000: 1
> In:??? serial
> Out:?? serial
> Err:?? serial
> Net:?? Could not get PHY for ethernet at c9410000: addr -1
> No ethernet found.
> 
> Hit any key to stop autoboot:? 0
> CMD_SEND:0
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? MMC_RSP_NONE
> CMD_SEND:8
> ??????????????? ARG????????????????????? 0x000001aa
> ??????????????? RET????????????????????? -110
> CMD_SEND:55
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? RET????????????????????? -110
> CMD_SEND:0
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? MMC_RSP_NONE
> CMD_SEND:1
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? RET????????????????????? -110
> Card did not respond to voltage select!
> CMD_SEND:0
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? MMC_RSP_NONE
> CMD_SEND:8
> ??????????????? ARG????????????????????? 0x000001aa
> ??????????????? RET????????????????????? -110
> CMD_SEND:55
> 
> ??????????????? ARG????????????????????? 0x00000000
> 
> ??????????????? RET????????????????????? -110
> CMD_SEND:0
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? MMC_RSP_NONE
> CMD_SEND:1
> ??????????????? ARG????????????????????? 0x00000000
> ??????????????? MMC_RSP_R3,4???????????? 0x00000000
> CMD_SEND:1
> ??????????????? ARG????????????????????? 0x40000000
> ??????????????? RET????????????????????? -110
> Card did not respond to voltage select!
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
> Bus usb at c9100000: USB DWC2
> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
> ?????? scanning usb for storage devices... 0 Storage Device(s) found
> 
> 
> Following you find a working boot from emmc:> 

I don't have odroid-c2 target. So I can't check it with target.
But your log looks like doesn't supply power to eMMC/SD.

To check, 
1. adding regulator-always-on in vcc_3v3.
2. Otherwise, you can find the affected commit with bisect.

..[snip]..

Best Regards,
Jaehoon Chung

> 
> =>
> 
> Any Idea?
> 
> best regards
> 
> Otto
> 
> 
> 
> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>> Dear Otto,
>>
>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>> Which git repository did you use?
>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>
>>
>> Best Regards,
>> Jaehoon Chung
>>
>>> It doesn't find the emmc card and therefore does not boot from it.
>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>
>>> Newer u-boot then 2020.04 show these messages:
>>>
>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>> TE: 156394
>>> no sdio debug board detected
>>>
>>> BL2 Built : 11:44:26, Nov 25 2015.
>>> gxb gfb13a3b-c2 - jcao at wonton
>>>
>>> Board ID = 8
>>> set vcck to 1100 mv
>>> set vddee to 1050 mv
>>> CPU clk: 1536MHz
>>> DDR channel setting: DDR0 Rank0+1 same
>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>> DataBus test pass!
>>> AddrBus test pass!
>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>>> Sending bl30........................................OK.
>>> Run bl30...
>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>> Wait bl30...Done
>>> Sending bl301.......OK.
>>> Run bl301...
>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>
>>>
>>> --- UART initialized after reboot ---
>>> [Reset cause: unknown]
>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng at droid04]
>>> bl30: check_permit, count is 1
>>> bl30: check_permit: ok!
>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size: 0x0009e8f0
>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>> [0.271464 Inits done]
>>> secure task start!
>>> high task start!
>>> low task start!
>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>> INFO:??? BL3-1: Initializing runtime services
>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>> INFO:??? BL3-1: Next image address = 0x1000000
>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>
>>>
>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>
>>> Model: Hardkernel ODROID-C2
>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>> DRAM:? 2 GiB
>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>> In:??? serial
>>> Out:?? serial
>>> Err:?? serial
>>> Net:?? eth0: ethernet at c9410000
>>> Hit any key to stop autoboot:? 0
>>> Card did not respond to voltage select!
>>> Card did not respond to voltage select!
>>> MMC Device 2 not found
>>> no mmc device at slot 2
>>> starting USB...
>>> Bus usb at c9100000: USB DWC2
>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>
>>>
>>> Does anybody know how to fixes this breakage?
>>>
>>> Best regards
>>>
>>> Otto
>>>
>>>
>>
> 
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-17 19:08     ` Otto Meier
  2020-11-17 22:53       ` Jaehoon Chung
@ 2020-11-18  8:12       ` Alexander Dahl
  2020-11-18 11:44         ` Otto Meier
  1 sibling, 1 reply; 19+ messages in thread
From: Alexander Dahl @ 2020-11-18  8:12 UTC (permalink / raw)
  To: u-boot

Hei hei,

FWIW see below,

Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
> Dear Jaehoon Chung,
> 
> I cloned github.com/u-boot which i believe is the master repo.

That seems to be an up to date mirror. However, according to [1] and [2] the 
real upstream repository is here:

https://gitlab.denx.de/u-boot/u-boot

Greets
Alex

[1] https://www.denx.de/wiki/U-Boot/SourceCode
[2] https://u-boot.readthedocs.io/en/latest/build/source.html

> 
> I enabled CONFIG_MMC_TRACE and got following
> response:
> 
> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
> TE: 308588
> no sdio debug board detected
> 
> BL2 Built : 11:44:26, Nov 25 2015.
> gxb gfb13a3b-c2 - jcao at wonton
> 
> Board ID = 8
> set vcck to 1100 mv
> set vddee to 1050 mv
> CPU clk: 1536MHz
> DDR channel setting: DDR0 Rank0+1 same
> DDR0: 2048MB(auto) @ 912MHz(2T)-13
> DataBus test pass!
> AddrBus test pass!
> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
> 0x000000b0
> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
> Sending bl30........................................OK.
> Run bl30...
> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
> Wait bl30...Done
> Sending bl301.......OK.
> Run bl301...
> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
> 
> 
> --- UART initialized after reboot ---
> [Reset cause: unknown]
> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
> tao.zeng at droid04]
> bl30: check_permit, count is 1
> bl30: check_permit: ok!
> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
> 0x0009e330
> 
> : ef be ad de d f0 ad ba ef be ad de not ES chip
> 
> [0.423714 Inits done]
> secure task start!
> high task start!
> low task start!
> NOTICE:  BL3-1: v1.0(debug):4d2e34d
> NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
> INFO:    BL3-1: Initializing runtime services
> INFO:    BL3-1: Preparing for EL3 exit to normal world
> INFO:    BL3-1: Next image address = 0x1000000
> INFO:    BL3-1: Next image spsr = 0x3c9
> 
> 
> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
> odroid-c2
> 
> Model: Hardkernel ODROID-C2
> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:  2 GiB
> MMC:   mmc at 72000: 0, mmc at 74000: 1
> In:    serial
> Out:   serial
> Err:   serial
> Net:   Could not get PHY for ethernet at c9410000: addr -1
> No ethernet found.
> 
> Hit any key to stop autoboot:  0
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:8
>                  ARG                      0x000001aa
>                  RET                      -110
> CMD_SEND:55
>                  ARG                      0x00000000
>                  RET                      -110
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:1
>                  ARG                      0x00000000
>                  RET                      -110
> Card did not respond to voltage select!
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:8
>                  ARG                      0x000001aa
>                  RET                      -110
> CMD_SEND:55
> 
>                  ARG                      0x00000000
> 
>                  RET                      -110
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:1
>                  ARG                      0x00000000
>                  MMC_RSP_R3,4             0x00000000
> CMD_SEND:1
>                  ARG                      0x40000000
>                  RET                      -110
> Card did not respond to voltage select!
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
> Bus usb at c9100000: USB DWC2
> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>         scanning usb for storage devices... 0 Storage Device(s) found
> 
> 
> Following you find a working boot from emmc:
> 
> 
> 
> 
> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
> TE: 303447
> no sdio debug board detected
> 
> BL2 Built : 11:44:26, Nov 25 2015.
> gxb gfb13a3b-c2 - jcao at wonton
> 
> Board ID = 8
> set vcck to 1100 mv
> set vddee to 1050 mv
> CPU clk: 1536MHz
> DDR channel setting: DDR0 Rank0+1 same
> DDR0: 2048MB(auto) @ 912MHz(2T)-13
> DataBus test pass!
> AddrBus test pass!
> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
> 0x00009ef0 Sending bl30........................................OK.
> Run bl30...
> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
> Wait bl30...Done
> Sending bl301.......OK.
> Run bl301...
> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
> 
> 
> --- UART initialized after reboot ---
> [Reset cause: unknown]
> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
> tao.zeng at droid04] bl30: check_permit, count is 1
> bl30: check_permit: ok!
> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
> 0x0007da20
> : ef be ad de d f0 ad ba ef be ad de not ES chip
> 
> [0.418578 Inits done]
> secure task start!
> high task start!
> low task start!
> NOTICE:  BL3-1: v1.0(debug):4d2e34d
> NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
> INFO:    BL3-1: Initializing runtime services
> INFO:    BL3-1: Preparing for EL3 exit to normal world
> INFO:    BL3-1: Next image address = 0x1000000
> INFO:    BL3-1: Next image spsr = 0x3c9
> 
> 
> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
> 
> Model: Hardkernel ODROID-C2
> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:  2 GiB
> MMC:   mmc at 72000: 0, mmc at 74000: 1
> In:    serial
> Out:   serial
> Err:   serial
> Net:   eth0: ethernet at c9410000
> Hit any key to stop autoboot:  0
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:8
>                  ARG                      0x000001aa
>                  RET                      -110
> CMD_SEND:55
>                  ARG                      0x00000000
>                  RET                      -110
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:1
>                  ARG                      0x00000000
>                  RET                      -110
> Card did not respond to voltage select!
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:8
>                  ARG                      0x000001aa
>                  RET                      -110
> CMD_SEND:55
>                  ARG                      0x00000000
>                  RET                      -110
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:1
>                  ARG                      0x00000000
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:0
>                  ARG                      0x00000000
>                  MMC_RSP_NONE
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0x40ff8080
> CMD_SEND:1
>                  ARG                      0x40380080
>                  MMC_RSP_R3,4             0xc0ff8080
> CMD_SEND:2
>                  ARG                      0x00000000
>                  MMC_RSP_R2               0x15010043
>                                           0x4a544434
>                                           0x52042550
>                                           0xfa197700
> 
>                                          DUMPING DATA
>                                          000 - 15 01 00 43
>                                          004 - 4a 54 44 34
>                                          008 - 52 04 25 50
>                                          012 - fa 19 77 00
> CMD_SEND:3
>                  ARG                      0x00010000
>                  MMC_RSP_R1,5,6,7         0x00000500
> CMD_SEND:9
>                  ARG                      0x00010000
>                  MMC_RSP_R2               0xd0270132
>                                           0x0f5903ff
>                                           0xf6dbffef
>                                           0x8e404000
> 
>                                          DUMPING DATA
>                                          000 - d0 27 01 32
>                                          004 - 0f 59 03 ff
>                                          008 - f6 db ff ef
>                                          012 - 8e 40 40 00
> CMD_SEND:7
>                  ARG                      0x00010000
>                  MMC_RSP_R1,5,6,7         0x00000700
> CMD_SEND:8
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:6
>                  ARG                      0x03b70200
>                  MMC_RSP_R1b              0x00000900
> CMD_SEND:13
>                  ARG                      0x00010000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CURR STATE:4
> CMD_SEND:6
>                  ARG                      0x03b90100
>                  MMC_RSP_R1b              0x00000900
> CMD_SEND:13
>                  ARG                      0x00010000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CURR STATE:4
> CMD_SEND:8
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:8
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> switch to partitions #0, OK
> mmc1(part 0) is current device
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> Scanning mmc 1:1...
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000000
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:17
>                  ARG                      0x00000800
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000844
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000868
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x00000804
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> CMD_SEND:16
>                  ARG                      0x00000200
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:18
>                  ARG                      0x0000086c
>                  MMC_RSP_R1,5,6,7         0x00000900
> CMD_SEND:12
>                  ARG                      0x00000000
>                  MMC_RSP_R1b              0x00000b00
> Found EFI removable media binary efi/boot/bootaa64.efi
> 
> 
> This is the output from mmc info command u-boot 2020.04
> 
> => mmc info
> Device: mmc at 74000
> Manufacturer ID: 15
> OEM: 100
> Name: CJTD4
> Bus Speed: 52000000
> Mode: MMC High Speed (52MHz)
> Rd Block Len: 512
> MMC version 5.1
> High Capacity: Yes
> Capacity: 58.2 GiB
> Bus Width: 8-bit
> Erase Group Size: 512 KiB
> HC WP Group Size: 8 MiB
> User Capacity: 58.2 GiB WRREL
> Boot Capacity: 4 MiB ENH
> RPMB Capacity: 4 MiB ENH
> =>
> 
> Any Idea?
> 
> best regards
> 
> Otto
> 
> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
> > Dear Otto,
> > 
> > On 11/16/20 11:16 PM, Otto Meier wrote:
> >> I tried to build  an actual u-boot from git for my odroid-c2 board.
> > 
> > Which git repository did you use?
> > If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
> > 
> > 
> > Best Regards,
> > Jaehoon Chung
> > 
> >> It doesn't find the emmc card and therefore does not boot from it.
> >> emmc is Ok and boots with u-boot 2020.04 fine.
> >> 
> >> Newer u-boot then 2020.04 show these messages:
> >> 
> >> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
> >> TE: 156394
> >> no sdio debug board detected
> >> 
> >> BL2 Built : 11:44:26, Nov 25 2015.
> >> gxb gfb13a3b-c2 - jcao at wonton
> >> 
> >> Board ID = 8
> >> set vcck to 1100 mv
> >> set vddee to 1050 mv
> >> CPU clk: 1536MHz
> >> DDR channel setting: DDR0 Rank0+1 same
> >> DDR0: 2048MB(auto) @ 912MHz(2T)-13
> >> DataBus test pass!
> >> AddrBus test pass!
> >> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
> >> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
> >> 0x00009ef0 Sending bl30........................................OK.
> >> Run bl30...
> >> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
> >> Wait bl30...Done
> >> Sending bl301.......OK.
> >> Run bl301...
> >> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
> >> 
> >> 
> >> --- UART initialized after reboot ---
> >> [Reset cause: unknown]
> >> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
> >> tao.zeng at droid04] bl30: check_permit, count is 1
> >> bl30: check_permit: ok!
> >> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
> >> 0x0009e8f0>> 
> >> : ef be ad de d f0 ad ba ef be ad de not ES chip
> >> 
> >> [0.271464 Inits done]
> >> secure task start!
> >> high task start!
> >> low task start!
> >> NOTICE:  BL3-1: v1.0(debug):4d2e34d
> >> NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
> >> INFO:    BL3-1: Initializing runtime services
> >> INFO:    BL3-1: Preparing for EL3 exit to normal world
> >> INFO:    BL3-1: Next image address = 0x1000000
> >> INFO:    BL3-1: Next image spsr = 0x3c9
> >> 
> >> 
> >> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
> >> 
> >> Model: Hardkernel ODROID-C2
> >> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> >> DRAM:  2 GiB
> >> MMC:   mmc at 72000: 0, mmc at 74000: 1
> >> In:    serial
> >> Out:   serial
> >> Err:   serial
> >> Net:   eth0: ethernet at c9410000
> >> Hit any key to stop autoboot:  0
> >> Card did not respond to voltage select!
> >> Card did not respond to voltage select!
> >> MMC Device 2 not found
> >> no mmc device at slot 2
> >> starting USB...
> >> Bus usb at c9100000: USB DWC2
> >> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
> >> 
> >> 
> >> Does anybody know how to fixes this breakage?
> >> 
> >> Best regards
> >> 
> >> Otto

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-18  8:12       ` Alexander Dahl
@ 2020-11-18 11:44         ` Otto Meier
  2020-11-18 12:23           ` Jaehoon Chung
  0 siblings, 1 reply; 19+ messages in thread
From: Otto Meier @ 2020-11-18 11:44 UTC (permalink / raw)
  To: u-boot

Hi,

it is not a new issue, since u-boot 2020.07 this issue exists.
even by using the repo you mention the error exist.

I allways use : make odroid-c2_defconfig with no other config option set 
to build u-boot.

Best regards

Otto

Am 18.11.20 um 09:12 schrieb Alexander Dahl:
> Hei hei,
> 
> FWIW see below,
> 
> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>> Dear Jaehoon Chung,
>>
>> I cloned github.com/u-boot which i believe is the master repo.
> 
> That seems to be an up to date mirror. However, according to [1] and [2] the
> real upstream repository is here:
> 
> https://gitlab.denx.de/u-boot/u-boot
> 
> Greets
> Alex
> 
> [1] https://www.denx.de/wiki/U-Boot/SourceCode
> [2] https://u-boot.readthedocs.io/en/latest/build/source.html
> 
>>
>> I enabled CONFIG_MMC_TRACE and got following
>> response:
>>
>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>> TE: 308588
>> no sdio debug board detected
>>
>> BL2 Built : 11:44:26, Nov 25 2015.
>> gxb gfb13a3b-c2 - jcao at wonton
>>
>> Board ID = 8
>> set vcck to 1100 mv
>> set vddee to 1050 mv
>> CPU clk: 1536MHz
>> DDR channel setting: DDR0 Rank0+1 same
>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>> DataBus test pass!
>> AddrBus test pass!
>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>> 0x000000b0
>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>> Sending bl30........................................OK.
>> Run bl30...
>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>> Wait bl30...Done
>> Sending bl301.......OK.
>> Run bl301...
>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>
>>
>> --- UART initialized after reboot ---
>> [Reset cause: unknown]
>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>> tao.zeng at droid04]
>> bl30: check_permit, count is 1
>> bl30: check_permit: ok!
>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>> 0x0009e330
>>
>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>
>> [0.423714 Inits done]
>> secure task start!
>> high task start!
>> low task start!
>> NOTICE:  BL3-1: v1.0(debug):4d2e34d
>> NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
>> INFO:    BL3-1: Initializing runtime services
>> INFO:    BL3-1: Preparing for EL3 exit to normal world
>> INFO:    BL3-1: Next image address = 0x1000000
>> INFO:    BL3-1: Next image spsr = 0x3c9
>>
>>
>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>> odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:  2 GiB
>> MMC:   mmc at 72000: 0, mmc at 74000: 1
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   Could not get PHY for ethernet at c9410000: addr -1
>> No ethernet found.
>>
>> Hit any key to stop autoboot:  0
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:8
>>                   ARG                      0x000001aa
>>                   RET                      -110
>> CMD_SEND:55
>>                   ARG                      0x00000000
>>                   RET                      -110
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:1
>>                   ARG                      0x00000000
>>                   RET                      -110
>> Card did not respond to voltage select!
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:8
>>                   ARG                      0x000001aa
>>                   RET                      -110
>> CMD_SEND:55
>>
>>                   ARG                      0x00000000
>>
>>                   RET                      -110
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:1
>>                   ARG                      0x00000000
>>                   MMC_RSP_R3,4             0x00000000
>> CMD_SEND:1
>>                   ARG                      0x40000000
>>                   RET                      -110
>> Card did not respond to voltage select!
>> MMC Device 2 not found
>> no mmc device at slot 2
>> starting USB...
>> Bus usb at c9100000: USB DWC2
>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>          scanning usb for storage devices... 0 Storage Device(s) found
>>
>>
>> Following you find a working boot from emmc:
>>
>>
>>
>>
>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>> TE: 303447
>> no sdio debug board detected
>>
>> BL2 Built : 11:44:26, Nov 25 2015.
>> gxb gfb13a3b-c2 - jcao at wonton
>>
>> Board ID = 8
>> set vcck to 1100 mv
>> set vddee to 1050 mv
>> CPU clk: 1536MHz
>> DDR channel setting: DDR0 Rank0+1 same
>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>> DataBus test pass!
>> AddrBus test pass!
>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>> 0x00009ef0 Sending bl30........................................OK.
>> Run bl30...
>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>> Wait bl30...Done
>> Sending bl301.......OK.
>> Run bl301...
>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>
>>
>> --- UART initialized after reboot ---
>> [Reset cause: unknown]
>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>> tao.zeng at droid04] bl30: check_permit, count is 1
>> bl30: check_permit: ok!
>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>> 0x0007da20
>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>
>> [0.418578 Inits done]
>> secure task start!
>> high task start!
>> low task start!
>> NOTICE:  BL3-1: v1.0(debug):4d2e34d
>> NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
>> INFO:    BL3-1: Initializing runtime services
>> INFO:    BL3-1: Preparing for EL3 exit to normal world
>> INFO:    BL3-1: Next image address = 0x1000000
>> INFO:    BL3-1: Next image spsr = 0x3c9
>>
>>
>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:  2 GiB
>> MMC:   mmc at 72000: 0, mmc at 74000: 1
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   eth0: ethernet at c9410000
>> Hit any key to stop autoboot:  0
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:8
>>                   ARG                      0x000001aa
>>                   RET                      -110
>> CMD_SEND:55
>>                   ARG                      0x00000000
>>                   RET                      -110
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:1
>>                   ARG                      0x00000000
>>                   RET                      -110
>> Card did not respond to voltage select!
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:8
>>                   ARG                      0x000001aa
>>                   RET                      -110
>> CMD_SEND:55
>>                   ARG                      0x00000000
>>                   RET                      -110
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:1
>>                   ARG                      0x00000000
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:0
>>                   ARG                      0x00000000
>>                   MMC_RSP_NONE
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0x40ff8080
>> CMD_SEND:1
>>                   ARG                      0x40380080
>>                   MMC_RSP_R3,4             0xc0ff8080
>> CMD_SEND:2
>>                   ARG                      0x00000000
>>                   MMC_RSP_R2               0x15010043
>>                                            0x4a544434
>>                                            0x52042550
>>                                            0xfa197700
>>
>>                                           DUMPING DATA
>>                                           000 - 15 01 00 43
>>                                           004 - 4a 54 44 34
>>                                           008 - 52 04 25 50
>>                                           012 - fa 19 77 00
>> CMD_SEND:3
>>                   ARG                      0x00010000
>>                   MMC_RSP_R1,5,6,7         0x00000500
>> CMD_SEND:9
>>                   ARG                      0x00010000
>>                   MMC_RSP_R2               0xd0270132
>>                                            0x0f5903ff
>>                                            0xf6dbffef
>>                                            0x8e404000
>>
>>                                           DUMPING DATA
>>                                           000 - d0 27 01 32
>>                                           004 - 0f 59 03 ff
>>                                           008 - f6 db ff ef
>>                                           012 - 8e 40 40 00
>> CMD_SEND:7
>>                   ARG                      0x00010000
>>                   MMC_RSP_R1,5,6,7         0x00000700
>> CMD_SEND:8
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:6
>>                   ARG                      0x03b70200
>>                   MMC_RSP_R1b              0x00000900
>> CMD_SEND:13
>>                   ARG                      0x00010000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CURR STATE:4
>> CMD_SEND:6
>>                   ARG                      0x03b90100
>>                   MMC_RSP_R1b              0x00000900
>> CMD_SEND:13
>>                   ARG                      0x00010000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CURR STATE:4
>> CMD_SEND:8
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:8
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> switch to partitions #0, OK
>> mmc1(part 0) is current device
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> Scanning mmc 1:1...
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:17
>>                   ARG                      0x00000800
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000844
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000868
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x00000804
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> CMD_SEND:16
>>                   ARG                      0x00000200
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:18
>>                   ARG                      0x0000086c
>>                   MMC_RSP_R1,5,6,7         0x00000900
>> CMD_SEND:12
>>                   ARG                      0x00000000
>>                   MMC_RSP_R1b              0x00000b00
>> Found EFI removable media binary efi/boot/bootaa64.efi
>>
>>
>> This is the output from mmc info command u-boot 2020.04
>>
>> => mmc info
>> Device: mmc at 74000
>> Manufacturer ID: 15
>> OEM: 100
>> Name: CJTD4
>> Bus Speed: 52000000
>> Mode: MMC High Speed (52MHz)
>> Rd Block Len: 512
>> MMC version 5.1
>> High Capacity: Yes
>> Capacity: 58.2 GiB
>> Bus Width: 8-bit
>> Erase Group Size: 512 KiB
>> HC WP Group Size: 8 MiB
>> User Capacity: 58.2 GiB WRREL
>> Boot Capacity: 4 MiB ENH
>> RPMB Capacity: 4 MiB ENH
>> =>
>>
>> Any Idea?
>>
>> best regards
>>
>> Otto
>>
>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>> Dear Otto,
>>>
>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>> I tried to build  an actual u-boot from git for my odroid-c2 board.
>>>
>>> Which git repository did you use?
>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>
>>>
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>
>>>> Newer u-boot then 2020.04 show these messages:
>>>>
>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>> TE: 156394
>>>> no sdio debug board detected
>>>>
>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>
>>>> Board ID = 8
>>>> set vcck to 1100 mv
>>>> set vddee to 1050 mv
>>>> CPU clk: 1536MHz
>>>> DDR channel setting: DDR0 Rank0+1 same
>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>> DataBus test pass!
>>>> AddrBus test pass!
>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>> 0x00009ef0 Sending bl30........................................OK.
>>>> Run bl30...
>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>> Wait bl30...Done
>>>> Sending bl301.......OK.
>>>> Run bl301...
>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>
>>>>
>>>> --- UART initialized after reboot ---
>>>> [Reset cause: unknown]
>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>> bl30: check_permit: ok!
>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>> 0x0009e8f0>>
>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>
>>>> [0.271464 Inits done]
>>>> secure task start!
>>>> high task start!
>>>> low task start!
>>>> NOTICE:  BL3-1: v1.0(debug):4d2e34d
>>>> NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
>>>> INFO:    BL3-1: Initializing runtime services
>>>> INFO:    BL3-1: Preparing for EL3 exit to normal world
>>>> INFO:    BL3-1: Next image address = 0x1000000
>>>> INFO:    BL3-1: Next image spsr = 0x3c9
>>>>
>>>>
>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>
>>>> Model: Hardkernel ODROID-C2
>>>> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>> DRAM:  2 GiB
>>>> MMC:   mmc at 72000: 0, mmc at 74000: 1
>>>> In:    serial
>>>> Out:   serial
>>>> Err:   serial
>>>> Net:   eth0: ethernet at c9410000
>>>> Hit any key to stop autoboot:  0
>>>> Card did not respond to voltage select!
>>>> Card did not respond to voltage select!
>>>> MMC Device 2 not found
>>>> no mmc device at slot 2
>>>> starting USB...
>>>> Bus usb at c9100000: USB DWC2
>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>
>>>>
>>>> Does anybody know how to fixes this breakage?
>>>>
>>>> Best regards
>>>>
>>>> Otto
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-18 11:44         ` Otto Meier
@ 2020-11-18 12:23           ` Jaehoon Chung
  2020-11-18 15:54             ` Otto Meier
  0 siblings, 1 reply; 19+ messages in thread
From: Jaehoon Chung @ 2020-11-18 12:23 UTC (permalink / raw)
  To: u-boot

On 11/18/20 8:44 PM, Otto Meier wrote:
> Hi,
> 
> it is not a new issue, since u-boot 2020.07 this issue exists.
> even by using the repo you mention the error exist.

Yes, git repo doesn't matter. When i have checked, you are using almost latest u-boot. (commit 9324c9a823)

If it's existed since 2020.07, it seems that relevant to below commit.

commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
Author: Haibo Chen <haibo.chen@nxp.com>
Date:   Mon Jun 15 17:18:12 2020 +0800

    mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready

    According to eMMC specification v5.1 section 6.4.3, we should issue
    CMD1 repeatedly in the idle state until the eMMC is ready even if
    mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
    devices seems to enter the inactive mode after mmc_complete_op_cond()
    issued CMD0 when the eMMC device is busy.

    Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
    Reviewed-by: Peng Fan <peng.fan@nxp.com>

Could you check it? 

Best Regards,
Jaehoon Chung


> 
> I allways use : make odroid-c2_defconfig with no other config option set to build u-boot.
> 
> Best regards
> 
> Otto
> 
> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>> Hei hei,
>>
>> FWIW see below,
>>
>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>> Dear Jaehoon Chung,
>>>
>>> I cloned github.com/u-boot which i believe is the master repo.
>>
>> That seems to be an up to date mirror. However, according to [1] and [2] the
>> real upstream repository is here:
>>
>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>
>> Greets
>> Alex
>>
>> [1] https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>> [2] https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>
>>>
>>> I enabled CONFIG_MMC_TRACE and got following
>>> response:
>>>
>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>> TE: 308588
>>> no sdio debug board detected
>>>
>>> BL2 Built : 11:44:26, Nov 25 2015.
>>> gxb gfb13a3b-c2 - jcao at wonton
>>>
>>> Board ID = 8
>>> set vcck to 1100 mv
>>> set vddee to 1050 mv
>>> CPU clk: 1536MHz
>>> DDR channel setting: DDR0 Rank0+1 same
>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>> DataBus test pass!
>>> AddrBus test pass!
>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>> 0x000000b0
>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>>> Sending bl30........................................OK.
>>> Run bl30...
>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>> Wait bl30...Done
>>> Sending bl301.......OK.
>>> Run bl301...
>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>
>>>
>>> --- UART initialized after reboot ---
>>> [Reset cause: unknown]
>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>> tao.zeng at droid04]
>>> bl30: check_permit, count is 1
>>> bl30: check_permit: ok!
>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>> 0x0009e330
>>>
>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>
>>> [0.423714 Inits done]
>>> secure task start!
>>> high task start!
>>> low task start!
>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>> INFO:??? BL3-1: Initializing runtime services
>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>> INFO:??? BL3-1: Next image address = 0x1000000
>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>
>>>
>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>>> odroid-c2
>>>
>>> Model: Hardkernel ODROID-C2
>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>> DRAM:? 2 GiB
>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>> In:??? serial
>>> Out:?? serial
>>> Err:?? serial
>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>> No ethernet found.
>>>
>>> Hit any key to stop autoboot:? 0
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x000001aa
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:55
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? RET????????????????????? -110
>>> Card did not respond to voltage select!
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x000001aa
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:55
>>>
>>> ????????????????? ARG????????????????????? 0x00000000
>>>
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R3,4???????????? 0x00000000
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40000000
>>> ????????????????? RET????????????????????? -110
>>> Card did not respond to voltage select!
>>> MMC Device 2 not found
>>> no mmc device at slot 2
>>> starting USB...
>>> Bus usb at c9100000: USB DWC2
>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>> ???????? scanning usb for storage devices... 0 Storage Device(s) found
>>>
>>>
>>> Following you find a working boot from emmc:
>>>
>>>
>>>
>>>
>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>> TE: 303447
>>> no sdio debug board detected
>>>
>>> BL2 Built : 11:44:26, Nov 25 2015.
>>> gxb gfb13a3b-c2 - jcao at wonton
>>>
>>> Board ID = 8
>>> set vcck to 1100 mv
>>> set vddee to 1050 mv
>>> CPU clk: 1536MHz
>>> DDR channel setting: DDR0 Rank0+1 same
>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>> DataBus test pass!
>>> AddrBus test pass!
>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>> 0x00009ef0 Sending bl30........................................OK.
>>> Run bl30...
>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>> Wait bl30...Done
>>> Sending bl301.......OK.
>>> Run bl301...
>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>
>>>
>>> --- UART initialized after reboot ---
>>> [Reset cause: unknown]
>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>> bl30: check_permit: ok!
>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>> 0x0007da20
>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>
>>> [0.418578 Inits done]
>>> secure task start!
>>> high task start!
>>> low task start!
>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>> INFO:??? BL3-1: Initializing runtime services
>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>> INFO:??? BL3-1: Next image address = 0x1000000
>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>
>>>
>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>
>>> Model: Hardkernel ODROID-C2
>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>> DRAM:? 2 GiB
>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>> In:??? serial
>>> Out:?? serial
>>> Err:?? serial
>>> Net:?? eth0: ethernet at c9410000
>>> Hit any key to stop autoboot:? 0
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x000001aa
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:55
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? RET????????????????????? -110
>>> Card did not respond to voltage select!
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x000001aa
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:55
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? RET????????????????????? -110
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:0
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_NONE
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>> CMD_SEND:1
>>> ????????????????? ARG????????????????????? 0x40380080
>>> ????????????????? MMC_RSP_R3,4???????????? 0xc0ff8080
>>> CMD_SEND:2
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R2?????????????? 0x15010043
>>> ?????????????????????????????????????????? 0x4a544434
>>> ?????????????????????????????????????????? 0x52042550
>>> ?????????????????????????????????????????? 0xfa197700
>>>
>>> ????????????????????????????????????????? DUMPING DATA
>>> ????????????????????????????????????????? 000 - 15 01 00 43
>>> ????????????????????????????????????????? 004 - 4a 54 44 34
>>> ????????????????????????????????????????? 008 - 52 04 25 50
>>> ????????????????????????????????????????? 012 - fa 19 77 00
>>> CMD_SEND:3
>>> ????????????????? ARG????????????????????? 0x00010000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000500
>>> CMD_SEND:9
>>> ????????????????? ARG????????????????????? 0x00010000
>>> ????????????????? MMC_RSP_R2?????????????? 0xd0270132
>>> ?????????????????????????????????????????? 0x0f5903ff
>>> ?????????????????????????????????????????? 0xf6dbffef
>>> ?????????????????????????????????????????? 0x8e404000
>>>
>>> ????????????????????????????????????????? DUMPING DATA
>>> ????????????????????????????????????????? 000 - d0 27 01 32
>>> ????????????????????????????????????????? 004 - 0f 59 03 ff
>>> ????????????????????????????????????????? 008 - f6 db ff ef
>>> ????????????????????????????????????????? 012 - 8e 40 40 00
>>> CMD_SEND:7
>>> ????????????????? ARG????????????????????? 0x00010000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000700
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:6
>>> ????????????????? ARG????????????????????? 0x03b70200
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000900
>>> CMD_SEND:13
>>> ????????????????? ARG????????????????????? 0x00010000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CURR STATE:4
>>> CMD_SEND:6
>>> ????????????????? ARG????????????????????? 0x03b90100
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000900
>>> CMD_SEND:13
>>> ????????????????? ARG????????????????????? 0x00010000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CURR STATE:4
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:8
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> switch to partitions #0, OK
>>> mmc1(part 0) is current device
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> Scanning mmc 1:1...
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:17
>>> ????????????????? ARG????????????????????? 0x00000800
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000844
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000868
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x00000804
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> CMD_SEND:16
>>> ????????????????? ARG????????????????????? 0x00000200
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:18
>>> ????????????????? ARG????????????????????? 0x0000086c
>>> ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>> CMD_SEND:12
>>> ????????????????? ARG????????????????????? 0x00000000
>>> ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>
>>>
>>> This is the output from mmc info command u-boot 2020.04
>>>
>>> => mmc info
>>> Device: mmc at 74000
>>> Manufacturer ID: 15
>>> OEM: 100
>>> Name: CJTD4
>>> Bus Speed: 52000000
>>> Mode: MMC High Speed (52MHz)
>>> Rd Block Len: 512
>>> MMC version 5.1
>>> High Capacity: Yes
>>> Capacity: 58.2 GiB
>>> Bus Width: 8-bit
>>> Erase Group Size: 512 KiB
>>> HC WP Group Size: 8 MiB
>>> User Capacity: 58.2 GiB WRREL
>>> Boot Capacity: 4 MiB ENH
>>> RPMB Capacity: 4 MiB ENH
>>> =>
>>>
>>> Any Idea?
>>>
>>> best regards
>>>
>>> Otto
>>>
>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>> Dear Otto,
>>>>
>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>>>
>>>> Which git repository did you use?
>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>
>>>>
>>>> Best Regards,
>>>> Jaehoon Chung
>>>>
>>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>
>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>
>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>> TE: 156394
>>>>> no sdio debug board detected
>>>>>
>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>
>>>>> Board ID = 8
>>>>> set vcck to 1100 mv
>>>>> set vddee to 1050 mv
>>>>> CPU clk: 1536MHz
>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>> DataBus test pass!
>>>>> AddrBus test pass!
>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>> Run bl30...
>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>> Wait bl30...Done
>>>>> Sending bl301.......OK.
>>>>> Run bl301...
>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>
>>>>>
>>>>> --- UART initialized after reboot ---
>>>>> [Reset cause: unknown]
>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>> bl30: check_permit: ok!
>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>> 0x0009e8f0>>
>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>
>>>>> [0.271464 Inits done]
>>>>> secure task start!
>>>>> high task start!
>>>>> low task start!
>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>
>>>>>
>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>
>>>>> Model: Hardkernel ODROID-C2
>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>> DRAM:? 2 GiB
>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>> In:??? serial
>>>>> Out:?? serial
>>>>> Err:?? serial
>>>>> Net:?? eth0: ethernet at c9410000
>>>>> Hit any key to stop autoboot:? 0
>>>>> Card did not respond to voltage select!
>>>>> Card did not respond to voltage select!
>>>>> MMC Device 2 not found
>>>>> no mmc device at slot 2
>>>>> starting USB...
>>>>> Bus usb at c9100000: USB DWC2
>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>
>>>>>
>>>>> Does anybody know how to fixes this breakage?
>>>>>
>>>>> Best regards
>>>>>
>>>>> Otto
>>
>>
>>
>>
>>
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-18 12:23           ` Jaehoon Chung
@ 2020-11-18 15:54             ` Otto Meier
  2020-11-19 11:50               ` Jaehoon Chung
  0 siblings, 1 reply; 19+ messages in thread
From: Otto Meier @ 2020-11-18 15:54 UTC (permalink / raw)
  To: u-boot

Hi,

i have reverted the commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
and? set regulator-allways-on in meson-gxbb-odroidc2.dts.

And i also applied "PATCH V2] mmc: display an error number to debug"
from list and disabled CONFIG_MMC_DEBUG

after that i got the following result:


U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 16:38:40 
+0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:? 2 GiB
MMC:?? mmc at 72000: 0, mmc at 74000: 1
In:??? serial
Out:?? serial
Err:?? serial
Net:?? eth0: ethernet at c9410000
Hit any key to stop autoboot:? 0
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
MMC Device 2 not found
no mmc device at slot 2
starting USB...
Bus usb at c9100000: USB DWC2
scanning bus usb at c9100000 for devices... 2 USB Device(s) found
 ?????? scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
DHCP client bound to address 192.168.20.199 (3767 ms)
*** Warning: no boot file name; using 'C0A814C7.img'
Using ethernet at c9410000 device

It Does not seem to have fixed it.? The above mentioned patch
prints ERROR 110.? I'm not able to bisect.
Perhaps if any other reason comes to mind. I will try and test it.

Best regards
otto




Am 18.11.20 um 13:23 schrieb Jaehoon Chung:
> On 11/18/20 8:44 PM, Otto Meier wrote:
>> Hi,
>>
>> it is not a new issue, since u-boot 2020.07 this issue exists.
>> even by using the repo you mention the error exist.
> Yes, git repo doesn't matter. When i have checked, you are using almost latest u-boot. (commit 9324c9a823)
>
> If it's existed since 2020.07, it seems that relevant to below commit.
>
> commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
> Author: Haibo Chen <haibo.chen@nxp.com>
> Date:   Mon Jun 15 17:18:12 2020 +0800
>
>      mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready
>
>      According to eMMC specification v5.1 section 6.4.3, we should issue
>      CMD1 repeatedly in the idle state until the eMMC is ready even if
>      mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
>      devices seems to enter the inactive mode after mmc_complete_op_cond()
>      issued CMD0 when the eMMC device is busy.
>
>      Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>      Reviewed-by: Peng Fan <peng.fan@nxp.com>
>
> Could you check it?
>
> Best Regards,
> Jaehoon Chung
>
>
>> I allways use : make odroid-c2_defconfig with no other config option set to build u-boot.
>>
>> Best regards
>>
>> Otto
>>
>> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>>> Hei hei,
>>>
>>> FWIW see below,
>>>
>>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>>> Dear Jaehoon Chung,
>>>>
>>>> I cloned github.com/u-boot which i believe is the master repo.
>>> That seems to be an up to date mirror. However, according to [1] and [2] the
>>> real upstream repository is here:
>>>
>>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>>
>>> Greets
>>> Alex
>>>
>>> [1] https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>>> [2] https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>>
>>>> I enabled CONFIG_MMC_TRACE and got following
>>>> response:
>>>>
>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>> TE: 308588
>>>> no sdio debug board detected
>>>>
>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>
>>>> Board ID = 8
>>>> set vcck to 1100 mv
>>>> set vddee to 1050 mv
>>>> CPU clk: 1536MHz
>>>> DDR channel setting: DDR0 Rank0+1 same
>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>> DataBus test pass!
>>>> AddrBus test pass!
>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>> 0x000000b0
>>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>>>> Sending bl30........................................OK.
>>>> Run bl30...
>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>> Wait bl30...Done
>>>> Sending bl301.......OK.
>>>> Run bl301...
>>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>
>>>>
>>>> --- UART initialized after reboot ---
>>>> [Reset cause: unknown]
>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>> tao.zeng at droid04]
>>>> bl30: check_permit, count is 1
>>>> bl30: check_permit: ok!
>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>> 0x0009e330
>>>>
>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>
>>>> [0.423714 Inits done]
>>>> secure task start!
>>>> high task start!
>>>> low task start!
>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>> INFO:??? BL3-1: Initializing runtime services
>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>
>>>>
>>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>>>> odroid-c2
>>>>
>>>> Model: Hardkernel ODROID-C2
>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>> DRAM:? 2 GiB
>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>> In:??? serial
>>>> Out:?? serial
>>>> Err:?? serial
>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>> No ethernet found.
>>>>
>>>> Hit any key to stop autoboot:? 0
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x000001aa
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:55
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? RET????????????????????? -110
>>>> Card did not respond to voltage select!
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x000001aa
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:55
>>>>
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x00000000
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40000000
>>>>  ????????????????? RET????????????????????? -110
>>>> Card did not respond to voltage select!
>>>> MMC Device 2 not found
>>>> no mmc device at slot 2
>>>> starting USB...
>>>> Bus usb at c9100000: USB DWC2
>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>  ???????? scanning usb for storage devices... 0 Storage Device(s) found
>>>>
>>>>
>>>> Following you find a working boot from emmc:
>>>>
>>>>
>>>>
>>>>
>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>> TE: 303447
>>>> no sdio debug board detected
>>>>
>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>
>>>> Board ID = 8
>>>> set vcck to 1100 mv
>>>> set vddee to 1050 mv
>>>> CPU clk: 1536MHz
>>>> DDR channel setting: DDR0 Rank0+1 same
>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>> DataBus test pass!
>>>> AddrBus test pass!
>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>> 0x00009ef0 Sending bl30........................................OK.
>>>> Run bl30...
>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>> Wait bl30...Done
>>>> Sending bl301.......OK.
>>>> Run bl301...
>>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>
>>>>
>>>> --- UART initialized after reboot ---
>>>> [Reset cause: unknown]
>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>> bl30: check_permit: ok!
>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>> 0x0007da20
>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>
>>>> [0.418578 Inits done]
>>>> secure task start!
>>>> high task start!
>>>> low task start!
>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>> INFO:??? BL3-1: Initializing runtime services
>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>
>>>>
>>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>>
>>>> Model: Hardkernel ODROID-C2
>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>> DRAM:? 2 GiB
>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>> In:??? serial
>>>> Out:?? serial
>>>> Err:?? serial
>>>> Net:?? eth0: ethernet at c9410000
>>>> Hit any key to stop autoboot:? 0
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x000001aa
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:55
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? RET????????????????????? -110
>>>> Card did not respond to voltage select!
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x000001aa
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:55
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? RET????????????????????? -110
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:0
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_NONE
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>> CMD_SEND:1
>>>>  ????????????????? ARG????????????????????? 0x40380080
>>>>  ????????????????? MMC_RSP_R3,4???????????? 0xc0ff8080
>>>> CMD_SEND:2
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R2?????????????? 0x15010043
>>>>  ?????????????????????????????????????????? 0x4a544434
>>>>  ?????????????????????????????????????????? 0x52042550
>>>>  ?????????????????????????????????????????? 0xfa197700
>>>>
>>>>  ????????????????????????????????????????? DUMPING DATA
>>>>  ????????????????????????????????????????? 000 - 15 01 00 43
>>>>  ????????????????????????????????????????? 004 - 4a 54 44 34
>>>>  ????????????????????????????????????????? 008 - 52 04 25 50
>>>>  ????????????????????????????????????????? 012 - fa 19 77 00
>>>> CMD_SEND:3
>>>>  ????????????????? ARG????????????????????? 0x00010000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000500
>>>> CMD_SEND:9
>>>>  ????????????????? ARG????????????????????? 0x00010000
>>>>  ????????????????? MMC_RSP_R2?????????????? 0xd0270132
>>>>  ?????????????????????????????????????????? 0x0f5903ff
>>>>  ?????????????????????????????????????????? 0xf6dbffef
>>>>  ?????????????????????????????????????????? 0x8e404000
>>>>
>>>>  ????????????????????????????????????????? DUMPING DATA
>>>>  ????????????????????????????????????????? 000 - d0 27 01 32
>>>>  ????????????????????????????????????????? 004 - 0f 59 03 ff
>>>>  ????????????????????????????????????????? 008 - f6 db ff ef
>>>>  ????????????????????????????????????????? 012 - 8e 40 40 00
>>>> CMD_SEND:7
>>>>  ????????????????? ARG????????????????????? 0x00010000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000700
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:6
>>>>  ????????????????? ARG????????????????????? 0x03b70200
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>> CMD_SEND:13
>>>>  ????????????????? ARG????????????????????? 0x00010000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CURR STATE:4
>>>> CMD_SEND:6
>>>>  ????????????????? ARG????????????????????? 0x03b90100
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>> CMD_SEND:13
>>>>  ????????????????? ARG????????????????????? 0x00010000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CURR STATE:4
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:8
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> switch to partitions #0, OK
>>>> mmc1(part 0) is current device
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> Scanning mmc 1:1...
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:17
>>>>  ????????????????? ARG????????????????????? 0x00000800
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000844
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000868
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x00000804
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> CMD_SEND:16
>>>>  ????????????????? ARG????????????????????? 0x00000200
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:18
>>>>  ????????????????? ARG????????????????????? 0x0000086c
>>>>  ????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>> CMD_SEND:12
>>>>  ????????????????? ARG????????????????????? 0x00000000
>>>>  ????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>>
>>>>
>>>> This is the output from mmc info command u-boot 2020.04
>>>>
>>>> => mmc info
>>>> Device: mmc at 74000
>>>> Manufacturer ID: 15
>>>> OEM: 100
>>>> Name: CJTD4
>>>> Bus Speed: 52000000
>>>> Mode: MMC High Speed (52MHz)
>>>> Rd Block Len: 512
>>>> MMC version 5.1
>>>> High Capacity: Yes
>>>> Capacity: 58.2 GiB
>>>> Bus Width: 8-bit
>>>> Erase Group Size: 512 KiB
>>>> HC WP Group Size: 8 MiB
>>>> User Capacity: 58.2 GiB WRREL
>>>> Boot Capacity: 4 MiB ENH
>>>> RPMB Capacity: 4 MiB ENH
>>>> =>
>>>>
>>>> Any Idea?
>>>>
>>>> best regards
>>>>
>>>> Otto
>>>>
>>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>>> Dear Otto,
>>>>>
>>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>>>> Which git repository did you use?
>>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>>
>>>>>
>>>>> Best Regards,
>>>>> Jaehoon Chung
>>>>>
>>>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>>
>>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>>
>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>> TE: 156394
>>>>>> no sdio debug board detected
>>>>>>
>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>
>>>>>> Board ID = 8
>>>>>> set vcck to 1100 mv
>>>>>> set vddee to 1050 mv
>>>>>> CPU clk: 1536MHz
>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>> DataBus test pass!
>>>>>> AddrBus test pass!
>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>> Run bl30...
>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>> Wait bl30...Done
>>>>>> Sending bl301.......OK.
>>>>>> Run bl301...
>>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>
>>>>>>
>>>>>> --- UART initialized after reboot ---
>>>>>> [Reset cause: unknown]
>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>> bl30: check_permit: ok!
>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>> 0x0009e8f0>>
>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>
>>>>>> [0.271464 Inits done]
>>>>>> secure task start!
>>>>>> high task start!
>>>>>> low task start!
>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>
>>>>>>
>>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> Card did not respond to voltage select!
>>>>>> Card did not respond to voltage select!
>>>>>> MMC Device 2 not found
>>>>>> no mmc device at slot 2
>>>>>> starting USB...
>>>>>> Bus usb at c9100000: USB DWC2
>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>
>>>>>>
>>>>>> Does anybody know how to fixes this breakage?
>>>>>>
>>>>>> Best regards
>>>>>>
>>>>>> Otto
>>>
>>>
>>>
>>>
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-16 14:16 ` [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04 Otto Meier
  2020-11-16 22:39   ` Jaehoon Chung
@ 2020-11-18 17:09   ` Heinrich Schuchardt
  2020-11-18 18:04     ` Otto Meier
  1 sibling, 1 reply; 19+ messages in thread
From: Heinrich Schuchardt @ 2020-11-18 17:09 UTC (permalink / raw)
  To: u-boot

On 16.11.20 15:16, Otto Meier wrote:
> I tried to build? an actual u-boot from git for my odroid-c2 board.
>
> It doesn't find the emmc card and therefore does not boot from it.
> emmc is Ok and boots with u-boot 2020.04 fine.
>
> Newer u-boot then 2020.04 show these messages:
>
> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
> TE: 156394
> no sdio debug board detected
>
> BL2 Built : 11:44:26, Nov 25 2015.
> gxb gfb13a3b-c2 - jcao at wonton
>
> Board ID = 8
> set vcck to 1100 mv
> set vddee to 1050 mv
> CPU clk: 1536MHz
> DDR channel setting: DDR0 Rank0+1 same
> DDR0: 2048MB(auto) @ 912MHz(2T)-13
> DataBus test pass!
> AddrBus test pass!
> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
> 0x000000b0
> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
> Sending bl30........................................OK.
> Run bl30...
> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
> Wait bl30...Done
> Sending bl301.......OK.
> Run bl301...
> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>
>
> --- UART initialized after reboot ---
> [Reset cause: unknown]
> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
> tao.zeng at droid04]
> bl30: check_permit, count is 1
> bl30: check_permit: ok!
> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
> 0x0009e8f0
> : ef be ad de d f0 ad ba ef be ad de not ES chip
> [0.271464 Inits done]
> secure task start!
> high task start!
> low task start!
> NOTICE:? BL3-1: v1.0(debug):4d2e34d
> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
> INFO:??? BL3-1: Initializing runtime services
> INFO:??? BL3-1: Preparing for EL3 exit to normal world
> INFO:??? BL3-1: Next image address = 0x1000000
> INFO:??? BL3-1: Next image spsr = 0x3c9
>
>
> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>
> Model: Hardkernel ODROID-C2
> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:? 2 GiB
> MMC:?? mmc at 72000: 0, mmc at 74000: 1
> In:??? serial
> Out:?? serial
> Err:?? serial
> Net:?? eth0: ethernet at c9410000
> Hit any key to stop autoboot:? 0
> Card did not respond to voltage select!
> Card did not respond to voltage select!
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
> Bus usb at c9100000: USB DWC2
> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>
>
> Does anybody know how to fixes this breakage?
>
> Best regards
>
> Otto
>

On my Odroid C2 I cannot see the reported error.

The devices are numbered 0 and 1 and these are reported in your boot log.

Where do you select "MMC Device 2"? Do you have a boot.scr which tries
to select the wrong device number?

Please, provide the output of

mmc dev 0; mmc info
mmc dev 1; mmc info

Here is my boot log:

U-Boot 2021.01-rc1-00247-g530e3803ab (Nov 02 2020 - 19:41:17 +0100)
odroid-c2

Model: Hardkernel ODROID-C2
SoC:   Amlogic Meson GXBB (S905) Revision 1f:b (0:1)
DRAM:  2 GiB
MMC:   mmc at 72000: 0, mmc at 74000: 1
In:    serial
Out:   serial
Err:   serial
Net:   eth_designware ethernet at c9410000: Can't get reset: -2
eth0: ethernet at c9410000
Hit any key to stop autoboot:  0
=> mmc info
Device: mmc at 72000
Manufacturer ID: 3
OEM: 5344
Name: ACLCE
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 59.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
=> mmc dev 1
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc info
Device: mmc at 74000
Manufacturer ID: d6
OEM: 103
Name: SOD16
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 14.6 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 4 MiB
User Capacity: 14.6 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
=>

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-18 17:09   ` Heinrich Schuchardt
@ 2020-11-18 18:04     ` Otto Meier
  0 siblings, 0 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-18 18:04 UTC (permalink / raw)
  To: u-boot

I only have the emmc? installed.


U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 16:38:40 
+0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:? 2 GiB
MMC:?? mmc at 72000: 0, mmc at 74000: 1
In:??? serial
Out:?? serial
Err:?? serial
Net:?? eth0: ethernet at c9410000
Hit any key to stop autoboot:? 0
=> mmcinfo
Card did not respond to voltage select! : -110
=> mmc list
mmc at 72000: 0
mmc at 74000: 1
=> mmc dev 0
Card did not respond to voltage select! : -110
=> mmc dev 1
Card did not respond to voltage select! : -110

these are the results.


This is the output from mmc info command in u-boot 2020.04

=> mmc info
Device: mmc at 74000
Manufacturer ID: 15
OEM: 100
Name: CJTD4
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity:
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 58.2 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
=>

for a sdcard under U-Boot 2021.01-rc2-00047-g9324c9a823-dirty i get

=> mmc info
Device: mmc at 72000
Manufacturer ID: 1b
OEM: 534d
Name: 00000
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 119.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

best regards

Otto

Am 18.11.20 um 18:09 schrieb Heinrich Schuchardt:
> On 16.11.20 15:16, Otto Meier wrote:
>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>
>> It doesn't find the emmc card and therefore does not boot from it.
>> emmc is Ok and boots with u-boot 2020.04 fine.
>>
>> Newer u-boot then 2020.04 show these messages:
>>
>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>> TE: 156394
>> no sdio debug board detected
>>
>> BL2 Built : 11:44:26, Nov 25 2015.
>> gxb gfb13a3b-c2 - jcao at wonton
>>
>> Board ID = 8
>> set vcck to 1100 mv
>> set vddee to 1050 mv
>> CPU clk: 1536MHz
>> DDR channel setting: DDR0 Rank0+1 same
>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>> DataBus test pass!
>> AddrBus test pass!
>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>> 0x000000b0
>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>> Sending bl30........................................OK.
>> Run bl30...
>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>> Wait bl30...Done
>> Sending bl301.......OK.
>> Run bl301...
>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>
>>
>> --- UART initialized after reboot ---
>> [Reset cause: unknown]
>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>> tao.zeng at droid04]
>> bl30: check_permit, count is 1
>> bl30: check_permit: ok!
>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>> 0x0009e8f0
>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>> [0.271464 Inits done]
>> secure task start!
>> high task start!
>> low task start!
>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>> INFO:??? BL3-1: Initializing runtime services
>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>> INFO:??? BL3-1: Next image address = 0x1000000
>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>
>>
>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:? 2 GiB
>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>> In:??? serial
>> Out:?? serial
>> Err:?? serial
>> Net:?? eth0: ethernet at c9410000
>> Hit any key to stop autoboot:? 0
>> Card did not respond to voltage select!
>> Card did not respond to voltage select!
>> MMC Device 2 not found
>> no mmc device at slot 2
>> starting USB...
>> Bus usb at c9100000: USB DWC2
>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>
>>
>> Does anybody know how to fixes this breakage?
>>
>> Best regards
>>
>> Otto
>>
> On my Odroid C2 I cannot see the reported error.
>
> The devices are numbered 0 and 1 and these are reported in your boot log.
>
> Where do you select "MMC Device 2"? Do you have a boot.scr which tries
> to select the wrong device number?
>
> Please, provide the output of
>
> mmc dev 0; mmc info
> mmc dev 1; mmc info
>
> Here is my boot log:
>
> U-Boot 2021.01-rc1-00247-g530e3803ab (Nov 02 2020 - 19:41:17 +0100)
> odroid-c2
>
> Model: Hardkernel ODROID-C2
> SoC:   Amlogic Meson GXBB (S905) Revision 1f:b (0:1)
> DRAM:  2 GiB
> MMC:   mmc at 72000: 0, mmc at 74000: 1
> In:    serial
> Out:   serial
> Err:   serial
> Net:   eth_designware ethernet at c9410000: Can't get reset: -2
> eth0: ethernet at c9410000
> Hit any key to stop autoboot:  0
> => mmc info
> Device: mmc at 72000
> Manufacturer ID: 3
> OEM: 5344
> Name: ACLCE
> Bus Speed: 50000000
> Mode: SD High Speed (50MHz)
> Rd Block Len: 512
> SD version 3.0
> High Capacity: Yes
> Capacity: 59.5 GiB
> Bus Width: 4-bit
> Erase Group Size: 512 Bytes
> => mmc dev 1
> switch to partitions #0, OK
> mmc1(part 0) is current device
> => mmc info
> Device: mmc at 74000
> Manufacturer ID: d6
> OEM: 103
> Name: SOD16
> Bus Speed: 52000000
> Mode: MMC High Speed (52MHz)
> Rd Block Len: 512
> MMC version 5.1
> High Capacity: Yes
> Capacity: 14.6 GiB
> Bus Width: 8-bit
> Erase Group Size: 512 KiB
> HC WP Group Size: 4 MiB
> User Capacity: 14.6 GiB WRREL
> Boot Capacity: 4 MiB ENH
> RPMB Capacity: 4 MiB ENH
> Boot area 0 is not write protected
> Boot area 1 is not write protected
> =>
>
> Best regards
>
> Heinrich
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-18 15:54             ` Otto Meier
@ 2020-11-19 11:50               ` Jaehoon Chung
  2020-11-19 14:39                 ` Otto Meier
  2020-11-19 15:52                 ` Otto Meier
  0 siblings, 2 replies; 19+ messages in thread
From: Jaehoon Chung @ 2020-11-19 11:50 UTC (permalink / raw)
  To: u-boot

Hi,

On 11/19/20 12:54 AM, Otto Meier wrote:
> Hi,
> 
> i have reverted the commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
> and? set regulator-allways-on in meson-gxbb-odroidc2.dts.
> 
> And i also applied "PATCH V2] mmc: display an error number to debug"
> from list and disabled CONFIG_MMC_DEBUG
> 
> after that i got the following result:
> 
> 
> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 16:38:40 +0100) odroid-c2
> 
> Model: Hardkernel ODROID-C2
> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:? 2 GiB
> MMC:?? mmc at 72000: 0, mmc at 74000: 1
> In:??? serial
> Out:?? serial
> Err:?? serial
> Net:?? eth0: ethernet at c9410000
> Hit any key to stop autoboot:? 0
> Card did not respond to voltage select! : -110
> Card did not respond to voltage select! : -110
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
> Bus usb at c9100000: USB DWC2
> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
> ?????? scanning usb for storage devices... 0 Storage Device(s) found
> 
> Device 0: unknown device
> Speed: 1000, full duplex
> BOOTP broadcast 1
> BOOTP broadcast 2
> BOOTP broadcast 3
> BOOTP broadcast 4
> BOOTP broadcast 5
> DHCP client bound to address 192.168.20.199 (3767 ms)
> *** Warning: no boot file name; using 'C0A814C7.img'
> Using ethernet at c9410000 device
> 
> It Does not seem to have fixed it.? The above mentioned patch
> prints ERROR 110.? I'm not able to bisect.
> Perhaps if any other reason comes to mind. I will try and test it.

I think your targets's status is something special. I'm not sure but it seems that something is affected.
Frankly, it's difficult to me about finding correct problem without Odroid-c2.

But TIMEOUT is returned two locations.

When i saw your previous log, i guess that it's below location.

/* use 10s timeout */
	start = get_timer(0);
	do {
		status = meson_read(mmc, MESON_SD_EMMC_STATUS);
	} while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 10000);

	if (!(status & STATUS_END_OF_CHAIN))
		ret = -ETIMEDOUT;
	else if (status & STATUS_RESP_TIMEOUT)
		ret = -ETIMEDOUT;
	else if (status & STATUS_ERR_MASK)
		ret = -EIO;
 
To Workaround check, increase timeout value from 1000 to other value.
And check which condition is hit, plz. likes below.

	do {
		status = meson_read(mmc, MESON_SD_EMMC_STATUS);
		printf("MESON EMMC status = %08x\n", status);
	} while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 1000000);

	if (!(status & STATUS_END_OF_CHAIN)) {
		printf("%s[%d]\n",__func__,__LINE__);
		ret = -ETIMEDOUT;
	} else if (status & STATUS_RESP_TIMEOUT) {
		printf("%s[%d]\n",__func__,__LINE__);
		ret = -ETIMEDOUT;
	} else if (status & STATUS_ERR_MASK)
		ret = -EIO;

Sorry for not being able to help you much.


Best Regards,
Jaehoon Chung


> 
> Best regards
> otto
> 
> 
> 
> 
> Am 18.11.20 um 13:23 schrieb Jaehoon Chung:
>> On 11/18/20 8:44 PM, Otto Meier wrote:
>>> Hi,
>>>
>>> it is not a new issue, since u-boot 2020.07 this issue exists.
>>> even by using the repo you mention the error exist.
>> Yes, git repo doesn't matter. When i have checked, you are using almost latest u-boot. (commit 9324c9a823)
>>
>> If it's existed since 2020.07, it seems that relevant to below commit.
>>
>> commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>> Author: Haibo Chen <haibo.chen@nxp.com>
>> Date:?? Mon Jun 15 17:18:12 2020 +0800
>>
>> ???? mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready
>>
>> ???? According to eMMC specification v5.1 section 6.4.3, we should issue
>> ???? CMD1 repeatedly in the idle state until the eMMC is ready even if
>> ???? mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
>> ???? devices seems to enter the inactive mode after mmc_complete_op_cond()
>> ???? issued CMD0 when the eMMC device is busy.
>>
>> ???? Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>> ???? Reviewed-by: Peng Fan <peng.fan@nxp.com>
>>
>> Could you check it?
>>
>> Best Regards,
>> Jaehoon Chung
>>
>>
>>> I allways use : make odroid-c2_defconfig with no other config option set to build u-boot.
>>>
>>> Best regards
>>>
>>> Otto
>>>
>>> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>>>> Hei hei,
>>>>
>>>> FWIW see below,
>>>>
>>>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>>>> Dear Jaehoon Chung,
>>>>>
>>>>> I cloned github.com/u-boot which i believe is the master repo.
>>>> That seems to be an up to date mirror. However, according to [1] and [2] the
>>>> real upstream repository is here:
>>>>
>>>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>>>
>>>> Greets
>>>> Alex
>>>>
>>>> [1] https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>>>> [2] https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>>>
>>>>> I enabled CONFIG_MMC_TRACE and got following
>>>>> response:
>>>>>
>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>> TE: 308588
>>>>> no sdio debug board detected
>>>>>
>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>
>>>>> Board ID = 8
>>>>> set vcck to 1100 mv
>>>>> set vddee to 1050 mv
>>>>> CPU clk: 1536MHz
>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>> DataBus test pass!
>>>>> AddrBus test pass!
>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>> 0x000000b0
>>>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>>>>> Sending bl30........................................OK.
>>>>> Run bl30...
>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>> Wait bl30...Done
>>>>> Sending bl301.......OK.
>>>>> Run bl301...
>>>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>
>>>>>
>>>>> --- UART initialized after reboot ---
>>>>> [Reset cause: unknown]
>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>> tao.zeng at droid04]
>>>>> bl30: check_permit, count is 1
>>>>> bl30: check_permit: ok!
>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>> 0x0009e330
>>>>>
>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>
>>>>> [0.423714 Inits done]
>>>>> secure task start!
>>>>> high task start!
>>>>> low task start!
>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>
>>>>>
>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>>>>> odroid-c2
>>>>>
>>>>> Model: Hardkernel ODROID-C2
>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>> DRAM:? 2 GiB
>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>> In:??? serial
>>>>> Out:?? serial
>>>>> Err:?? serial
>>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>>> No ethernet found.
>>>>>
>>>>> Hit any key to stop autoboot:? 0
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:55
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? RET????????????????????? -110
>>>>> Card did not respond to voltage select!
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:55
>>>>>
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x00000000
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40000000
>>>>> ?????????????????? RET????????????????????? -110
>>>>> Card did not respond to voltage select!
>>>>> MMC Device 2 not found
>>>>> no mmc device at slot 2
>>>>> starting USB...
>>>>> Bus usb at c9100000: USB DWC2
>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>> ????????? scanning usb for storage devices... 0 Storage Device(s) found
>>>>>
>>>>>
>>>>> Following you find a working boot from emmc:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>> TE: 303447
>>>>> no sdio debug board detected
>>>>>
>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>
>>>>> Board ID = 8
>>>>> set vcck to 1100 mv
>>>>> set vddee to 1050 mv
>>>>> CPU clk: 1536MHz
>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>> DataBus test pass!
>>>>> AddrBus test pass!
>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>> Run bl30...
>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>> Wait bl30...Done
>>>>> Sending bl301.......OK.
>>>>> Run bl301...
>>>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>
>>>>>
>>>>> --- UART initialized after reboot ---
>>>>> [Reset cause: unknown]
>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>> bl30: check_permit: ok!
>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>> 0x0007da20
>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>
>>>>> [0.418578 Inits done]
>>>>> secure task start!
>>>>> high task start!
>>>>> low task start!
>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>
>>>>>
>>>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>>>
>>>>> Model: Hardkernel ODROID-C2
>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>> DRAM:? 2 GiB
>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>> In:??? serial
>>>>> Out:?? serial
>>>>> Err:?? serial
>>>>> Net:?? eth0: ethernet at c9410000
>>>>> Hit any key to stop autoboot:? 0
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:55
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? RET????????????????????? -110
>>>>> Card did not respond to voltage select!
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:55
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? RET????????????????????? -110
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:0
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_NONE
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>> CMD_SEND:1
>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0xc0ff8080
>>>>> CMD_SEND:2
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R2?????????????? 0x15010043
>>>>> ??????????????????????????????????????????? 0x4a544434
>>>>> ??????????????????????????????????????????? 0x52042550
>>>>> ??????????????????????????????????????????? 0xfa197700
>>>>>
>>>>> ?????????????????????????????????????????? DUMPING DATA
>>>>> ?????????????????????????????????????????? 000 - 15 01 00 43
>>>>> ?????????????????????????????????????????? 004 - 4a 54 44 34
>>>>> ?????????????????????????????????????????? 008 - 52 04 25 50
>>>>> ?????????????????????????????????????????? 012 - fa 19 77 00
>>>>> CMD_SEND:3
>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000500
>>>>> CMD_SEND:9
>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>> ?????????????????? MMC_RSP_R2?????????????? 0xd0270132
>>>>> ??????????????????????????????????????????? 0x0f5903ff
>>>>> ??????????????????????????????????????????? 0xf6dbffef
>>>>> ??????????????????????????????????????????? 0x8e404000
>>>>>
>>>>> ?????????????????????????????????????????? DUMPING DATA
>>>>> ?????????????????????????????????????????? 000 - d0 27 01 32
>>>>> ?????????????????????????????????????????? 004 - 0f 59 03 ff
>>>>> ?????????????????????????????????????????? 008 - f6 db ff ef
>>>>> ?????????????????????????????????????????? 012 - 8e 40 40 00
>>>>> CMD_SEND:7
>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000700
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:6
>>>>> ?????????????????? ARG????????????????????? 0x03b70200
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>> CMD_SEND:13
>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CURR STATE:4
>>>>> CMD_SEND:6
>>>>> ?????????????????? ARG????????????????????? 0x03b90100
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>> CMD_SEND:13
>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CURR STATE:4
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:8
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> switch to partitions #0, OK
>>>>> mmc1(part 0) is current device
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> Scanning mmc 1:1...
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:17
>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000868
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x00000804
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> CMD_SEND:16
>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:18
>>>>> ?????????????????? ARG????????????????????? 0x0000086c
>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>> CMD_SEND:12
>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>>>
>>>>>
>>>>> This is the output from mmc info command u-boot 2020.04
>>>>>
>>>>> => mmc info
>>>>> Device: mmc at 74000
>>>>> Manufacturer ID: 15
>>>>> OEM: 100
>>>>> Name: CJTD4
>>>>> Bus Speed: 52000000
>>>>> Mode: MMC High Speed (52MHz)
>>>>> Rd Block Len: 512
>>>>> MMC version 5.1
>>>>> High Capacity: Yes
>>>>> Capacity: 58.2 GiB
>>>>> Bus Width: 8-bit
>>>>> Erase Group Size: 512 KiB
>>>>> HC WP Group Size: 8 MiB
>>>>> User Capacity: 58.2 GiB WRREL
>>>>> Boot Capacity: 4 MiB ENH
>>>>> RPMB Capacity: 4 MiB ENH
>>>>> =>
>>>>>
>>>>> Any Idea?
>>>>>
>>>>> best regards
>>>>>
>>>>> Otto
>>>>>
>>>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>>>> Dear Otto,
>>>>>>
>>>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>>>>> Which git repository did you use?
>>>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>>>
>>>>>>
>>>>>> Best Regards,
>>>>>> Jaehoon Chung
>>>>>>
>>>>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>>>
>>>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>>>
>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>> TE: 156394
>>>>>>> no sdio debug board detected
>>>>>>>
>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>
>>>>>>> Board ID = 8
>>>>>>> set vcck to 1100 mv
>>>>>>> set vddee to 1050 mv
>>>>>>> CPU clk: 1536MHz
>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>> DataBus test pass!
>>>>>>> AddrBus test pass!
>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>>> Run bl30...
>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>>> Wait bl30...Done
>>>>>>> Sending bl301.......OK.
>>>>>>> Run bl301...
>>>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>
>>>>>>>
>>>>>>> --- UART initialized after reboot ---
>>>>>>> [Reset cause: unknown]
>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>> bl30: check_permit: ok!
>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>>> 0x0009e8f0>>
>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>
>>>>>>> [0.271464 Inits done]
>>>>>>> secure task start!
>>>>>>> high task start!
>>>>>>> low task start!
>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>
>>>>>>>
>>>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>>>
>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>> DRAM:? 2 GiB
>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>> In:??? serial
>>>>>>> Out:?? serial
>>>>>>> Err:?? serial
>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>> Card did not respond to voltage select!
>>>>>>> Card did not respond to voltage select!
>>>>>>> MMC Device 2 not found
>>>>>>> no mmc device at slot 2
>>>>>>> starting USB...
>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>
>>>>>>>
>>>>>>> Does anybody know how to fixes this breakage?
>>>>>>>
>>>>>>> Best regards
>>>>>>>
>>>>>>> Otto
>>>>
>>>>
>>>>
>>>>
>>
> 
> 
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-19 11:50               ` Jaehoon Chung
@ 2020-11-19 14:39                 ` Otto Meier
  2020-11-26  3:13                   ` Jaehoon Chung
  2020-11-19 15:52                 ` Otto Meier
  1 sibling, 1 reply; 19+ messages in thread
From: Otto Meier @ 2020-11-19 14:39 UTC (permalink / raw)
  To: u-boot

Hi,

with these modifications i get:

U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 
+0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:? 2 GiB
MMC:?? mmc at 72000: 0, mmc at 74000: 1
In:??? serial
Out:?? serial
Err:?? serial
Net:?? Could not get PHY for ethernet at c9410000: addr -1
No ethernet found.

Hit any key to stop autoboot:? 0
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
Card did not respond to voltage select! : -110
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 00ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
Card did not respond to voltage select! : -110
MMC Device 2 not found
no mmc device at slot 2
starting USB...

Hope this shed more light on the issue.

Best regards

Am 19.11.20 um 12:50 schrieb Jaehoon Chung:
> Hi,
>
> On 11/19/20 12:54 AM, Otto Meier wrote:
>> Hi,
>>
>> i have reverted the commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>> and? set regulator-allways-on in meson-gxbb-odroidc2.dts.
>>
>> And i also applied "PATCH V2] mmc: display an error number to debug"
>> from list and disabled CONFIG_MMC_DEBUG
>>
>> after that i got the following result:
>>
>>
>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 16:38:40 +0100) odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:? 2 GiB
>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>> In:??? serial
>> Out:?? serial
>> Err:?? serial
>> Net:?? eth0: ethernet at c9410000
>> Hit any key to stop autoboot:? 0
>> Card did not respond to voltage select! : -110
>> Card did not respond to voltage select! : -110
>> MMC Device 2 not found
>> no mmc device at slot 2
>> starting USB...
>> Bus usb at c9100000: USB DWC2
>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>  ?????? scanning usb for storage devices... 0 Storage Device(s) found
>>
>> Device 0: unknown device
>> Speed: 1000, full duplex
>> BOOTP broadcast 1
>> BOOTP broadcast 2
>> BOOTP broadcast 3
>> BOOTP broadcast 4
>> BOOTP broadcast 5
>> DHCP client bound to address 192.168.20.199 (3767 ms)
>> *** Warning: no boot file name; using 'C0A814C7.img'
>> Using ethernet at c9410000 device
>>
>> It Does not seem to have fixed it.? The above mentioned patch
>> prints ERROR 110.? I'm not able to bisect.
>> Perhaps if any other reason comes to mind. I will try and test it.
> I think your targets's status is something special. I'm not sure but it seems that something is affected.
> Frankly, it's difficult to me about finding correct problem without Odroid-c2.
>
> But TIMEOUT is returned two locations.
>
> When i saw your previous log, i guess that it's below location.
>
> /* use 10s timeout */
> 	start = get_timer(0);
> 	do {
> 		status = meson_read(mmc, MESON_SD_EMMC_STATUS);
> 	} while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 10000);
>
> 	if (!(status & STATUS_END_OF_CHAIN))
> 		ret = -ETIMEDOUT;
> 	else if (status & STATUS_RESP_TIMEOUT)
> 		ret = -ETIMEDOUT;
> 	else if (status & STATUS_ERR_MASK)
> 		ret = -EIO;
>   
> To Workaround check, increase timeout value from 1000 to other value.
> And check which condition is hit, plz. likes below.
>
> 	do {
> 		status = meson_read(mmc, MESON_SD_EMMC_STATUS);
> 		printf("MESON EMMC status = %08x\n", status);
> 	} while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 1000000);
>
> 	if (!(status & STATUS_END_OF_CHAIN)) {
> 		printf("%s[%d]\n",__func__,__LINE__);
> 		ret = -ETIMEDOUT;
> 	} else if (status & STATUS_RESP_TIMEOUT) {
> 		printf("%s[%d]\n",__func__,__LINE__);
> 		ret = -ETIMEDOUT;
> 	} else if (status & STATUS_ERR_MASK)
> 		ret = -EIO;
>
> Sorry for not being able to help you much.
>
>
> Best Regards,
> Jaehoon Chung
>
>
>> Best regards
>> otto
>>
>>
>>
>>
>> Am 18.11.20 um 13:23 schrieb Jaehoon Chung:
>>> On 11/18/20 8:44 PM, Otto Meier wrote:
>>>> Hi,
>>>>
>>>> it is not a new issue, since u-boot 2020.07 this issue exists.
>>>> even by using the repo you mention the error exist.
>>> Yes, git repo doesn't matter. When i have checked, you are using almost latest u-boot. (commit 9324c9a823)
>>>
>>> If it's existed since 2020.07, it seems that relevant to below commit.
>>>
>>> commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>>> Author: Haibo Chen <haibo.chen@nxp.com>
>>> Date:?? Mon Jun 15 17:18:12 2020 +0800
>>>
>>>  ???? mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready
>>>
>>>  ???? According to eMMC specification v5.1 section 6.4.3, we should issue
>>>  ???? CMD1 repeatedly in the idle state until the eMMC is ready even if
>>>  ???? mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
>>>  ???? devices seems to enter the inactive mode after mmc_complete_op_cond()
>>>  ???? issued CMD0 when the eMMC device is busy.
>>>
>>>  ???? Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>>>  ???? Reviewed-by: Peng Fan <peng.fan@nxp.com>
>>>
>>> Could you check it?
>>>
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>>
>>>> I allways use : make odroid-c2_defconfig with no other config option set to build u-boot.
>>>>
>>>> Best regards
>>>>
>>>> Otto
>>>>
>>>> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>>>>> Hei hei,
>>>>>
>>>>> FWIW see below,
>>>>>
>>>>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>>>>> Dear Jaehoon Chung,
>>>>>>
>>>>>> I cloned github.com/u-boot which i believe is the master repo.
>>>>> That seems to be an up to date mirror. However, according to [1] and [2] the
>>>>> real upstream repository is here:
>>>>>
>>>>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>>>>
>>>>> Greets
>>>>> Alex
>>>>>
>>>>> [1] https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>>>>> [2] https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>>>>
>>>>>> I enabled CONFIG_MMC_TRACE and got following
>>>>>> response:
>>>>>>
>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>> TE: 308588
>>>>>> no sdio debug board detected
>>>>>>
>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>
>>>>>> Board ID = 8
>>>>>> set vcck to 1100 mv
>>>>>> set vddee to 1050 mv
>>>>>> CPU clk: 1536MHz
>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>> DataBus test pass!
>>>>>> AddrBus test pass!
>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>> 0x000000b0
>>>>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>>>>>> Sending bl30........................................OK.
>>>>>> Run bl30...
>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>> Wait bl30...Done
>>>>>> Sending bl301.......OK.
>>>>>> Run bl301...
>>>>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>
>>>>>>
>>>>>> --- UART initialized after reboot ---
>>>>>> [Reset cause: unknown]
>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>> tao.zeng at droid04]
>>>>>> bl30: check_permit, count is 1
>>>>>> bl30: check_permit: ok!
>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>> 0x0009e330
>>>>>>
>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>
>>>>>> [0.423714 Inits done]
>>>>>> secure task start!
>>>>>> high task start!
>>>>>> low task start!
>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>
>>>>>>
>>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>>>>>> odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>>>> No ethernet found.
>>>>>>
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x000001aa
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> Card did not respond to voltage select!
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x000001aa
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>>
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x00000000
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40000000
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> Card did not respond to voltage select!
>>>>>> MMC Device 2 not found
>>>>>> no mmc device at slot 2
>>>>>> starting USB...
>>>>>> Bus usb at c9100000: USB DWC2
>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>  ????????? scanning usb for storage devices... 0 Storage Device(s) found
>>>>>>
>>>>>>
>>>>>> Following you find a working boot from emmc:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>> TE: 303447
>>>>>> no sdio debug board detected
>>>>>>
>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>
>>>>>> Board ID = 8
>>>>>> set vcck to 1100 mv
>>>>>> set vddee to 1050 mv
>>>>>> CPU clk: 1536MHz
>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>> DataBus test pass!
>>>>>> AddrBus test pass!
>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>> Run bl30...
>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>> Wait bl30...Done
>>>>>> Sending bl301.......OK.
>>>>>> Run bl301...
>>>>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>
>>>>>>
>>>>>> --- UART initialized after reboot ---
>>>>>> [Reset cause: unknown]
>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>> bl30: check_permit: ok!
>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>> 0x0007da20
>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>
>>>>>> [0.418578 Inits done]
>>>>>> secure task start!
>>>>>> high task start!
>>>>>> low task start!
>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>
>>>>>>
>>>>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x000001aa
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> Card did not respond to voltage select!
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x000001aa
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:0
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>>  ?????????????????? ARG????????????????????? 0x40380080
>>>>>>  ?????????????????? MMC_RSP_R3,4???????????? 0xc0ff8080
>>>>>> CMD_SEND:2
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R2?????????????? 0x15010043
>>>>>>  ??????????????????????????????????????????? 0x4a544434
>>>>>>  ??????????????????????????????????????????? 0x52042550
>>>>>>  ??????????????????????????????????????????? 0xfa197700
>>>>>>
>>>>>>  ?????????????????????????????????????????? DUMPING DATA
>>>>>>  ?????????????????????????????????????????? 000 - 15 01 00 43
>>>>>>  ?????????????????????????????????????????? 004 - 4a 54 44 34
>>>>>>  ?????????????????????????????????????????? 008 - 52 04 25 50
>>>>>>  ?????????????????????????????????????????? 012 - fa 19 77 00
>>>>>> CMD_SEND:3
>>>>>>  ?????????????????? ARG????????????????????? 0x00010000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000500
>>>>>> CMD_SEND:9
>>>>>>  ?????????????????? ARG????????????????????? 0x00010000
>>>>>>  ?????????????????? MMC_RSP_R2?????????????? 0xd0270132
>>>>>>  ??????????????????????????????????????????? 0x0f5903ff
>>>>>>  ??????????????????????????????????????????? 0xf6dbffef
>>>>>>  ??????????????????????????????????????????? 0x8e404000
>>>>>>
>>>>>>  ?????????????????????????????????????????? DUMPING DATA
>>>>>>  ?????????????????????????????????????????? 000 - d0 27 01 32
>>>>>>  ?????????????????????????????????????????? 004 - 0f 59 03 ff
>>>>>>  ?????????????????????????????????????????? 008 - f6 db ff ef
>>>>>>  ?????????????????????????????????????????? 012 - 8e 40 40 00
>>>>>> CMD_SEND:7
>>>>>>  ?????????????????? ARG????????????????????? 0x00010000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000700
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:6
>>>>>>  ?????????????????? ARG????????????????????? 0x03b70200
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>>> CMD_SEND:13
>>>>>>  ?????????????????? ARG????????????????????? 0x00010000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CURR STATE:4
>>>>>> CMD_SEND:6
>>>>>>  ?????????????????? ARG????????????????????? 0x03b90100
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>>> CMD_SEND:13
>>>>>>  ?????????????????? ARG????????????????????? 0x00010000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CURR STATE:4
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:8
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> switch to partitions #0, OK
>>>>>> mmc1(part 0) is current device
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> Scanning mmc 1:1...
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>>  ?????????????????? ARG????????????????????? 0x00000800
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000844
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000868
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x00000804
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>>  ?????????????????? ARG????????????????????? 0x00000200
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>>  ?????????????????? ARG????????????????????? 0x0000086c
>>>>>>  ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>>  ?????????????????? ARG????????????????????? 0x00000000
>>>>>>  ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>>>>
>>>>>>
>>>>>> This is the output from mmc info command u-boot 2020.04
>>>>>>
>>>>>> => mmc info
>>>>>> Device: mmc at 74000
>>>>>> Manufacturer ID: 15
>>>>>> OEM: 100
>>>>>> Name: CJTD4
>>>>>> Bus Speed: 52000000
>>>>>> Mode: MMC High Speed (52MHz)
>>>>>> Rd Block Len: 512
>>>>>> MMC version 5.1
>>>>>> High Capacity: Yes
>>>>>> Capacity: 58.2 GiB
>>>>>> Bus Width: 8-bit
>>>>>> Erase Group Size: 512 KiB
>>>>>> HC WP Group Size: 8 MiB
>>>>>> User Capacity: 58.2 GiB WRREL
>>>>>> Boot Capacity: 4 MiB ENH
>>>>>> RPMB Capacity: 4 MiB ENH
>>>>>> =>
>>>>>>
>>>>>> Any Idea?
>>>>>>
>>>>>> best regards
>>>>>>
>>>>>> Otto
>>>>>>
>>>>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>>>>> Dear Otto,
>>>>>>>
>>>>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>>>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>>>>>> Which git repository did you use?
>>>>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>>>>
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Jaehoon Chung
>>>>>>>
>>>>>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>>>>
>>>>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>>>>
>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>> TE: 156394
>>>>>>>> no sdio debug board detected
>>>>>>>>
>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>
>>>>>>>> Board ID = 8
>>>>>>>> set vcck to 1100 mv
>>>>>>>> set vddee to 1050 mv
>>>>>>>> CPU clk: 1536MHz
>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>> DataBus test pass!
>>>>>>>> AddrBus test pass!
>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>>>> Run bl30...
>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>>>> Wait bl30...Done
>>>>>>>> Sending bl301.......OK.
>>>>>>>> Run bl301...
>>>>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>
>>>>>>>>
>>>>>>>> --- UART initialized after reboot ---
>>>>>>>> [Reset cause: unknown]
>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>>> bl30: check_permit: ok!
>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>>>> 0x0009e8f0>>
>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>
>>>>>>>> [0.271464 Inits done]
>>>>>>>> secure task start!
>>>>>>>> high task start!
>>>>>>>> low task start!
>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>
>>>>>>>>
>>>>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>>>>
>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>> DRAM:? 2 GiB
>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>> In:??? serial
>>>>>>>> Out:?? serial
>>>>>>>> Err:?? serial
>>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>> Card did not respond to voltage select!
>>>>>>>> Card did not respond to voltage select!
>>>>>>>> MMC Device 2 not found
>>>>>>>> no mmc device at slot 2
>>>>>>>> starting USB...
>>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>>
>>>>>>>>
>>>>>>>> Does anybody know how to fixes this breakage?
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>>
>>>>>>>> Otto
>>>>>
>>>>>
>>>>>
>>
>>
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-19 11:50               ` Jaehoon Chung
  2020-11-19 14:39                 ` Otto Meier
@ 2020-11-19 15:52                 ` Otto Meier
  2020-11-19 17:53                   ` Anand Moon
       [not found]                   ` <6c15eac0-62a2-0f89-8f60-0c8286059805@samsung.com>
  1 sibling, 2 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-19 15:52 UTC (permalink / raw)
  To: u-boot

Hi,

I have extended the previous post.



with these modifications i get:

U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 
+0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:? 2 GiB
MMC:?? mmc at 72000: 0, mmc at 74000: 1
In:??? serial
Out:?? serial
Err:?? serial
Net:?? Could not get PHY for ethernet at c9410000: addr -1
No ethernet found.

Hit any key to stop autoboot:? 0
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
Card did not respond to voltage select! : -110
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 00ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[226]
Card did not respond to voltage select! : -110
MMC Device 2 not found
no mmc device at slot 2
starting USB...

Hope this shed more light on the issue.

Following you find the output of 2020.04 with this mod.

and working reading off mmc info of the emmc

=> mmc dev 1
MESON EMMC status = c5ff0000
MESON EMMC status = c5ff0000
MESON EMMC status = c8ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = cdff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[206]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2800
meson_dm_mmc_send_cmd[206]
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = d9fe0000
MESON EMMC status = d9fe0000
MESON EMMC status = d9fe0000
MESON EMMC status = d9fe0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
MESON EMMC status = c5ff0000
MESON EMMC status = 01ff2000
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc info
Device: mmc at 74000
Manufacturer ID: 15
OEM: 100
Name: CJTD4
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 58.2 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 58.2 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH


Best regards

Am 19.11.20 um 12:50 schrieb Jaehoon Chung:
> Hi,
>
> On 11/19/20 12:54 AM, Otto Meier wrote:
>> Hi,
>>
>> i have reverted the commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>> and? set regulator-allways-on in meson-gxbb-odroidc2.dts.
>>
>> And i also applied "PATCH V2] mmc: display an error number to debug"
>> from list and disabled CONFIG_MMC_DEBUG
>>
>> after that i got the following result:
>>
>>
>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 16:38:40 
>> +0100) odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:? 2 GiB
>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>> In:??? serial
>> Out:?? serial
>> Err:?? serial
>> Net:?? eth0: ethernet at c9410000
>> Hit any key to stop autoboot:? 0
>> Card did not respond to voltage select! : -110
>> Card did not respond to voltage select! : -110
>> MMC Device 2 not found
>> no mmc device at slot 2
>> starting USB...
>> Bus usb at c9100000: USB DWC2
>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>> ?????? scanning usb for storage devices... 0 Storage Device(s) found
>>
>> Device 0: unknown device
>> Speed: 1000, full duplex
>> BOOTP broadcast 1
>> BOOTP broadcast 2
>> BOOTP broadcast 3
>> BOOTP broadcast 4
>> BOOTP broadcast 5
>> DHCP client bound to address 192.168.20.199 (3767 ms)
>> *** Warning: no boot file name; using 'C0A814C7.img'
>> Using ethernet at c9410000 device
>>
>> It Does not seem to have fixed it.? The above mentioned patch
>> prints ERROR 110.? I'm not able to bisect.
>> Perhaps if any other reason comes to mind. I will try and test it.
> I think your targets's status is something special. I'm not sure but 
> it seems that something is affected.
> Frankly, it's difficult to me about finding correct problem without 
> Odroid-c2.
>
> But TIMEOUT is returned two locations.
>
> When i saw your previous log, i guess that it's below location.
>
> /* use 10s timeout */
> start = get_timer(0);
> do {
> status = meson_read(mmc, MESON_SD_EMMC_STATUS);
> } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 10000);
>
> if (!(status & STATUS_END_OF_CHAIN))
> ret = -ETIMEDOUT;
> else if (status & STATUS_RESP_TIMEOUT)
> ret = -ETIMEDOUT;
> else if (status & STATUS_ERR_MASK)
> ret = -EIO;
> To Workaround check, increase timeout value from 1000 to other value.
> And check which condition is hit, plz. likes below.
>
> do {
> status = meson_read(mmc, MESON_SD_EMMC_STATUS);
> printf("MESON EMMC status = %08x\n", status);
> } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 1000000);
>
> if (!(status & STATUS_END_OF_CHAIN)) {
> printf("%s[%d]\n",__func__,__LINE__);
> ret = -ETIMEDOUT;
> } else if (status & STATUS_RESP_TIMEOUT) {
> printf("%s[%d]\n",__func__,__LINE__);
> ret = -ETIMEDOUT;
> } else if (status & STATUS_ERR_MASK)
> ret = -EIO;
>
> Sorry for not being able to help you much.
>
>
> Best Regards,
> Jaehoon Chung
>
>
>> Best regards
>> otto
>>
>>
>>
>>
>> Am 18.11.20 um 13:23 schrieb Jaehoon Chung:
>>> On 11/18/20 8:44 PM, Otto Meier wrote:
>>>> Hi,
>>>>
>>>> it is not a new issue, since u-boot 2020.07 this issue exists.
>>>> even by using the repo you mention the error exist.
>>> Yes, git repo doesn't matter. When i have checked, you are using 
>>> almost latest u-boot. (commit 9324c9a823)
>>>
>>> If it's existed since 2020.07, it seems that relevant to below commit.
>>>
>>> commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>>> Author: Haibo Chen <haibo.chen@nxp.com>
>>> Date:?? Mon Jun 15 17:18:12 2020 +0800
>>>
>>> ???? mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready
>>>
>>> ???? According to eMMC specification v5.1 section 6.4.3, we should issue
>>> ???? CMD1 repeatedly in the idle state until the eMMC is ready even if
>>> ???? mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
>>> ???? devices seems to enter the inactive mode after 
>>> mmc_complete_op_cond()
>>> ???? issued CMD0 when the eMMC device is busy.
>>>
>>> ???? Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>>> ???? Reviewed-by: Peng Fan <peng.fan@nxp.com>
>>>
>>> Could you check it?
>>>
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>>
>>>> I allways use : make odroid-c2_defconfig with no other config 
>>>> option set to build u-boot.
>>>>
>>>> Best regards
>>>>
>>>> Otto
>>>>
>>>> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>>>>> Hei hei,
>>>>>
>>>>> FWIW see below,
>>>>>
>>>>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>>>>> Dear Jaehoon Chung,
>>>>>>
>>>>>> I cloned github.com/u-boot which i believe is the master repo.
>>>>> That seems to be an up to date mirror. However, according to [1] 
>>>>> and [2] the
>>>>> real upstream repository is here:
>>>>>
>>>>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>>>>
>>>>> Greets
>>>>> Alex
>>>>>
>>>>> [1] 
>>>>> https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>>>>> [2] 
>>>>> https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>>>>
>>>>>> I enabled CONFIG_MMC_TRACE and got following
>>>>>> response:
>>>>>>
>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>> TE: 308588
>>>>>> no sdio debug board detected
>>>>>>
>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>
>>>>>> Board ID = 8
>>>>>> set vcck to 1100 mv
>>>>>> set vddee to 1050 mv
>>>>>> CPU clk: 1536MHz
>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>> DataBus test pass!
>>>>>> AddrBus test pass!
>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>> 0x000000b0
>>>>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 
>>>>>> 0x00009ef0
>>>>>> Sending bl30........................................OK.
>>>>>> Run bl30...
>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 
>>>>>> 0x000018c0
>>>>>> Wait bl30...Done
>>>>>> Sending bl301.......OK.
>>>>>> Run bl301...
>>>>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>
>>>>>>
>>>>>> --- UART initialized after reboot ---
>>>>>> [Reset cause: unknown]
>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>> tao.zeng at droid04]
>>>>>> bl30: check_permit, count is 1
>>>>>> bl30: check_permit: ok!
>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>> 0x0009e330
>>>>>>
>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>
>>>>>> [0.423714 Inits done]
>>>>>> secure task start!
>>>>>> high task start!
>>>>>> low task start!
>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>
>>>>>>
>>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>>>>>> odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>>>> No ethernet found.
>>>>>>
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> Card did not respond to voltage select!
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>>
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>>
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x00000000
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40000000
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> Card did not respond to voltage select!
>>>>>> MMC Device 2 not found
>>>>>> no mmc device at slot 2
>>>>>> starting USB...
>>>>>> Bus usb at c9100000: USB DWC2
>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>> ????????? scanning usb for storage devices... 0 Storage Device(s) 
>>>>>> found
>>>>>>
>>>>>>
>>>>>> Following you find a working boot from emmc:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>> TE: 303447
>>>>>> no sdio debug board detected
>>>>>>
>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>
>>>>>> Board ID = 8
>>>>>> set vcck to 1100 mv
>>>>>> set vddee to 1050 mv
>>>>>> CPU clk: 1536MHz
>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>> DataBus test pass!
>>>>>> AddrBus test pass!
>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, 
>>>>>> size:
>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>> Run bl30...
>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 
>>>>>> 0x000018c0
>>>>>> Wait bl30...Done
>>>>>> Sending bl301.......OK.
>>>>>> Run bl301...
>>>>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>
>>>>>>
>>>>>> --- UART initialized after reboot ---
>>>>>> [Reset cause: unknown]
>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>> bl30: check_permit: ok!
>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>> 0x0007da20
>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>
>>>>>> [0.418578 Inits done]
>>>>>> secure task start!
>>>>>> high task start!
>>>>>> low task start!
>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>
>>>>>>
>>>>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> Card did not respond to voltage select!
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x000001aa
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:55
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? RET????????????????????? -110
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:0
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_NONE
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>> CMD_SEND:1
>>>>>> ?????????????????? ARG????????????????????? 0x40380080
>>>>>> ?????????????????? MMC_RSP_R3,4???????????? 0xc0ff8080
>>>>>> CMD_SEND:2
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R2?????????????? 0x15010043
>>>>>> ??????????????????????????????????????????? 0x4a544434
>>>>>> ??????????????????????????????????????????? 0x52042550
>>>>>> ??????????????????????????????????????????? 0xfa197700
>>>>>>
>>>>>> ?????????????????????????????????????????? DUMPING DATA
>>>>>> ?????????????????????????????????????????? 000 - 15 01 00 43
>>>>>> ?????????????????????????????????????????? 004 - 4a 54 44 34
>>>>>> ?????????????????????????????????????????? 008 - 52 04 25 50
>>>>>> ?????????????????????????????????????????? 012 - fa 19 77 00
>>>>>> CMD_SEND:3
>>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000500
>>>>>> CMD_SEND:9
>>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>>> ?????????????????? MMC_RSP_R2?????????????? 0xd0270132
>>>>>> ??????????????????????????????????????????? 0x0f5903ff
>>>>>> ??????????????????????????????????????????? 0xf6dbffef
>>>>>> ??????????????????????????????????????????? 0x8e404000
>>>>>>
>>>>>> ?????????????????????????????????????????? DUMPING DATA
>>>>>> ?????????????????????????????????????????? 000 - d0 27 01 32
>>>>>> ?????????????????????????????????????????? 004 - 0f 59 03 ff
>>>>>> ?????????????????????????????????????????? 008 - f6 db ff ef
>>>>>> ?????????????????????????????????????????? 012 - 8e 40 40 00
>>>>>> CMD_SEND:7
>>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000700
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:6
>>>>>> ?????????????????? ARG????????????????????? 0x03b70200
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>>> CMD_SEND:13
>>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CURR STATE:4
>>>>>> CMD_SEND:6
>>>>>> ?????????????????? ARG????????????????????? 0x03b90100
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>>> CMD_SEND:13
>>>>>> ?????????????????? ARG????????????????????? 0x00010000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CURR STATE:4
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:8
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> switch to partitions #0, OK
>>>>>> mmc1(part 0) is current device
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> Scanning mmc 1:1...
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:17
>>>>>> ?????????????????? ARG????????????????????? 0x00000800
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000844
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000868
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x00000804
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> CMD_SEND:16
>>>>>> ?????????????????? ARG????????????????????? 0x00000200
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:18
>>>>>> ?????????????????? ARG????????????????????? 0x0000086c
>>>>>> ?????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>> CMD_SEND:12
>>>>>> ?????????????????? ARG????????????????????? 0x00000000
>>>>>> ?????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>>>>
>>>>>>
>>>>>> This is the output from mmc info command u-boot 2020.04
>>>>>>
>>>>>> => mmc info
>>>>>> Device: mmc at 74000
>>>>>> Manufacturer ID: 15
>>>>>> OEM: 100
>>>>>> Name: CJTD4
>>>>>> Bus Speed: 52000000
>>>>>> Mode: MMC High Speed (52MHz)
>>>>>> Rd Block Len: 512
>>>>>> MMC version 5.1
>>>>>> High Capacity: Yes
>>>>>> Capacity: 58.2 GiB
>>>>>> Bus Width: 8-bit
>>>>>> Erase Group Size: 512 KiB
>>>>>> HC WP Group Size: 8 MiB
>>>>>> User Capacity: 58.2 GiB WRREL
>>>>>> Boot Capacity: 4 MiB ENH
>>>>>> RPMB Capacity: 4 MiB ENH
>>>>>> =>
>>>>>>
>>>>>> Any Idea?
>>>>>>
>>>>>> best regards
>>>>>>
>>>>>> Otto
>>>>>>
>>>>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>>>>> Dear Otto,
>>>>>>>
>>>>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>>>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>>>>>> Which git repository did you use?
>>>>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>>>>
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Jaehoon Chung
>>>>>>>
>>>>>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>>>>
>>>>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>>>>
>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>> TE: 156394
>>>>>>>> no sdio debug board detected
>>>>>>>>
>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>
>>>>>>>> Board ID = 8
>>>>>>>> set vcck to 1100 mv
>>>>>>>> set vddee to 1050 mv
>>>>>>>> CPU clk: 1536MHz
>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>> DataBus test pass!
>>>>>>>> AddrBus test pass!
>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 
>>>>>>>> 0x01000000, size:
>>>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>>>> Run bl30...
>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 
>>>>>>>> 0x000018c0
>>>>>>>> Wait bl30...Done
>>>>>>>> Sending bl301.......OK.
>>>>>>>> Run bl301...
>>>>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>
>>>>>>>>
>>>>>>>> --- UART initialized after reboot ---
>>>>>>>> [Reset cause: unknown]
>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 
>>>>>>>> 09:24:14
>>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>>> bl30: check_permit: ok!
>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>>>> 0x0009e8f0>>
>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>
>>>>>>>> [0.271464 Inits done]
>>>>>>>> secure task start!
>>>>>>>> high task start!
>>>>>>>> low task start!
>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>
>>>>>>>>
>>>>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>>>>
>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>> DRAM:? 2 GiB
>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>> In:??? serial
>>>>>>>> Out:?? serial
>>>>>>>> Err:?? serial
>>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>> Card did not respond to voltage select!
>>>>>>>> Card did not respond to voltage select!
>>>>>>>> MMC Device 2 not found
>>>>>>>> no mmc device at slot 2
>>>>>>>> starting USB...
>>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>>
>>>>>>>>
>>>>>>>> Does anybody know how to fixes this breakage?
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>>
>>>>>>>> Otto
>>>>>
>>>>>
>>>>>
>>
>>
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-19 15:52                 ` Otto Meier
@ 2020-11-19 17:53                   ` Anand Moon
  2020-11-20 13:48                     ` Otto Meier
       [not found]                   ` <6c15eac0-62a2-0f89-8f60-0c8286059805@samsung.com>
  1 sibling, 1 reply; 19+ messages in thread
From: Anand Moon @ 2020-11-19 17:53 UTC (permalink / raw)
  To: u-boot

Hi Otto,

On Thu, 19 Nov 2020 at 21:23, Otto Meier <gf435@gmx.net> wrote:
>
> Hi,
>
> I have extended the previous post.
>
>
>
> with these modifications i get:
>
> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00
> +0100) odroid-c2
>
> Model: Hardkernel ODROID-C2
> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:  2 GiB
> MMC:   mmc at 72000: 0, mmc at 74000: 1
> In:    serial
> Out:   serial
> Err:   serial
> Net:   Could not get PHY for ethernet at c9410000: addr -1
> No ethernet found.
>
> Hit any key to stop autoboot:  0
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> Card did not respond to voltage select! : -110
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 00ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> Card did not respond to voltage select! : -110
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
>
> Hope this shed more light on the issue.
>
> Following you find the output of 2020.04 with this mod.
>
> and working reading off mmc info of the emmc
>
> => mmc dev 1
> MESON EMMC status = c5ff0000
> MESON EMMC status = c5ff0000
> MESON EMMC status = c8ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[206]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[206]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = d9fe0000
> MESON EMMC status = d9fe0000
> MESON EMMC status = d9fe0000
> MESON EMMC status = d9fe0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> switch to partitions #0, OK
> mmc1(part 0) is current device
> => mmc info
> Device: mmc at 74000
> Manufacturer ID: 15
> OEM: 100
> Name: CJTD4
> Bus Speed: 52000000
> Mode: MMC High Speed (52MHz)
> Rd Block Len: 512
> MMC version 5.1
> High Capacity: Yes
> Capacity: 58.2 GiB
> Bus Width: 8-bit
> Erase Group Size: 512 KiB
> HC WP Group Size: 8 MiB
> User Capacity: 58.2 GiB WRREL
> Boot Capacity: 4 MiB ENH
> RPMB Capacity: 4 MiB ENH
>
>
> Best regards
>
[...]

At my end u-boot 2020.04 was long broken for emmc,
hope latest emmc changes should fix them all as of now.

Following information for flashing u-boot images for eMMC and sd_card.
# Binaries should be available in fip directory :
fip/
 | ...
 |------ u-boot.bin (for eMMC)
 |------ u-boot.bin.sd.bin (for SDCard)

[0] https://github.com/BayLibre/u-boot/tree/readme#install-on-emmc

There are two images in fip dir, hope you are flashing the correct
image to emmc.
I do the flash of u-boot images using the script below.

$ cat flash.sh
FILEB=/dev/mmcblk0boot0
DEV=/dev/mmcblk0

if [ -b "$FILEB" ]; then
        echo "eMMC module flashing........."
        sudo dd if=fip/u-boot.bin of=$DEV conv=fsync,notrunc bs=512 seek=1
else
        echo "microSD module flashing........."
        sudo dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc
bs=512 skip=1 seek=1
        sudo dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc
bs=1 count=444
fi

Best Regards
-Anand

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-19 17:53                   ` Anand Moon
@ 2020-11-20 13:48                     ` Otto Meier
  0 siblings, 0 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-20 13:48 UTC (permalink / raw)
  To: u-boot

Hi Anand,

Am 19.11.20 um 18:53 schrieb Anand Moon:
> Hi Otto,
> 
> On Thu, 19 Nov 2020 at 21:23, Otto Meier <gf435@gmx.net> wrote:
>>
>> Hi,
>>
>> I have extended the previous post.
>>
>>
>>
>> with these modifications i get:
>>
>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00
>> +0100) odroid-c2
>>
>> Model: Hardkernel ODROID-C2
>> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>> DRAM:  2 GiB
>> MMC:   mmc at 72000: 0, mmc at 74000: 1
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   Could not get PHY for ethernet at c9410000: addr -1
>> No ethernet found.
>>
>> Hit any key to stop autoboot:  0
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = cdff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = cdff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[226]
>> Card did not respond to voltage select! : -110
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = cdff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 00ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[226]
>> Card did not respond to voltage select! : -110
>> MMC Device 2 not found
>> no mmc device at slot 2
>> starting USB...
>>
>> Hope this shed more light on the issue.
>>
>> Following you find the output of 2020.04 with this mod.
>>
>> and working reading off mmc info of the emmc
>>
>> => mmc dev 1
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = c8ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = cdff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[206]
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2800
>> meson_dm_mmc_send_cmd[206]
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = d9fe0000
>> MESON EMMC status = d9fe0000
>> MESON EMMC status = d9fe0000
>> MESON EMMC status = d9fe0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> MESON EMMC status = c5ff0000
>> MESON EMMC status = 01ff2000
>> switch to partitions #0, OK
>> mmc1(part 0) is current device
>> => mmc info
>> Device: mmc at 74000
>> Manufacturer ID: 15
>> OEM: 100
>> Name: CJTD4
>> Bus Speed: 52000000
>> Mode: MMC High Speed (52MHz)
>> Rd Block Len: 512
>> MMC version 5.1
>> High Capacity: Yes
>> Capacity: 58.2 GiB
>> Bus Width: 8-bit
>> Erase Group Size: 512 KiB
>> HC WP Group Size: 8 MiB
>> User Capacity: 58.2 GiB WRREL
>> Boot Capacity: 4 MiB ENH
>> RPMB Capacity: 4 MiB ENH
>>
>>
>> Best regards
>>
> [...]
> 
> At my end u-boot 2020.04 was long broken for emmc,
> hope latest emmc changes should fix them all as of now.
> 
> Following information for flashing u-boot images for eMMC and sd_card.
> # Binaries should be available in fip directory :
> fip/
>   | ...
>   |------ u-boot.bin (for eMMC)
>   |------ u-boot.bin.sd.bin (for SDCard)
> 
> [0] https://github.com/BayLibre/u-boot/tree/readme#install-on-emmc
> 
> There are two images in fip dir, hope you are flashing the correct
> image to emmc.
> I do the flash of u-boot images using the script below.
> 
> $ cat flash.sh
> FILEB=/dev/mmcblk0boot0
> DEV=/dev/mmcblk0
> 
> if [ -b "$FILEB" ]; then
>          echo "eMMC module flashing........."
>          sudo dd if=fip/u-boot.bin of=$DEV conv=fsync,notrunc bs=512 seek=1
> else
>          echo "microSD module flashing........."
>          sudo dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc
> bs=512 skip=1 seek=1
>          sudo dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc
> bs=1 count=444
> fi
> 
> Best Regards
> -Anand
> 
i created the u-boot by

make odroid-c2_defconfig
make -j4

and generated a flashable file according to : doc/board/amlogic/odroid-c2.rst.
this is a little bit different as for the libreelec-cc board. The process doesn't
genarate a u-boot.bin.sd.bin file only a u-boot.gxbb file. This file i flashed according
to the instructions of odroid-c2.rst.

You mention "last emmc changes" what does that mean?

best regards

Otto

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-19 14:39                 ` Otto Meier
@ 2020-11-26  3:13                   ` Jaehoon Chung
  2020-11-26 10:51                     ` Otto Meier
  0 siblings, 1 reply; 19+ messages in thread
From: Jaehoon Chung @ 2020-11-26  3:13 UTC (permalink / raw)
  To: u-boot

Hi,

On 11/19/20 11:39 PM, Otto Meier wrote:
> Hi,
> 
> with?these?modifications?i?get:
> 
> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 +0100)?odroid-c2
> 
> Model:?Hardkernel?ODROID-C2
> SoC:???Amlogic?Meson?GXBB?(S905)?Revision?1f:c?(0:1)
> DRAM:??2?GiB
> MMC:???mmc at 72000:?0,?mmc at 74000:?1
> In:????serial
> Out:???serial
> Err:???serial
> Net:???Could?not?get?PHY?for?ethernet at c9410000:?addr?-1
> No?ethernet?found.
> 
> Hit?any?key?to?stop?autoboot:??0
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2000
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?cdff0000
> MESON?EMMC?status?=?01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2000
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?cdff0000
> MESON?EMMC?status?=?01ff2800
> meson_dm_mmc_send_cmd[226]
> Card?did?not?respond?to?voltage?select!?:?-110
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2000
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?cdff0000
> MESON?EMMC?status?=?01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2000
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?00ff2000
> MESON?EMMC?status?=?c5ff0000
> MESON?EMMC?status?=?01ff2800
> meson_dm_mmc_send_cmd[226]
> Card?did?not?respond?to?voltage?select!?:?-110
> MMC?Device?2?not?found
> no?mmc?device?at?slot?2
> starting?USB...
> 
> Hope?this?shed?more?light?on?the?issue.

Sorry for late. Did you check more? or Is its status same?
If my understanding is correct, it seems that it's working fine with SD-card, right?
When i have checked its register value, resp timeout bit[11] is set. Adnd Bus_fsm is 1100.
I don't know what mean bus_fsm(0x1100)..
According to my understanding, resp_timeout value can be increased with cmd's argument.
Current u-boot is set to 4s. but maximum timeout value is 32.768s.

But i don't think that it's not affected with your target.. Because you mentioned that v2020.04 u-boot is working.
So i'm checking what is different to u-boot v2020.04.

Best Regards,
Jaehoon Chung

> 
> Best?regards
> 
> Am?19.11.20?um?12:50?schrieb?Jaehoon?Chung:
>> Hi, 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
  2020-11-26  3:13                   ` Jaehoon Chung
@ 2020-11-26 10:51                     ` Otto Meier
  0 siblings, 0 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-26 10:51 UTC (permalink / raw)
  To: u-boot

Hi



Am 26.11.20 um 04:13 schrieb Jaehoon Chung:
> Hi,
> 
> On 11/19/20 11:39 PM, Otto Meier wrote:
>> Hi,
>>
>> with?these?modifications?i?get:
>>
>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 +0100)?odroid-c2
>>
>> Model:?Hardkernel?ODROID-C2
>> SoC:???Amlogic?Meson?GXBB?(S905)?Revision?1f:c?(0:1)
>> DRAM:??2?GiB
>> MMC:???mmc at 72000:?0,?mmc at 74000:?1
>> In:????serial
>> Out:???serial
>> Err:???serial
>> Net:???Could?not?get?PHY?for?ethernet at c9410000:?addr?-1
>> No?ethernet?found.
>>
>> Hit?any?key?to?stop?autoboot:??0
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2000
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?cdff0000
>> MESON?EMMC?status?=?01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2000
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?cdff0000
>> MESON?EMMC?status?=?01ff2800
>> meson_dm_mmc_send_cmd[226]
>> Card?did?not?respond?to?voltage?select!?:?-110
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2000
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?cdff0000
>> MESON?EMMC?status?=?01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2800
>> meson_dm_mmc_send_cmd[226]
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2000
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?00ff2000
>> MESON?EMMC?status?=?c5ff0000
>> MESON?EMMC?status?=?01ff2800
>> meson_dm_mmc_send_cmd[226]
>> Card?did?not?respond?to?voltage?select!?:?-110
>> MMC?Device?2?not?found
>> no?mmc?device?at?slot?2
>> starting?USB...
>>
>> Hope?this?shed?more?light?on?the?issue.
> 
> Sorry for late. Did you check more? or Is its status same?
> If my understanding is correct, it seems that it's working fine with SD-card, right?
> When i have checked its register value, resp timeout bit[11] is set. Adnd Bus_fsm is 1100.
> I don't know what mean bus_fsm(0x1100)..
> According to my understanding, resp_timeout value can be increased with cmd's argument.
> Current u-boot is set to 4s. but maximum timeout value is 32.768s.
> 
> But i don't think that it's not affected with your target.. Because you mentioned that v2020.04 u-boot is working.
> So i'm checking what is different to u-boot v2020.04.
> 
> Best Regards,
> Jaehoon Chung
> 
>>
>> Best?regards
>>
>> Am?19.11.20?um?12:50?schrieb?Jaehoon?Chung:
>>> Hi,
> 
> 
Yes i have tried different things: i have tried uboot-2020.07, 2020.10 all do not work. SO
it started with 2020.07. A diff between 2020.04 and 2020.07 in meson_gx_mmc.c gives
the following don?t know if it shows some point.

--- u-boot-2020.04/drivers/mmc/meson_gx_mmc.c   2020-11-21 20:42:01.768860866 +0100
+++ u-boot-2020.07/drivers/mmc/meson_gx_mmc.c   2020-07-06 21:22:53.000000000 +0200
@@ -4,6 +4,7 @@
   */
  
  #include <common.h>
+#include <clk.h>
  #include <cpu_func.h>
  #include <dm.h>
  #include <fdtdec.h>
@@ -13,6 +14,7 @@
  #include <asm/io.h>
  #include <asm/gpio.h>
  #include <asm/arch/sd_emmc.h>
+#include <linux/delay.h>
  #include <linux/log2.h>
  
  static inline void *get_regbase(const struct mmc *mmc)
@@ -198,7 +200,7 @@
                 status = meson_read(mmc, MESON_SD_EMMC_STATUS);
         } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 10000);
  
-       if (!(status & STATUS_END_OF_CHAIN))
+       if (!(status & STATUS_END_OF_CHAIN))
                 ret = -ETIMEDOUT;
         else if (status & STATUS_RESP_TIMEOUT)
                 ret = -ETIMEDOUT;
@@ -241,12 +243,23 @@
         struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev);
         struct mmc *mmc = &pdata->mmc;
         struct mmc_config *cfg = &pdata->cfg;
+       struct clk_bulk clocks;
         uint32_t val;
+       int ret;
+
  #ifdef CONFIG_PWRSEQ
         struct udevice *pwr_dev;
-       int ret;
  #endif
  
+       /* Enable the clocks feeding the MMC controller */
+       ret = clk_get_bulk(dev, &clocks);
+       if (ret)
+               return ret;
+
+       ret = clk_enable_bulk(&clocks);
+       if (ret)
+               return ret;
+
         cfg->voltages = MMC_VDD_33_34 | MMC_VDD_32_33 |
                         MMC_VDD_31_32 | MMC_VDD_165_195;
         cfg->host_caps = MMC_MODE_8BIT | MMC_MODE_4BIT |

---------------------------------

SD Card is working, i can boot to u-boot command line , insert
an SD card and get with u-Boot git:

U-Boot 2021.01-rc2-00136-gd361eafe82-dirty (Nov 24 2020 - 16:23:10 +0100) odroid-c2

Model: Hardkernel ODROID-C2
SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
DRAM:  2 GiB
MMC:   mmc at 72000: 0, mmc at 74000: 1
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at c9410000
Hit any key to stop autoboot:  0

only with emmc i get :

=> mmc info
Card did not respond to voltage select!
=> mmc dev 1
Card did not respond to voltage select!

after inserting SD Card i get:

=> mmc info
Device: mmc at 72000
Manufacturer ID: 74
OEM: 4a60
Name: USDU1
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 119.1 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
=> mmc dev 1
Card did not respond to voltage select!
=> mmc list
mmc at 72000: 0 (SD)
mmc at 74000: 1
=>


Any Idea where i can help further?

Best Regards

Otto

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
       [not found]                       ` <53ef94fd-2573-0cfa-5f98-3aa093d7fb27@samsung.com>
@ 2020-11-26 13:46                         ` Otto Meier
  2020-11-27 16:15                         ` Otto Meier
  1 sibling, 0 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-26 13:46 UTC (permalink / raw)
  To: u-boot


Hi,

I bisected it and this is the result:

dd5f2351e99aad8fcbedbc1305b8b51b09952336 is the first bad commit
commit dd5f2351e99aad8fcbedbc1305b8b51b09952336
Author: Jerome Brunet <jbrunet@baylibre.com>
Date:   Thu Mar 5 12:12:38 2020 +0100

     arm64: dts: meson: sync dt and bindings from v5.6-rc2
     
     Sync the device tree and dt-bindings from Linux v5.6-rc2
     11a48a5a18c6 ("Linux 5.6-rc2")
     
     The only exception to this is the mmc pinctrl pin bias of gxl SoC family.
     This is a fix which found its way to u-boot but not Linux yet.
     
     Acked-by: Neil Armstrong <narmstrong@baylibre.com>
     Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
     Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

  arch/arm/dts/meson-axg-s400.dts                    |  70 ++-
  arch/arm/dts/meson-axg.dtsi                        | 273 ++++++++++--
  arch/arm/dts/meson-g12-common.dtsi                 | 478 +++++++--------------
  arch/arm/dts/meson-g12.dtsi                        | 398 +++++++++++++++++
  arch/arm/dts/meson-g12a-sei510.dts                 |  64 +++
  arch/arm/dts/meson-g12a-u200.dts                   |  54 +++
  arch/arm/dts/meson-g12a.dtsi                       |  33 +-
  arch/arm/dts/meson-g12b-a311d-khadas-vim3.dts      |  25 ++
  arch/arm/dts/meson-g12b-odroid-n2.dts              |   2 +-
  arch/arm/dts/meson-g12b.dtsi                       |  26 +-
  arch/arm/dts/meson-gx.dtsi                         |  87 +++-
  arch/arm/dts/meson-gxbb-nanopi-k2.dts              |  26 +-
  arch/arm/dts/meson-gxbb-odroidc2.dts               | 100 ++++-
  arch/arm/dts/meson-gxbb-p200.dts                   |   9 +-
  arch/arm/dts/meson-gxbb-p201.dts                   |   2 +-
  arch/arm/dts/meson-gxbb-p20x.dtsi                  |   9 +-
  arch/arm/dts/meson-gxbb.dtsi                       | 118 ++++-
  arch/arm/dts/meson-gxl-s805x-libretech-ac.dts      |   2 +-
  arch/arm/dts/meson-gxl-s905x-khadas-vim.dts        |  20 +-
  arch/arm/dts/meson-gxl-s905x-libretech-cc.dts      |  26 +-
  arch/arm/dts/meson-gxl-s905x-p212.dtsi             |  10 +-
  arch/arm/dts/meson-gxl.dtsi                        |  76 +++-
  arch/arm/dts/meson-gxm-khadas-vim2.dts             |  71 +--
  arch/arm/dts/meson-gxm.dtsi                        |  39 +-
  arch/arm/dts/meson-khadas-vim3.dtsi                |   7 +
  arch/arm/dts/meson-sm1-sei610.dts                  | 236 +++++++++-
  arch/arm/dts/meson-sm1.dtsi                        | 356 +++++++++++++++
  include/dt-bindings/clock/axg-audio-clkc.h         |  10 +
  include/dt-bindings/clock/gxbb-aoclkc.h            |   7 +
  include/dt-bindings/clock/gxbb-clkc.h              |  21 +
  include/dt-bindings/gpio/meson-gxbb-gpio.h         |   8 +-
  include/dt-bindings/gpio/meson-gxl-gpio.h          |   8 +-
  .../reset/amlogic,meson-axg-audio-arb.h            |   2 +
  .../dt-bindings/reset/amlogic,meson-axg-reset.h    |   3 +-
  .../reset/amlogic,meson-g12a-audio-reset.h         |  15 +
  .../dt-bindings/reset/amlogic,meson-gxbb-reset.h   |  51 +--
  36 files changed, 2119 insertions(+), 623 deletions(-)
  create mode 100644 arch/arm/dts/meson-g12.dtsi

Hope this helps

Best Regards

Otto



Am 26.11.20 um 12:46 schrieb Jaehoon Chung:
> Hi,
> 
> On 11/26/20 8:26 PM, Otto Meier wrote:
>> Hi Jaehoon,
>>
>> no i did not run git bisect. I don't know how to
>> process this. Could you guide me?
> 
> You can see usage with "$git bisect --help"
> 
> You mentioned v2020.07 doesn't work fine. then checkout v2020.07
> 
> git checkout v2020.07
> git bisect start
> git bisect bad
> git bisect good v2020.04
> 
> 1) build odroid-c2
> 2) check whether it's working fine or not.
> 2-1) if not work, $git bisect bad
> 2-2) if work fine, $git bisect good
> 
> Repeat to do above sequence until find commit. (maybe you can find what commit is problem.)
> 
> 
> Best Regards,
> Jaehoon Chung
> 
>>
>> best regards Otto
>>
>>
>> Am 26.11.20 um 12:11 schrieb Jaehoon Chung:
>>> Hi Otto,
>>>
>>> Sorry for sending personally.
>>> Did you try to run "git bisect" ?
>>>
>>>
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>>
>>>
>>> On 11/20/20 12:52 AM, Otto Meier wrote:
>>>> Hi,
>>>>
>>>> I have extended the previous post.
>>>>
>>>>
>>>>
>>>> with these modifications i get:
>>>>
>>>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 +0100) odroid-c2
>>>>
>>>> Model: Hardkernel ODROID-C2
>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>> DRAM:? 2 GiB
>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>> In:??? serial
>>>> Out:?? serial
>>>> Err:?? serial
>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>> No ethernet found.
>>>>
>>>> Hit any key to stop autoboot:? 0
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> Card did not respond to voltage select! : -110
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 00ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> Card did not respond to voltage select! : -110
>>>> MMC Device 2 not found
>>>> no mmc device at slot 2
>>>> starting USB...
>>>>
>>>> Hope this shed more light on the issue.
>>>>
>>>> Following you find the output of 2020.04 with this mod.
>>>>
>>>> and working reading off mmc info of the emmc
>>>>
>>>> => mmc dev 1
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = c8ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[206]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[206]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> switch to partitions #0, OK
>>>> mmc1(part 0) is current device
>>>> => mmc info
>>>> Device: mmc at 74000
>>>> Manufacturer ID: 15
>>>> OEM: 100
>>>> Name: CJTD4
>>>> Bus Speed: 52000000
>>>> Mode: MMC High Speed (52MHz)
>>>> Rd Block Len: 512
>>>> MMC version 5.1
>>>> High Capacity: Yes
>>>> Capacity: 58.2 GiB
>>>> Bus Width: 8-bit
>>>> Erase Group Size: 512 KiB
>>>> HC WP Group Size: 8 MiB
>>>> User Capacity: 58.2 GiB WRREL
>>>> Boot Capacity: 4 MiB ENH
>>>> RPMB Capacity: 4 MiB ENH
>>>>
>>>>
>>>> Best regards
>>>>
>>>> Am 19.11.20 um 12:50 schrieb Jaehoon Chung:
>>>>> Hi,
>>>>>
>>>>> On 11/19/20 12:54 AM, Otto Meier wrote:
>>>>>> Hi,
>>>>>>
>>>>>> i have reverted the commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>>>>>> and? set regulator-allways-on in meson-gxbb-odroidc2.dts.
>>>>>>
>>>>>> And i also applied "PATCH V2] mmc: display an error number to debug"
>>>>>> from list and disabled CONFIG_MMC_DEBUG
>>>>>>
>>>>>> after that i got the following result:
>>>>>>
>>>>>>
>>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 16:38:40 +0100) odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> Card did not respond to voltage select! : -110
>>>>>> Card did not respond to voltage select! : -110
>>>>>> MMC Device 2 not found
>>>>>> no mmc device at slot 2
>>>>>> starting USB...
>>>>>> Bus usb at c9100000: USB DWC2
>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>  ??????? scanning usb for storage devices... 0 Storage Device(s) found
>>>>>>
>>>>>> Device 0: unknown device
>>>>>> Speed: 1000, full duplex
>>>>>> BOOTP broadcast 1
>>>>>> BOOTP broadcast 2
>>>>>> BOOTP broadcast 3
>>>>>> BOOTP broadcast 4
>>>>>> BOOTP broadcast 5
>>>>>> DHCP client bound to address 192.168.20.199 (3767 ms)
>>>>>> *** Warning: no boot file name; using 'C0A814C7.img'
>>>>>> Using ethernet at c9410000 device
>>>>>>
>>>>>> It Does not seem to have fixed it.? The above mentioned patch
>>>>>> prints ERROR 110.? I'm not able to bisect.
>>>>>> Perhaps if any other reason comes to mind. I will try and test it.
>>>>> I think your targets's status is something special. I'm not sure but it seems that something is affected.
>>>>> Frankly, it's difficult to me about finding correct problem without Odroid-c2.
>>>>>
>>>>> But TIMEOUT is returned two locations.
>>>>>
>>>>> When i saw your previous log, i guess that it's below location.
>>>>>
>>>>> /* use 10s timeout */
>>>>> start = get_timer(0);
>>>>> do {
>>>>> status = meson_read(mmc, MESON_SD_EMMC_STATUS);
>>>>> } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 10000);
>>>>>
>>>>> if (!(status & STATUS_END_OF_CHAIN))
>>>>> ret = -ETIMEDOUT;
>>>>> else if (status & STATUS_RESP_TIMEOUT)
>>>>> ret = -ETIMEDOUT;
>>>>> else if (status & STATUS_ERR_MASK)
>>>>> ret = -EIO;
>>>>> To Workaround check, increase timeout value from 1000 to other value.
>>>>> And check which condition is hit, plz. likes below.
>>>>>
>>>>> do {
>>>>> status = meson_read(mmc, MESON_SD_EMMC_STATUS);
>>>>> printf("MESON EMMC status = %08x\n", status);
>>>>> } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 1000000);
>>>>>
>>>>> if (!(status & STATUS_END_OF_CHAIN)) {
>>>>> printf("%s[%d]\n",__func__,__LINE__);
>>>>> ret = -ETIMEDOUT;
>>>>> } else if (status & STATUS_RESP_TIMEOUT) {
>>>>> printf("%s[%d]\n",__func__,__LINE__);
>>>>> ret = -ETIMEDOUT;
>>>>> } else if (status & STATUS_ERR_MASK)
>>>>> ret = -EIO;
>>>>>
>>>>> Sorry for not being able to help you much.
>>>>>
>>>>>
>>>>> Best Regards,
>>>>> Jaehoon Chung
>>>>>
>>>>>
>>>>>> Best regards
>>>>>> otto
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 18.11.20 um 13:23 schrieb Jaehoon Chung:
>>>>>>> On 11/18/20 8:44 PM, Otto Meier wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> it is not a new issue, since u-boot 2020.07 this issue exists.
>>>>>>>> even by using the repo you mention the error exist.
>>>>>>> Yes, git repo doesn't matter. When i have checked, you are using almost latest u-boot. (commit 9324c9a823)
>>>>>>>
>>>>>>> If it's existed since 2020.07, it seems that relevant to below commit.
>>>>>>>
>>>>>>> commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>>>>>>> Author: Haibo Chen <haibo.chen@nxp.com>
>>>>>>> Date:?? Mon Jun 15 17:18:12 2020 +0800
>>>>>>>
>>>>>>>  ????? mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready
>>>>>>>
>>>>>>>  ????? According to eMMC specification v5.1 section 6.4.3, we should issue
>>>>>>>  ????? CMD1 repeatedly in the idle state until the eMMC is ready even if
>>>>>>>  ????? mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
>>>>>>>  ????? devices seems to enter the inactive mode after mmc_complete_op_cond()
>>>>>>>  ????? issued CMD0 when the eMMC device is busy.
>>>>>>>
>>>>>>>  ????? Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>>>>>>>  ????? Reviewed-by: Peng Fan <peng.fan@nxp.com>
>>>>>>>
>>>>>>> Could you check it?
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Jaehoon Chung
>>>>>>>
>>>>>>>
>>>>>>>> I allways use : make odroid-c2_defconfig with no other config option set to build u-boot.
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>>
>>>>>>>> Otto
>>>>>>>>
>>>>>>>> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>>>>>>>>> Hei hei,
>>>>>>>>>
>>>>>>>>> FWIW see below,
>>>>>>>>>
>>>>>>>>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>>>>>>>>> Dear Jaehoon Chung,
>>>>>>>>>>
>>>>>>>>>> I cloned github.com/u-boot which i believe is the master repo.
>>>>>>>>> That seems to be an up to date mirror. However, according to [1] and [2] the
>>>>>>>>> real upstream repository is here:
>>>>>>>>>
>>>>>>>>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>>>>>>>>
>>>>>>>>> Greets
>>>>>>>>> Alex
>>>>>>>>>
>>>>>>>>> [1] https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>>>>>>>>> [2] https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>>>>>>>>
>>>>>>>>>> I enabled CONFIG_MMC_TRACE and got following
>>>>>>>>>> response:
>>>>>>>>>>
>>>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>>>> TE: 308588
>>>>>>>>>> no sdio debug board detected
>>>>>>>>>>
>>>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>>>
>>>>>>>>>> Board ID = 8
>>>>>>>>>> set vcck to 1100 mv
>>>>>>>>>> set vddee to 1050 mv
>>>>>>>>>> CPU clk: 1536MHz
>>>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>>>> DataBus test pass!
>>>>>>>>>> AddrBus test pass!
>>>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>>>>>> 0x000000b0
>>>>>>>>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
>>>>>>>>>> Sending bl30........................................OK.
>>>>>>>>>> Run bl30...
>>>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>>>>>> Wait bl30...Done
>>>>>>>>>> Sending bl301.......OK.
>>>>>>>>>> Run bl301...
>>>>>>>>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --- UART initialized after reboot ---
>>>>>>>>>> [Reset cause: unknown]
>>>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>>>>>> tao.zeng at droid04]
>>>>>>>>>> bl30: check_permit, count is 1
>>>>>>>>>> bl30: check_permit: ok!
>>>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>>>>>> 0x0009e330
>>>>>>>>>>
>>>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>>>
>>>>>>>>>> [0.423714 Inits done]
>>>>>>>>>> secure task start!
>>>>>>>>>> high task start!
>>>>>>>>>> low task start!
>>>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 +0100)
>>>>>>>>>> odroid-c2
>>>>>>>>>>
>>>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>>>> DRAM:? 2 GiB
>>>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>>>> In:??? serial
>>>>>>>>>> Out:?? serial
>>>>>>>>>> Err:?? serial
>>>>>>>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>>>>>>>> No ethernet found.
>>>>>>>>>>
>>>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x000001aa
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x000001aa
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>>
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x00000000
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40000000
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>> MMC Device 2 not found
>>>>>>>>>> no mmc device at slot 2
>>>>>>>>>> starting USB...
>>>>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>>>>  ?????????? scanning usb for storage devices... 0 Storage Device(s) found
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Following you find a working boot from emmc:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>>>> TE: 303447
>>>>>>>>>> no sdio debug board detected
>>>>>>>>>>
>>>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>>>
>>>>>>>>>> Board ID = 8
>>>>>>>>>> set vcck to 1100 mv
>>>>>>>>>> set vddee to 1050 mv
>>>>>>>>>> CPU clk: 1536MHz
>>>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>>>> DataBus test pass!
>>>>>>>>>> AddrBus test pass!
>>>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>>>>>> Run bl30...
>>>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>>>>>> Wait bl30...Done
>>>>>>>>>> Sending bl301.......OK.
>>>>>>>>>> Run bl301...
>>>>>>>>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --- UART initialized after reboot ---
>>>>>>>>>> [Reset cause: unknown]
>>>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>>>>> bl30: check_permit: ok!
>>>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>>>>>> 0x0007da20
>>>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>>>
>>>>>>>>>> [0.418578 Inits done]
>>>>>>>>>> secure task start!
>>>>>>>>>> high task start!
>>>>>>>>>> low task start!
>>>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>>>>>>>>
>>>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>>>> DRAM:? 2 GiB
>>>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>>>> In:??? serial
>>>>>>>>>> Out:?? serial
>>>>>>>>>> Err:?? serial
>>>>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x000001aa
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x000001aa
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? RET????????????????????? -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x40380080
>>>>>>>>>>  ??????????????????? MMC_RSP_R3,4???????????? 0xc0ff8080
>>>>>>>>>> CMD_SEND:2
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R2?????????????? 0x15010043
>>>>>>>>>>  ???????????????????????????????????????????? 0x4a544434
>>>>>>>>>>  ???????????????????????????????????????????? 0x52042550
>>>>>>>>>>  ???????????????????????????????????????????? 0xfa197700
>>>>>>>>>>
>>>>>>>>>>  ??????????????????????????????????????????? DUMPING DATA
>>>>>>>>>>  ??????????????????????????????????????????? 000 - 15 01 00 43
>>>>>>>>>>  ??????????????????????????????????????????? 004 - 4a 54 44 34
>>>>>>>>>>  ??????????????????????????????????????????? 008 - 52 04 25 50
>>>>>>>>>>  ??????????????????????????????????????????? 012 - fa 19 77 00
>>>>>>>>>> CMD_SEND:3
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00010000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000500
>>>>>>>>>> CMD_SEND:9
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00010000
>>>>>>>>>>  ??????????????????? MMC_RSP_R2?????????????? 0xd0270132
>>>>>>>>>>  ???????????????????????????????????????????? 0x0f5903ff
>>>>>>>>>>  ???????????????????????????????????????????? 0xf6dbffef
>>>>>>>>>>  ???????????????????????????????????????????? 0x8e404000
>>>>>>>>>>
>>>>>>>>>>  ??????????????????????????????????????????? DUMPING DATA
>>>>>>>>>>  ??????????????????????????????????????????? 000 - d0 27 01 32
>>>>>>>>>>  ??????????????????????????????????????????? 004 - 0f 59 03 ff
>>>>>>>>>>  ??????????????????????????????????????????? 008 - f6 db ff ef
>>>>>>>>>>  ??????????????????????????????????????????? 012 - 8e 40 40 00
>>>>>>>>>> CMD_SEND:7
>>>>>>>>>>  ??????????????????? ARG?????????????????????? 0x00010000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000700
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:6
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x03b70200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>>>>>>> CMD_SEND:13
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00010000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CURR STATE:4
>>>>>>>>>> CMD_SEND:6
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x03b90100
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000900
>>>>>>>>>> CMD_SEND:13
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00010000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CURR STATE:4
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> switch to partitions #0, OK
>>>>>>>>>> mmc1(part 0) is current device
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> Scanning mmc 1:1...
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000800
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000844
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000868
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000804
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000200
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x0000086c
>>>>>>>>>>  ??????????????????? MMC_RSP_R1,5,6,7???????? 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>>  ??????????????????? ARG????????????????????? 0x00000000
>>>>>>>>>>  ??????????????????? MMC_RSP_R1b????????????? 0x00000b00
>>>>>>>>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> This is the output from mmc info command u-boot 2020.04
>>>>>>>>>>
>>>>>>>>>> => mmc info
>>>>>>>>>> Device: mmc at 74000
>>>>>>>>>> Manufacturer ID: 15
>>>>>>>>>> OEM: 100
>>>>>>>>>> Name: CJTD4
>>>>>>>>>> Bus Speed: 52000000
>>>>>>>>>> Mode: MMC High Speed (52MHz)
>>>>>>>>>> Rd Block Len: 512
>>>>>>>>>> MMC version 5.1
>>>>>>>>>> High Capacity: Yes
>>>>>>>>>> Capacity: 58.2 GiB
>>>>>>>>>> Bus Width: 8-bit
>>>>>>>>>> Erase Group Size: 512 KiB
>>>>>>>>>> HC WP Group Size: 8 MiB
>>>>>>>>>> User Capacity: 58.2 GiB WRREL
>>>>>>>>>> Boot Capacity: 4 MiB ENH
>>>>>>>>>> RPMB Capacity: 4 MiB ENH
>>>>>>>>>> =>
>>>>>>>>>>
>>>>>>>>>> Any Idea?
>>>>>>>>>>
>>>>>>>>>> best regards
>>>>>>>>>>
>>>>>>>>>> Otto
>>>>>>>>>>
>>>>>>>>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>>>>>>>>> Dear Otto,
>>>>>>>>>>>
>>>>>>>>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>>>>>>>>> I tried to build? an actual u-boot from git for my odroid-c2 board.
>>>>>>>>>>> Which git repository did you use?
>>>>>>>>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> Jaehoon Chung
>>>>>>>>>>>
>>>>>>>>>>>> It doesn't find the emmc card and therefore does not boot from it.
>>>>>>>>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>>>>>>>>
>>>>>>>>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>>>>>>>>
>>>>>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>>>>>> TE: 156394
>>>>>>>>>>>> no sdio debug board detected
>>>>>>>>>>>>
>>>>>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>>>>>
>>>>>>>>>>>> Board ID = 8
>>>>>>>>>>>> set vcck to 1100 mv
>>>>>>>>>>>> set vddee to 1050 mv
>>>>>>>>>>>> CPU clk: 1536MHz
>>>>>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>>>>>> DataBus test pass!
>>>>>>>>>>>> AddrBus test pass!
>>>>>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size:
>>>>>>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size:
>>>>>>>>>>>> 0x00009ef0 Sending bl30........................................OK.
>>>>>>>>>>>> Run bl30...
>>>>>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
>>>>>>>>>>>> Wait bl30...Done
>>>>>>>>>>>> Sending bl301.......OK.
>>>>>>>>>>>> Run bl301...
>>>>>>>>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --- UART initialized after reboot ---
>>>>>>>>>>>> [Reset cause: unknown]
>>>>>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14
>>>>>>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>>>>>>> bl30: check_permit: ok!
>>>>>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, size:
>>>>>>>>>>>> 0x0009e8f0>>
>>>>>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>>>>>
>>>>>>>>>>>> [0.271464 Inits done]
>>>>>>>>>>>> secure task start!
>>>>>>>>>>>> high task start!
>>>>>>>>>>>> low task start!
>>>>>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>>>>>>>>
>>>>>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>>>>>> DRAM:? 2 GiB
>>>>>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>>>>>> In:??? serial
>>>>>>>>>>>> Out:?? serial
>>>>>>>>>>>> Err:?? serial
>>>>>>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>>>> MMC Device 2 not found
>>>>>>>>>>>> no mmc device at slot 2
>>>>>>>>>>>> starting USB...
>>>>>>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Does anybody know how to fixes this breakage?
>>>>>>>>>>>>
>>>>>>>>>>>> Best regards
>>>>>>>>>>>>
>>>>>>>>>>>> Otto
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
> 
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04
       [not found]                       ` <53ef94fd-2573-0cfa-5f98-3aa093d7fb27@samsung.com>
  2020-11-26 13:46                         ` Otto Meier
@ 2020-11-27 16:15                         ` Otto Meier
  1 sibling, 0 replies; 19+ messages in thread
From: Otto Meier @ 2020-11-27 16:15 UTC (permalink / raw)
  To: u-boot

Hi,

I did a guess and reverted the following in the actual git from
arch/arm/dts/meson-gxbb.dtsi of the bad commit
and booting from emmc on odroid-c worked again:

@@ -354,11 +381,17 @@

  		};
  
  		emmc_pins: emmc {
-			mux {
+			mux-0 {
  				groups = "emmc_nand_d07",
-				       "emmc_cmd",
-				       "emmc_clk";
+				       "emmc_cmd";
  				function = "emmc";
+				bias-pull-up;
+			};
+
+			mux-1 {
+				groups = "emmc_clk";
+				function = "emmc";
+				bias-disable;
  			};
  		};
  
@@ -366,6 +399,7 @@
  			mux {
  				groups = "emmc_ds";
  				function = "emmc";
+				bias-pull-down;
  			};
  		};
  
@@ -373,9 +407,6 @@
  			mux {
  				groups = "BOOT_8";
  				function = "gpio_periphs";
-			};
-			cfg-pull-down {
-				pins = "BOOT_8";
  				bias-pull-down;
  			};
  		};


Hope this helps the devs to find the right fix.

Best regards and thanks for the support.

Otto



Hi,

I bisected it and this is the result:

dd5f2351e99aad8fcbedbc1305b8b51b09952336 is the first bad commit
commit dd5f2351e99aad8fcbedbc1305b8b51b09952336
Author: Jerome Brunet <jbrunet@baylibre.com>
Date: Thu Mar 5 12:12:38 2020 +0100

arm64: dts: meson: sync dt and bindings from v5.6-rc2
Sync the device tree and dt-bindings from Linux v5.6-rc2
11a48a5a18c6 ("Linux 5.6-rc2")
The only exception to this is the mmc pinctrl pin bias of gxl SoC family.
This is a fix which found its way to u-boot but not Linux yet.
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

arch/arm/dts/meson-axg-s400.dts | 70 ++-
arch/arm/dts/meson-axg.dtsi | 273 ++++++++++--
arch/arm/dts/meson-g12-common.dtsi | 478 +++++++--------------
arch/arm/dts/meson-g12.dtsi | 398 +++++++++++++++++
arch/arm/dts/meson-g12a-sei510.dts | 64 +++
arch/arm/dts/meson-g12a-u200.dts | 54 +++
arch/arm/dts/meson-g12a.dtsi | 33 +-
arch/arm/dts/meson-g12b-a311d-khadas-vim3.dts | 25 ++
arch/arm/dts/meson-g12b-odroid-n2.dts | 2 +-
arch/arm/dts/meson-g12b.dtsi | 26 +-
arch/arm/dts/meson-gx.dtsi | 87 +++-
arch/arm/dts/meson-gxbb-nanopi-k2.dts | 26 +-
arch/arm/dts/meson-gxbb-odroidc2.dts | 100 ++++-
arch/arm/dts/meson-gxbb-p200.dts | 9 +-
arch/arm/dts/meson-gxbb-p201.dts | 2 +-
arch/arm/dts/meson-gxbb-p20x.dtsi | 9 +-
arch/arm/dts/meson-gxbb.dtsi | 118 ++++-
arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 2 +-
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 20 +-
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 26 +-
arch/arm/dts/meson-gxl-s905x-p212.dtsi | 10 +-
arch/arm/dts/meson-gxl.dtsi | 76 +++-
arch/arm/dts/meson-gxm-khadas-vim2.dts | 71 +--
arch/arm/dts/meson-gxm.dtsi | 39 +-
arch/arm/dts/meson-khadas-vim3.dtsi | 7 +
arch/arm/dts/meson-sm1-sei610.dts | 236 +++++++++-
arch/arm/dts/meson-sm1.dtsi | 356 +++++++++++++++
include/dt-bindings/clock/axg-audio-clkc.h | 10 +
include/dt-bindings/clock/gxbb-aoclkc.h | 7 +
include/dt-bindings/clock/gxbb-clkc.h | 21 +
include/dt-bindings/gpio/meson-gxbb-gpio.h | 8 +-
include/dt-bindings/gpio/meson-gxl-gpio.h | 8 +-
.../reset/amlogic,meson-axg-audio-arb.h | 2 +
.../dt-bindings/reset/amlogic,meson-axg-reset.h | 3 +-
.../reset/amlogic,meson-g12a-audio-reset.h | 15 +
.../dt-bindings/reset/amlogic,meson-gxbb-reset.h | 51 +--
36 files changed, 2119 insertions(+), 623 deletions(-)
create mode 100644 arch/arm/dts/meson-g12.dtsi

Hope this helps

Best Regards

Otto



Am 26.11.20 um 12:46 schrieb Jaehoon Chung:
> Hi,
>
> On 11/26/20 8:26 PM, Otto Meier wrote:
>> Hi Jaehoon,
>>
>> no i did not run git bisect. I don't know how to
>> process this. Could you guide me?
>
> You can see usage with "$git bisect --help"
>
> You mentioned v2020.07 doesn't work fine. then checkout v2020.07
>
> git checkout v2020.07
> git bisect start
> git bisect bad
> git bisect good v2020.04
>
> 1) build odroid-c2
> 2) check whether it's working fine or not.
> 2-1) if not work, $git bisect bad
> 2-2) if work fine, $git bisect good
>
> Repeat to do above sequence until find commit. (maybe you can find 
> what commit is problem.)
>
>
> Best Regards,
> Jaehoon Chung
>
>>
>> best regards Otto
>>
>>
>> Am 26.11.20 um 12:11 schrieb Jaehoon Chung:
>>> Hi Otto,
>>>
>>> Sorry for sending personally.
>>> Did you try to run "git bisect" ?
>>>
>>>
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>>
>>>
>>> On 11/20/20 12:52 AM, Otto Meier wrote:
>>>> Hi,
>>>>
>>>> I have extended the previous post.
>>>>
>>>>
>>>>
>>>> with these modifications i get:
>>>>
>>>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 
>>>> +0100) odroid-c2
>>>>
>>>> Model: Hardkernel ODROID-C2
>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>> DRAM:? 2 GiB
>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>> In:??? serial
>>>> Out:?? serial
>>>> Err:?? serial
>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>> No ethernet found.
>>>>
>>>> Hit any key to stop autoboot:? 0
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> Card did not respond to voltage select! : -110
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 00ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[226]
>>>> Card did not respond to voltage select! : -110
>>>> MMC Device 2 not found
>>>> no mmc device at slot 2
>>>> starting USB...
>>>>
>>>> Hope this shed more light on the issue.
>>>>
>>>> Following you find the output of 2020.04 with this mod.
>>>>
>>>> and working reading off mmc info of the emmc
>>>>
>>>> => mmc dev 1
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = c8ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = cdff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[206]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2800
>>>> meson_dm_mmc_send_cmd[206]
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = d9fe0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> MESON EMMC status = c5ff0000
>>>> MESON EMMC status = 01ff2000
>>>> switch to partitions #0, OK
>>>> mmc1(part 0) is current device
>>>> => mmc info
>>>> Device: mmc at 74000
>>>> Manufacturer ID: 15
>>>> OEM: 100
>>>> Name: CJTD4
>>>> Bus Speed: 52000000
>>>> Mode: MMC High Speed (52MHz)
>>>> Rd Block Len: 512
>>>> MMC version 5.1
>>>> High Capacity: Yes
>>>> Capacity: 58.2 GiB
>>>> Bus Width: 8-bit
>>>> Erase Group Size: 512 KiB
>>>> HC WP Group Size: 8 MiB
>>>> User Capacity: 58.2 GiB WRREL
>>>> Boot Capacity: 4 MiB ENH
>>>> RPMB Capacity: 4 MiB ENH
>>>>
>>>>
>>>> Best regards
>>>>
>>>> Am 19.11.20 um 12:50 schrieb Jaehoon Chung:
>>>>> Hi,
>>>>>
>>>>> On 11/19/20 12:54 AM, Otto Meier wrote:
>>>>>> Hi,
>>>>>>
>>>>>> i have reverted the commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>>>>>> and? set regulator-allways-on in meson-gxbb-odroidc2.dts.
>>>>>>
>>>>>> And i also applied "PATCH V2] mmc: display an error number to debug"
>>>>>> from list and disabled CONFIG_MMC_DEBUG
>>>>>>
>>>>>> after that i got the following result:
>>>>>>
>>>>>>
>>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 18 2020 - 
>>>>>> 16:38:40 +0100) odroid-c2
>>>>>>
>>>>>> Model: Hardkernel ODROID-C2
>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>> DRAM:? 2 GiB
>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>> In:??? serial
>>>>>> Out:?? serial
>>>>>> Err:?? serial
>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>> Hit any key to stop autoboot:? 0
>>>>>> Card did not respond to voltage select! : -110
>>>>>> Card did not respond to voltage select! : -110
>>>>>> MMC Device 2 not found
>>>>>> no mmc device at slot 2
>>>>>> starting USB...
>>>>>> Bus usb at c9100000: USB DWC2
>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>> ??????? scanning usb for storage devices... 0 Storage Device(s) found
>>>>>>
>>>>>> Device 0: unknown device
>>>>>> Speed: 1000, full duplex
>>>>>> BOOTP broadcast 1
>>>>>> BOOTP broadcast 2
>>>>>> BOOTP broadcast 3
>>>>>> BOOTP broadcast 4
>>>>>> BOOTP broadcast 5
>>>>>> DHCP client bound to address 192.168.20.199 (3767 ms)
>>>>>> *** Warning: no boot file name; using 'C0A814C7.img'
>>>>>> Using ethernet at c9410000 device
>>>>>>
>>>>>> It Does not seem to have fixed it.? The above mentioned patch
>>>>>> prints ERROR 110.? I'm not able to bisect.
>>>>>> Perhaps if any other reason comes to mind. I will try and test it.
>>>>> I think your targets's status is something special. I'm not sure 
>>>>> but it seems that something is affected.
>>>>> Frankly, it's difficult to me about finding correct problem 
>>>>> without Odroid-c2.
>>>>>
>>>>> But TIMEOUT is returned two locations.
>>>>>
>>>>> When i saw your previous log, i guess that it's below location.
>>>>>
>>>>> /* use 10s timeout */
>>>>> start = get_timer(0);
>>>>> do {
>>>>> status = meson_read(mmc, MESON_SD_EMMC_STATUS);
>>>>> } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 10000);
>>>>>
>>>>> if (!(status & STATUS_END_OF_CHAIN))
>>>>> ret = -ETIMEDOUT;
>>>>> else if (status & STATUS_RESP_TIMEOUT)
>>>>> ret = -ETIMEDOUT;
>>>>> else if (status & STATUS_ERR_MASK)
>>>>> ret = -EIO;
>>>>> To Workaround check, increase timeout value from 1000 to other value.
>>>>> And check which condition is hit, plz. likes below.
>>>>>
>>>>> do {
>>>>> status = meson_read(mmc, MESON_SD_EMMC_STATUS);
>>>>> printf("MESON EMMC status = %08x\n", status);
>>>>> } while(!(status & STATUS_END_OF_CHAIN) && get_timer(start) < 
>>>>> 1000000);
>>>>>
>>>>> if (!(status & STATUS_END_OF_CHAIN)) {
>>>>> printf("%s[%d]\n",__func__,__LINE__);
>>>>> ret = -ETIMEDOUT;
>>>>> } else if (status & STATUS_RESP_TIMEOUT) {
>>>>> printf("%s[%d]\n",__func__,__LINE__);
>>>>> ret = -ETIMEDOUT;
>>>>> } else if (status & STATUS_ERR_MASK)
>>>>> ret = -EIO;
>>>>>
>>>>> Sorry for not being able to help you much.
>>>>>
>>>>>
>>>>> Best Regards,
>>>>> Jaehoon Chung
>>>>>
>>>>>
>>>>>> Best regards
>>>>>> otto
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 18.11.20 um 13:23 schrieb Jaehoon Chung:
>>>>>>> On 11/18/20 8:44 PM, Otto Meier wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> it is not a new issue, since u-boot 2020.07 this issue exists.
>>>>>>>> even by using the repo you mention the error exist.
>>>>>>> Yes, git repo doesn't matter. When i have checked, you are using 
>>>>>>> almost latest u-boot. (commit 9324c9a823)
>>>>>>>
>>>>>>> If it's existed since 2020.07, it seems that relevant to below 
>>>>>>> commit.
>>>>>>>
>>>>>>> commit fe95905ffed57d617cad81a71ac419d53aaa1ebf
>>>>>>> Author: Haibo Chen <haibo.chen@nxp.com>
>>>>>>> Date:?? Mon Jun 15 17:18:12 2020 +0800
>>>>>>>
>>>>>>> ????? mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready
>>>>>>>
>>>>>>> ????? According to eMMC specification v5.1 section 6.4.3, we 
>>>>>>> should issue
>>>>>>> ????? CMD1 repeatedly in the idle state until the eMMC is ready 
>>>>>>> even if
>>>>>>> ????? mmc_send_op_cond() send CMD1 with argument = 0. Otherwise 
>>>>>>> some eMMC
>>>>>>> ????? devices seems to enter the inactive mode after 
>>>>>>> mmc_complete_op_cond()
>>>>>>> ????? issued CMD0 when the eMMC device is busy.
>>>>>>>
>>>>>>> ????? Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>>>>>>> ????? Reviewed-by: Peng Fan <peng.fan@nxp.com>
>>>>>>>
>>>>>>> Could you check it?
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> Jaehoon Chung
>>>>>>>
>>>>>>>
>>>>>>>> I allways use : make odroid-c2_defconfig with no other config 
>>>>>>>> option set to build u-boot.
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>>
>>>>>>>> Otto
>>>>>>>>
>>>>>>>> Am 18.11.20 um 09:12 schrieb Alexander Dahl:
>>>>>>>>> Hei hei,
>>>>>>>>>
>>>>>>>>> FWIW see below,
>>>>>>>>>
>>>>>>>>> Am Dienstag, 17. November 2020, 20:08:21 CET schrieb Otto Meier:
>>>>>>>>>> Dear Jaehoon Chung,
>>>>>>>>>>
>>>>>>>>>> I cloned github.com/u-boot which i believe is the master repo.
>>>>>>>>> That seems to be an up to date mirror. However, according to 
>>>>>>>>> [1] and [2] the
>>>>>>>>> real upstream repository is here:
>>>>>>>>>
>>>>>>>>> https://protect2.fireeye.com/v1/url?k=6b6d3e43-34f6074f-6b6cb50c-000babff3563-39827ce0c87bb58b&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fgitlab.denx.de%2Fu-boot%2Fu-boot
>>>>>>>>>
>>>>>>>>> Greets
>>>>>>>>> Alex
>>>>>>>>>
>>>>>>>>> [1] 
>>>>>>>>> https://protect2.fireeye.com/v1/url?k=582063cf-07bb5ac3-5821e880-000babff3563-5e4585439f04bb00&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fwww.denx.de%2Fwiki%2FU-Boot%2FSourceCode
>>>>>>>>> [2] 
>>>>>>>>> https://protect2.fireeye.com/v1/url?k=d5f680f6-8a6db9fa-d5f70bb9-000babff3563-dc85cc723e07fae0&q=1&e=29cccebd-0f84-49bd-a69e-c1c8a1916260&u=https%3A%2F%2Fu-boot.readthedocs.io%2Fen%2Flatest%2Fbuild%2Fsource.html
>>>>>>>>>
>>>>>>>>>> I enabled CONFIG_MMC_TRACE and got following
>>>>>>>>>> response:
>>>>>>>>>>
>>>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>>>> TE: 308588
>>>>>>>>>> no sdio debug board detected
>>>>>>>>>>
>>>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>>>
>>>>>>>>>> Board ID = 8
>>>>>>>>>> set vcck to 1100 mv
>>>>>>>>>> set vddee to 1050 mv
>>>>>>>>>> CPU clk: 1536MHz
>>>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>>>> DataBus test pass!
>>>>>>>>>> AddrBus test pass!
>>>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, 
>>>>>>>>>> size:
>>>>>>>>>> 0x000000b0
>>>>>>>>>> Load bl30 from eMMC, src: 0x00010200, des: 0x01000000, size: 
>>>>>>>>>> 0x00009ef0
>>>>>>>>>> Sending bl30........................................OK.
>>>>>>>>>> Run bl30...
>>>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 
>>>>>>>>>> 0x000018c0
>>>>>>>>>> Wait bl30...Done
>>>>>>>>>> Sending bl301.......OK.
>>>>>>>>>> Run bl301...
>>>>>>>>>> from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --- UART initialized after reboot ---
>>>>>>>>>> [Reset cause: unknown]
>>>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 
>>>>>>>>>> 09:24:14
>>>>>>>>>> tao.zeng at droid04]
>>>>>>>>>> bl30: check_permit, count is 1
>>>>>>>>>> bl30: check_permit: ok!
>>>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, 
>>>>>>>>>> size:
>>>>>>>>>> 0x0009e330
>>>>>>>>>>
>>>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>>>
>>>>>>>>>> [0.423714 Inits done]
>>>>>>>>>> secure task start!
>>>>>>>>>> high task start!
>>>>>>>>>> low task start!
>>>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> U-Boot 2021.01-rc2-00047-g9324c9a823 (Nov 17 2020 - 19:34:41 
>>>>>>>>>> +0100)
>>>>>>>>>> odroid-c2
>>>>>>>>>>
>>>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>>>> DRAM:? 2 GiB
>>>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>>>> In:??? serial
>>>>>>>>>> Out:?? serial
>>>>>>>>>> Err:?? serial
>>>>>>>>>> Net:?? Could not get PHY for ethernet at c9410000: addr -1
>>>>>>>>>> No ethernet found.
>>>>>>>>>>
>>>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x000001aa
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x000001aa
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>>
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>>
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x00000000
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40000000
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>> MMC Device 2 not found
>>>>>>>>>> no mmc device at slot 2
>>>>>>>>>> starting USB...
>>>>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>>>> ?????????? scanning usb for storage devices... 0 Storage 
>>>>>>>>>> Device(s) found
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Following you find a working boot from emmc:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>>>> TE: 303447
>>>>>>>>>> no sdio debug board detected
>>>>>>>>>>
>>>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>>>
>>>>>>>>>> Board ID = 8
>>>>>>>>>> set vcck to 1100 mv
>>>>>>>>>> set vddee to 1050 mv
>>>>>>>>>> CPU clk: 1536MHz
>>>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>>>> DataBus test pass!
>>>>>>>>>> AddrBus test pass!
>>>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, 
>>>>>>>>>> size:
>>>>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 
>>>>>>>>>> 0x01000000, size:
>>>>>>>>>> 0x00009ef0 Sending 
>>>>>>>>>> bl30........................................OK.
>>>>>>>>>> Run bl30...
>>>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, size: 
>>>>>>>>>> 0x000018c0
>>>>>>>>>> Wait bl30...Done
>>>>>>>>>> Sending bl301.......OK.
>>>>>>>>>> Run bl301...
>>>>>>>>>> MC, src: 0x00020200, des: 0x10100000, size: 0x00011130
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --- UART initialized after reboot ---
>>>>>>>>>> [Reset cause: unknown]
>>>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 
>>>>>>>>>> 09:24:14
>>>>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>>>>> bl30: check_permit: ok!
>>>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 0x01000000, 
>>>>>>>>>> size:
>>>>>>>>>> 0x0007da20
>>>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>>>
>>>>>>>>>> [0.418578 Inits done]
>>>>>>>>>> secure task start!
>>>>>>>>>> high task start!
>>>>>>>>>> low task start!
>>>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> U-Boot 2020.04 (Nov 17 2020 - 19:56:40 +0100) odroid-c2
>>>>>>>>>>
>>>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>>>> DRAM:? 2 GiB
>>>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>>>> In:??? serial
>>>>>>>>>> Out:?? serial
>>>>>>>>>> Err:?? serial
>>>>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x000001aa
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x000001aa
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:55
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? RET -110
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:0
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_NONE
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0x40ff8080
>>>>>>>>>> CMD_SEND:1
>>>>>>>>>> ??????????????????? ARG 0x40380080
>>>>>>>>>> ??????????????????? MMC_RSP_R3,4 0xc0ff8080
>>>>>>>>>> CMD_SEND:2
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R2 0x15010043
>>>>>>>>>> 0x4a544434
>>>>>>>>>> 0x52042550
>>>>>>>>>> 0xfa197700
>>>>>>>>>>
>>>>>>>>>> DUMPING DATA
>>>>>>>>>> ??????????????????????????????????????????? 000 - 15 01 00 43
>>>>>>>>>> ??????????????????????????????????????????? 004 - 4a 54 44 34
>>>>>>>>>> ??????????????????????????????????????????? 008 - 52 04 25 50
>>>>>>>>>> ??????????????????????????????????????????? 012 - fa 19 77 00
>>>>>>>>>> CMD_SEND:3
>>>>>>>>>> ??????????????????? ARG 0x00010000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000500
>>>>>>>>>> CMD_SEND:9
>>>>>>>>>> ??????????????????? ARG 0x00010000
>>>>>>>>>> ??????????????????? MMC_RSP_R2 0xd0270132
>>>>>>>>>> 0x0f5903ff
>>>>>>>>>> 0xf6dbffef
>>>>>>>>>> 0x8e404000
>>>>>>>>>>
>>>>>>>>>> DUMPING DATA
>>>>>>>>>> ??????????????????????????????????????????? 000 - d0 27 01 32
>>>>>>>>>> ??????????????????????????????????????????? 004 - 0f 59 03 ff
>>>>>>>>>> ??????????????????????????????????????????? 008 - f6 db ff ef
>>>>>>>>>> ??????????????????????????????????????????? 012 - 8e 40 40 00
>>>>>>>>>> CMD_SEND:7
>>>>>>>>>> ??????????????????? ARG???? 0x00010000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000700
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:6
>>>>>>>>>> ??????????????????? ARG 0x03b70200
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000900
>>>>>>>>>> CMD_SEND:13
>>>>>>>>>> ??????????????????? ARG 0x00010000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CURR STATE:4
>>>>>>>>>> CMD_SEND:6
>>>>>>>>>> ??????????????????? ARG 0x03b90100
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000900
>>>>>>>>>> CMD_SEND:13
>>>>>>>>>> ??????????????????? ARG 0x00010000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CURR STATE:4
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:8
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> switch to partitions #0, OK
>>>>>>>>>> mmc1(part 0) is current device
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> Scanning mmc 1:1...
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:17
>>>>>>>>>> ??????????????????? ARG 0x00000800
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000844
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000868
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x00000804
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> CMD_SEND:16
>>>>>>>>>> ??????????????????? ARG 0x00000200
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:18
>>>>>>>>>> ??????????????????? ARG 0x0000086c
>>>>>>>>>> ??????????????????? MMC_RSP_R1,5,6,7 0x00000900
>>>>>>>>>> CMD_SEND:12
>>>>>>>>>> ??????????????????? ARG 0x00000000
>>>>>>>>>> ??????????????????? MMC_RSP_R1b 0x00000b00
>>>>>>>>>> Found EFI removable media binary efi/boot/bootaa64.efi
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> This is the output from mmc info command u-boot 2020.04
>>>>>>>>>>
>>>>>>>>>> => mmc info
>>>>>>>>>> Device: mmc at 74000
>>>>>>>>>> Manufacturer ID: 15
>>>>>>>>>> OEM: 100
>>>>>>>>>> Name: CJTD4
>>>>>>>>>> Bus Speed: 52000000
>>>>>>>>>> Mode: MMC High Speed (52MHz)
>>>>>>>>>> Rd Block Len: 512
>>>>>>>>>> MMC version 5.1
>>>>>>>>>> High Capacity: Yes
>>>>>>>>>> Capacity: 58.2 GiB
>>>>>>>>>> Bus Width: 8-bit
>>>>>>>>>> Erase Group Size: 512 KiB
>>>>>>>>>> HC WP Group Size: 8 MiB
>>>>>>>>>> User Capacity: 58.2 GiB WRREL
>>>>>>>>>> Boot Capacity: 4 MiB ENH
>>>>>>>>>> RPMB Capacity: 4 MiB ENH
>>>>>>>>>> =>
>>>>>>>>>>
>>>>>>>>>> Any Idea?
>>>>>>>>>>
>>>>>>>>>> best regards
>>>>>>>>>>
>>>>>>>>>> Otto
>>>>>>>>>>
>>>>>>>>>> Am 16.11.20 um 23:39 schrieb Jaehoon Chung:
>>>>>>>>>>> Dear Otto,
>>>>>>>>>>>
>>>>>>>>>>> On 11/16/20 11:16 PM, Otto Meier wrote:
>>>>>>>>>>>> I tried to build? an actual u-boot from git for my 
>>>>>>>>>>>> odroid-c2 board.
>>>>>>>>>>> Which git repository did you use?
>>>>>>>>>>> If you can enable CONFIG_MMC_TRACE, it's more helpful to debug.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> Jaehoon Chung
>>>>>>>>>>>
>>>>>>>>>>>> It doesn't find the emmc card and therefore does not boot 
>>>>>>>>>>>> from it.
>>>>>>>>>>>> emmc is Ok and boots with u-boot 2020.04 fine.
>>>>>>>>>>>>
>>>>>>>>>>>> Newer u-boot then 2020.04 show these messages:
>>>>>>>>>>>>
>>>>>>>>>>>> GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
>>>>>>>>>>>> TE: 156394
>>>>>>>>>>>> no sdio debug board detected
>>>>>>>>>>>>
>>>>>>>>>>>> BL2 Built : 11:44:26, Nov 25 2015.
>>>>>>>>>>>> gxb gfb13a3b-c2 - jcao at wonton
>>>>>>>>>>>>
>>>>>>>>>>>> Board ID = 8
>>>>>>>>>>>> set vcck to 1100 mv
>>>>>>>>>>>> set vddee to 1050 mv
>>>>>>>>>>>> CPU clk: 1536MHz
>>>>>>>>>>>> DDR channel setting: DDR0 Rank0+1 same
>>>>>>>>>>>> DDR0: 2048MB(auto) @ 912MHz(2T)-13
>>>>>>>>>>>> DataBus test pass!
>>>>>>>>>>>> AddrBus test pass!
>>>>>>>>>>>> Load fip header from eMMC, src: 0x0000c200, des: 
>>>>>>>>>>>> 0x01400000, size:
>>>>>>>>>>>> 0x000000b0 Load bl30 from eMMC, src: 0x00010200, des: 
>>>>>>>>>>>> 0x01000000, size:
>>>>>>>>>>>> 0x00009ef0 Sending 
>>>>>>>>>>>> bl30........................................OK.
>>>>>>>>>>>> Run bl30...
>>>>>>>>>>>> Load bl301 from eMMC, src: 0x0001c200, des: 0x01000000, 
>>>>>>>>>>>> size: 0x000018c0
>>>>>>>>>>>> Wait bl30...Done
>>>>>>>>>>>> Sending bl301.......OK.
>>>>>>>>>>>> Run bl301...
>>>>>>>>>>>> 31 from eMMC, src: 0x00020200, des: 0x10100000, size: 
>>>>>>>>>>>> 0x00011130
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --- UART initialized after reboot ---
>>>>>>>>>>>> [Reset cause: unknown]
>>>>>>>>>>>> [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 
>>>>>>>>>>>> 09:24:14
>>>>>>>>>>>> tao.zeng at droid04] bl30: check_permit, count is 1
>>>>>>>>>>>> bl30: check_permit: ok!
>>>>>>>>>>>> chipidLoad bl33 from eMMC, src: 0x00034200, des: 
>>>>>>>>>>>> 0x01000000, size:
>>>>>>>>>>>> 0x0009e8f0>>
>>>>>>>>>>>> : ef be ad de d f0 ad ba ef be ad de not ES chip
>>>>>>>>>>>>
>>>>>>>>>>>> [0.271464 Inits done]
>>>>>>>>>>>> secure task start!
>>>>>>>>>>>> high task start!
>>>>>>>>>>>> low task start!
>>>>>>>>>>>> NOTICE:? BL3-1: v1.0(debug):4d2e34d
>>>>>>>>>>>> NOTICE:? BL3-1: Built : 17:08:35, Oct 29 2015
>>>>>>>>>>>> INFO:??? BL3-1: Initializing runtime services
>>>>>>>>>>>> INFO:??? BL3-1: Preparing for EL3 exit to normal world
>>>>>>>>>>>> INFO:??? BL3-1: Next image address = 0x1000000
>>>>>>>>>>>> INFO:??? BL3-1: Next image spsr = 0x3c9
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> U-Boot 2021.01-rc2 (Nov 15 2020 - 19:06:55 +0100) odroid-c2
>>>>>>>>>>>>
>>>>>>>>>>>> Model: Hardkernel ODROID-C2
>>>>>>>>>>>> SoC:?? Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
>>>>>>>>>>>> DRAM:? 2 GiB
>>>>>>>>>>>> MMC:?? mmc at 72000: 0, mmc at 74000: 1
>>>>>>>>>>>> In:??? serial
>>>>>>>>>>>> Out:?? serial
>>>>>>>>>>>> Err:?? serial
>>>>>>>>>>>> Net:?? eth0: ethernet at c9410000
>>>>>>>>>>>> Hit any key to stop autoboot:? 0
>>>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>>>> Card did not respond to voltage select!
>>>>>>>>>>>> MMC Device 2 not found
>>>>>>>>>>>> no mmc device at slot 2
>>>>>>>>>>>> starting USB...
>>>>>>>>>>>> Bus usb at c9100000: USB DWC2
>>>>>>>>>>>> scanning bus usb at c9100000 for devices... 2 USB Device(s) found
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Does anybody know how to fixes this breakage?
>>>>>>>>>>>>
>>>>>>>>>>>> Best regards
>>>>>>>>>>>>
>>>>>>>>>>>> Otto
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-11-27 16:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20201116155543epcas1p11eb1f56ace61fef6dc06758cf87f0982@epcas1p1.samsung.com>
2020-11-16 14:16 ` [BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04 Otto Meier
2020-11-16 22:39   ` Jaehoon Chung
2020-11-17 19:08     ` Otto Meier
2020-11-17 22:53       ` Jaehoon Chung
2020-11-18  8:12       ` Alexander Dahl
2020-11-18 11:44         ` Otto Meier
2020-11-18 12:23           ` Jaehoon Chung
2020-11-18 15:54             ` Otto Meier
2020-11-19 11:50               ` Jaehoon Chung
2020-11-19 14:39                 ` Otto Meier
2020-11-26  3:13                   ` Jaehoon Chung
2020-11-26 10:51                     ` Otto Meier
2020-11-19 15:52                 ` Otto Meier
2020-11-19 17:53                   ` Anand Moon
2020-11-20 13:48                     ` Otto Meier
     [not found]                   ` <6c15eac0-62a2-0f89-8f60-0c8286059805@samsung.com>
     [not found]                     ` <d9af1f3a-f9e2-1ebc-1a50-55d8ec50c639@gmx.net>
     [not found]                       ` <53ef94fd-2573-0cfa-5f98-3aa093d7fb27@samsung.com>
2020-11-26 13:46                         ` Otto Meier
2020-11-27 16:15                         ` Otto Meier
2020-11-18 17:09   ` Heinrich Schuchardt
2020-11-18 18:04     ` Otto Meier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.