View Single Post
Old 06-07-2015, 06:36 PM   #12
chefchens
Junior Member
chefchens began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2015
Device: none
more or less just out of curiosity I build a yoshime u-boot with a debug switch turned on in mmc.c

it does seem that the my mmc chip answers to u-boot quite a bit
i will try to make sense out of the log in the next days.
maybe somebody else wants to jump in

this is the log:
Code:
U-Boot 2009.08-lab126 (Jun 07 2015 - 23:58:45)

CPU:   Freescale i.MX50 family 1.1V at 800 MHz
mx50 pll1: 800MHz
mx50 pll2: 400MHz
mx50 pll3: 216MHz
ipg clock     : 50000000Hz
ipg per clock : 50000000Hz
uart clock    : 24000000Hz
ahb clock     : 100000000Hz
axi_a clock   : 400000000Hz
axi_b clock   : 200000000Hz
weim_clock    : 100000000Hz
ddr clock     : 800000000Hz
esdhc1 clock  : 80000000Hz
esdhc2 clock  : 80000000Hz
esdhc3 clock  : 80000000Hz
esdhc4 clock  : 80000000Hz
MMC:  FSL_ESDHC: 0, FSL_ESDHC: 1
mmc_init begin
esdhc_init begin: base_addr=0x50020000
 wait for restart
set_sysctl: begin
set_sysctl: setting clock
set_sysctl: exit
  wait for init
esdhc_init complete
esdhc_set_ios: set clock to 0
set_sysctl: begin
set_sysctl: setting clock
set_sysctl: exit
esdhc_set_ios: set bus_width to 1
esdhc_set_ios: set clock to 400000
set_sysctl: begin
set_sysctl: setting clock
set_sysctl: exit
esdhc_set_ios: set bus_width to 1
Sending CMD0
 cmd status=0x1
  success
Detecting SD card..
Sending CMD8
 cmd status=0x10001
Sending CMD55
 cmd status=0x10001
SD init cmds timeout.  Trying MMC
Sending CMD1
 cmd status=0x1
  success
mmc_send_op_cond: ocr=0x80ff8080 hc=0
Sending CMD2
 cmd status=0x1
  success
Sending CMD3
 cmd status=0x1
  success
Sending CMD9
 cmd status=0x1
  success
rd blklen = 1024 wr blklen = 512
Sending CMD7
 cmd status=0x1
  success
card=0x0 host=0xf11
Sending CMD6
 cmd status=0x1
Timeout waiting for DAT0 to go high!
mmc switch failed: -19
### ERROR ### Please RESET the board ###

Last edited by chefchens; 06-08-2015 at 10:16 AM.
chefchens is offline   Reply With Quote