[U-Boot] MMC problem in PXA270 hardware

Vaisakh vaisakhrulez at gmail.com
Mon Jan 18 07:00:51 CET 2010


Hi,
I am trying bring up MMC in our hardware which is running on  PXA270
processor with 128 MB RAM.
But i am not able to detect the SDCARD, as it is showing the invalid
partition table (the dos partition magic number is not correct, it is 44aa,
instead of 55 aa), what could be the problem for such a behavior ?
But the same card is working properly in Linux on the same board.


Thanks & regards,
-- 
Vaisakh P S
(http://www.google.com/profiles/VaisakhRulez)

Here is a log of printfs while doing mmc init:

WWPC at Accord$ mmc init
mmc_cmd 0 0x0000 0x0000 0x0040
MMC status 0x00002140
MMC resp[0] = 0x000000
MMC resp[1] = 0x000000
MMC resp[2] = 0x000000
MMC resp[3] = 0x000000
mmc_cmd 55 0x0000 0x0000 0x0001
MMC status 0x00002140
MMC resp[0] = 0x000120
MMC resp[1] = 0x000000
MMC resp[2] = 0x000000
MMC resp[3] = 0x000037
mmc_cmd 41 0x0030 0x0000 0x0043
MMC status 0x00002140
MMC resp[0] = 0xff8000
MMC resp[1] = 0x000000
MMC resp[2] = 0x000000
MMC resp[3] = 0x00003f
mmc_cmd 55 0x0000 0x0000 0x0001
MMC status 0x00002140
MMC resp[0] = 0x000120
MMC resp[1] = 0x000000
MMC resp[2] = 0x000000
MMC resp[3] = 0x000037
mmc_cmd 41 0x0030 0x0000 0x0003
MMC status 0x00002140
MMC resp[0] = 0x80ff8000
MMC resp[1] = 0x000000
MMC resp[2] = 0x000000
MMC resp[3] = 0x00003f
Detected SD card
mmc_cmd 2 0x0000 0x0000 0x0022
MMC status 0x00002140
MMC resp[0] = 0x1b534d30
MMC resp[1] = 0x30303030
MMC resp[2] = 0x10b1c8f2
MMC resp[3] = 0xa300993f
mmc_cmd 3 0x0000 0x0000 0x0001
MMC status 0x00002140
MMC resp[0] = 0x020500
MMC resp[1] = 0x30303030
MMC resp[2] = 0x10b1c8f2
MMC resp[3] = 0xa3009903
mmc_cmd 9 0x0002 0x0000 0x0002
MMC status 0x00002140
MMC resp[0] = 0x7fff32
MMC resp[1] = 0x5f5983cb
MMC resp[2] = 0x76dbdfff
MMC resp[3] = 0x9640003f
Detected: 1989632 blocks of 512 bytes (971MB) SD card.
Vendor: Man 1b OEM SM "00000" Date 09/2009
Product: 2982736547
Revision: 1.0
mmc_cmd 7 0x0002 0x0000 0x0001
MMC status 0x00002140
MMC resp[0] = 0x000700
MMC resp[1] = 0x5f5983cb
MMC resp[2] = 0x76dbdfff
MMC resp[3] = 0x96400007
mmc_cmd 55 0x0002 0x0000 0x0001
MMC status 0x00002140
MMC resp[0] = 0x000920
MMC resp[1] = 0x5f5983cb
MMC resp[2] = 0x76dbdfff
MMC resp[3] = 0x96400037
mmc_cmd 6 0x0000 0x0002 0x0001
MMC status 0x00002140
MMC resp[0] = 0x000920
MMC resp[1] = 0x5f5983cb
MMC resp[2] = 0x76dbdfff
MMC resp[3] = 0x96400006
fat_register_device++
src 0 dst a1e9fba8 end 200 pstart 0 pend 0 astart 0 aend 200
src 0 dst a1e9fba8 end 200 pstart 0 pend 0 astart 0 aend 200
al src 0 dst a1e9fba8 end 200 pstart 0 pend 0 astart 0 aend 200
mmc_block_rd dst a1e9fba8 src 0 len 512
mmc_cmd 16 0x0000 0x0200 0x0101
MMC status 0x00002140
MMC resp[0] = 0x000900
MMC resp[1] = 0x5f5983cb
MMC resp[2] = 0x76dbdfff
MMC resp[3] = 0x96400010
mmc_cmd 17 0x0000 0x0000 0x0105
MMC status 0x00002140
MMC resp[0] = 0x000900
MMC resp[1] = 0x5f5983cb
MMC resp[2] = 0x76dbdfff
MMC resp[3] = 0x96400011
src 200 dst a1e9fda8 end 200 pstart 0 pend 0 astart 0 aend 200
 0xea 0xa8 0x0 0x0 0x8e 0xc0 0xac 0x0 0xa0 0xa8 0x0 0x0 0x8e 0xc8 0x8e 0xc0
0xea 0xae 0x0 0x6c 0xae 0x0 0x6 0xa8 0x0 0x2 0xe2 0xa4 0xea 0x20 0x6 0x0 0x0
0xae 0xae 0x6 0x28 0x4 0x64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
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x46 0x4
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x82 0xee 0x2e 0xc 0x2e 0x0 0x0 0x0 0x4e 0x4a
0x6 0x0 0x0 0x0 0x0 0xe 0x82 0xee 0x2e 0x48 0x8e 0x4a 0x6 0x0 0x2c 0xc8 0xa
0x0 0x0 0x0 0x0 0x4a 0x82 0xee 0x2e 0x6a 0xca 0x22 0x2 0x0 0xe0 0x2 0xc 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x44 0xaa
fat_register_device++ No signature found. Signature dos = 0x44
mmc_legacy_init: complete
mmc1 is available


More information about the U-Boot mailing list