- Priority: 3 --> middle
[#7564] fatload spimmc uimage fails to send stop cmd
Move Item | Delete Item | Clone Item | Merge Item
Submitted By: Mingquan Pan
Open Date
2012-12-28 10:10:13
Priority:
Assignee:
Category:
Fixed In Release:
Found In Release:
Status:
Board:
Processor:
Silicon Revision:
Resolution:
Is the bug repeatable?:
Summary:
Details: (Edit)
fatload spimmc uimage fails to send stop cmd on bf537 stamp, it always happens when icache or dcache is off.
bfin> got u-boot prompt
icache off^M
Instruction Cache is OFF^M
bfin> dcache on^M
Data (writethrough) Cache is ON^M
bfin> reginfo^M
^M
System Configuration registers^M
^M
PLL Registers^M
PLL_DIV: 0x0014 PLL_CTL: 0xa000^M
PLL_STAT: 0x00a2 PLL_LOCKCNT: 0x0300^M
VR_CTL: 0x40db^M
^M
EBIU AMC Registers^M
EBIU_AMGCTL: 0x00ff^M
EBIU_AMBCTL0: 0x7bb07bb0 EBIU_AMBCTL1: 0xffc27bb0^M
^M
EBIU SDC Registers^M
EBIU_SDRRC: 0x0306 EBIU_SDBCTL: 0x0025^M
EBIU_SDSTAT: 0x0000 EBIU_SDGCTL: 0x8011114d^M
bfin>
STEP 43: Test MMC/SD
mmc_spi 4^M
MMC_SPI: 0 at 0:4 hz 25000000 mode 0^M
bfin> mmcinfo^M
Device: MMC_SPI^M
Manufacturer ID: 1b^M
OEM: 534d^M
Name: 00000 ^M
Tran Speed: 25000000^M
Rd Block Len: 512^M
SD version 2.0^M
High Capacity: No^M
Capacity: 1.9 GiB^M
Bus Width: 1-bit^M
bfin> fatls mmc 0^M
mmc fail to send stop cmd^M
4041012 uimage ^M
^M
1 file(s), 0 dir(s)^M
^M
bfin> fatload mmc 0 0x1000000 uimage ^M
reading uimage^M
mmc fail to send stop cmd^M
ERROR: load uimage to memory failed
Attempting to recover to u-boot prompt
mmc fail to send stop cmd^M
mmc fail to send stop cmd^M
Error reading cluster^M
^M
** Unable to read "uimage" from mmc 0:1 **^M
bfin> ^M
Follow-ups
--- Mingquan Pan 2013-01-04 18:46:58
This bug is always happening on bf537 stamp board now.
U-Boot 2012.07-rc2 (ADI-2012R2)-00009-gf2febe9-dirty (Jan 04 2013 -
15:01:42)^M
^M
CPU: ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)^M
Board: ADI BF537 stamp board^M
Support: http://blackfin.uclinux.org/^M
Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz^M
RAM: 64 MiB^M
Flash: 4 MiB^M
MMC: ^M
In: serial^M
Out: serial^M
Err: serial^M
KGDB: [on serial] ready^M
Net: bfin_mac^M
Hit any key to stop autoboot: 9 ^H^H^H 8 ^H^H^H 7 ^H^H^H 6 ^H^H^H 5 ^H^H^H 0
^M
bfin> waiting for uboot prompt
^M
bfin> got u-boot prompt
icache off^M
Instruction Cache is OFF^M
bfin> dcache off^M
Data (writethrough) Cache is OFF^M
bfin> reginfo^M
^M
System Configuration registers^M
^M
PLL Registers^M
PLL_DIV: 0x0004 PLL_CTL: 0xa800^M
PLL_STAT: 0x00a2 PLL_LOCKCNT: 0x0300^M
VR_CTL: 0x40fb^M
^M
EBIU AMC Registers^M
EBIU_AMGCTL: 0x00ff^M
EBIU_AMBCTL0: 0x7bb07bb0 EBIU_AMBCTL1: 0xffc27bb0^M
^M
EBIU SDC Registers^M
EBIU_SDRRC: 0x0306 EBIU_SDBCTL: 0x0025^M
EBIU_SDSTAT: 0x0000 EBIU_SDGCTL: 0x8011114d^M
bfin>
STEP 43: Test MMC/SD
STEP 43: Test MMC/SD
mmc_spi 4^M
MMC_SPI: 0 at 0:4 hz 25000000 mode 0^M
bfin> mmcinfo^M
Device: MMC_SPI^M
Manufacturer ID: 1b^M
OEM: 534d^M
Name: 00000 ^M
Tran Speed: 25000000^M
Rd Block Len: 512^M
SD version 2.0^M
High Capacity: No^M
Capacity: 1.9 GiB^M
Bus Width: 1-bit^M
bfin> fatls mmc 0^M
mmc fail to send stop cmd^M
4041012 uimage ^M
^M
1 file(s), 0 dir(s)^M
^M
bfin> fatload mmc 0 0x1000000 uimage ^M
reading uimage^M
mmc fail to send stop cmERROR: load uimage to memory failed
Attempting to recover to u-boot prompt
d^M
mmc fail to send stop cmd^M
mmc fail to send stop cmd^M
Error reading cluster^M
^M
** Unable to read "uimage" from mmc 0:1 **^M
bfin> ersionRecovered
--- Sonic Zhang 2013-01-07 20:03:00
Can't replicate.