[#7564] fatload spimmc uimage fails to send stop cmd

Document created by Aaronwu Employee on Sep 26, 2013
Version 1Show Document
  • View in full screen mode

[#7564] fatload spimmc uimage fails to send stop cmd

Submitted By: Mingquan Pan

Open Date

2012-12-27 21:10:13    

Priority:

Low     Assignee:

Bob Liu

Category:

N/A     Fixed In Release:

2012R2-RC3

Found In Release:

2012R2-RC3     Status:

Open

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Not reproducible

Is the bug repeatable?:

N/A     

Summary: fatload spimmc uimage fails to send stop cmd

Details:

 

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 05: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 07:03:00

Can't replicate.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes