[#7692] fatls spimmc uimage fails to send stop cmd and show many random chars

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

[#7692] fatls spimmc uimage fails to send stop cmd and show many random chars

Submitted By: Mingquan Pan

Open Date

2013-03-07 01:19:25     Close Date

2013-03-12 05:04:37

Priority:

Medium     Assignee:

Sonic Zhang

Category:

N/A     Fixed In Release:

2013R1

Found In Release:

2013R1     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: fatls spimmc uimage fails to send stop cmd and show many random chars

Details:

 

fatls spimmc  uimage fails to send stop cmd and show many random chars.

 

*****************************

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

            Ç.g¢^P/^M

            ×È\<82>¯È}Ð.3Åk/^M

607789783   %úygä<9e>#s.¡x¢ ^M

            v<94>óôªwuk.<98>®Ù/^M

-129994842   <8f>'<89>&Ê7ÍØ.<99>3® ^M

1716451020   è\<9a>f/¼¨<99>.;_Þ ^M

912230887   ^P?<90>³`p'^\.~'t ^M

-1494774213   ôd3p<89><82>ê±.a^N<93> ^M

1976596126   Å,<wÍ'g^?.§*? ^M

            ċrîhc±Ì.¸^T$/^M

            ½^KÌv6æïf.9oh/^M

            ¸<9b>´9ø^P<94>f.ÀÄï/^M

-723582492   îfäkÅ×ý¢.e<y ^M

351203006   û5s)<8b>Þô|.åËõ ^M

            ·fß2p.ÅÒ>/^M

1855301631   <9a>fxhðªt^L.<9c>Úg ^M

            <97>^M

^?;^Ea<9d>l.^_^S°/^M

            ^\ ¼^Dw»£.#<8f>/^M

            Êí^Fñ>âi&.'^E{/^M

1660582911   ^^YÞ^[<83>x^Oa.ð^Y<9a> ^M

1943852267   wd<84>mi%¤".ªs5 ^M

            <8d>jvýʩ¡^L.Êü<9b>/^M

1187449066   °kÄcÔ\.<89>.]þl ^M

1442283469   Æzï       ½öe´.^Hð<99> ^M

            #Ö"^D<80>ùóü.óïî/^M

-750037734   uw^Oçô<96>¶ù.܈Ã ^M

            ևágp<^G^Z.×vÉ/^M

-739326749   7ÆÃ*Ǒ^HÑ.w1<93> ^M

1105762157   'fъatæh.Âþg ^M

            £^Ufډ<81>öï.{o{/^M

1998399398   Òöf$Òërò.Ïʶ ^M

...-338747711   l^S]no^Y^?ó.£tÈ ^M

            ®^?;7^M

^Aå<87>.g\«/^M

-187738107   §@ë;֝^TÈ.å^A© ^M

            (w<95>Ì^LÊ^U3.ËØr/^M

55322162   ÿւn&ja«.ñòï ^M

1547707928   jË÷^\¼<84>ËÕ.<85>pá ^M

^M

33 file(s), 28 dir(s)^M

^M

bfin> ERROR: can not find uimage

Attempting to recover to u-boot prompt

got u-boot prompt

<INTERRUPT>^M

bfin> versionRecovered

 

===== Recording result: mmc is fail

Fail to find last passed mmc result!

 

Attempting to recover to u-boot prompt

^M

^M

U-Boot 2013.01 (ADI-2013R1-pre)-00326-gd0a4c06-dirty (Mar 06 2013 - 23:10:17)^M

bfin-uclinux-gcc (ADI-trunk/svn-5962) 4.3.5^M

GNU ld (ADI-trunk/svn-5956) 2.21^M

bfin> got u-boot prompt

<INTERRUPT>^M

bfin> versionRecovered

^M

^M

U-Boot 2013.01 (ADI-2013R1-pre)-00326-gd0a4c06-dirty (Mar 06 2013 - 23:10:17)^M

bfin-uclinux-gcc (ADI-trunk/svn-5962) 4.3.5^M

GNU ld (ADI-trunk/svn-5956) 2.21^M

bfin> ERROR: u-boot failed to reset

Attempting to recover to u-boot prompt

got u-boot prompt

<INTERRUPT>^M

bfin> versionRecovered

 

 

Follow-ups

 

--- Mingquan Pan                                             2013-03-07 04:18:20

fatls usb on bf609 also has this issue.

 

U-Boot 2013.01 (ADI-2013R1-pre)-00326-gd0a4c06-dirty (Mar 05 2013 - 03:03:07),

Build: jenkins-label=UBOOT_BF609-EZKIT-270^M

^M

CPU:   ADSP bf609-0.0 (Detected Rev: 0.0) (parallel flash boot)^M

Board: ADI BF609 EZ-Kit board^M

       Support: http://blackfin.uclinux.org/^M

Clock: VCO: 400 MHz, Core: 400 MHz, System0: 100 MHz, System1: 100 MHz, Dclk:

200 MHz^M

RAM:   128 MiB^M

Flash: 16 MiB^M

MMC:   Blackfin SDH: 0^M

In:    serial^M

Out:   serial^M

Err:   serial^M

other init^M

Net:   mii0^M

Hit any key to stop autoboowatchdog restart successfully

waiting for uboot prompt

t:  9 ^H^H^H 0 ^M

bfin> got u-boot prompt

icache off^M

bfin> dcache off^M

bfin> reginfo^M

^M

System Configuration registers^M

^M

CGU Registers^M

        CGU_DIV:   0x44022421   CGU_CTL:      0x00001000^M

        CGU_STAT:  0x000003f5   CGU_LOCKCNT:  0x00000000^M

^M

SMC DDR Registers^M

        DDR_CFG:   0x00000422   DDR_TR0:      0x20a07323^M

        DDR_TR1:   0x2016050f   DDR_TR2:      0x00320509^M

        DDR_MR:    0x00000632   DDR_EMR1:     0x00000004^M

        DDR_CTL:   0x00000900   DDR_STAT:     0x00402007^M

        DDR_DLLCTL:0x0000044b^M

 

*****************************

STEP 41: Test USB Storage

 

usb start^M

(Re)start USB...^M

USB0:   scanning bus 0 for devices... 1 USB Device(s) found^M

       scanning usb for storage devices... 1 Storage Device(s) found^M

bfin> fatls usb 0^M

            co^Wâuqg¦.cÅl/^M

            f<8c>]±³<8b>s<93>.<84>«Ò/^M

            Óû%^U|ïíÊ.<84>^Y^V/^M

            ·,ۿ¦Äwå.}ȧ/^M

-1392658410   ^Q^_/ßlù}^R.æ÷^_ ^M

            <9a>wñ®޽aå.¨r1/^M

            n^<83>^^QlÑx.ì<93>b/^M

            <9e>^FÎ<15>¡«.Ôa<80>/^M

^M

1 file(s), 7 dir(s)^M

^M

bfin> ERROR: can not find uimage

Attempting to recover to u-boot prompt

got u-boot prompt

<INTERRUPT>^M

bfin> versionRecovered

 

===== Recording result: usb is fail

 

--- Sonic Zhang                                              2013-03-11 06:08:55

There is a dos partition head detection bug in common part_dos.c.

Both DOS_MBR and DOS_PBR are correct block types.

 

--- Mingquan Pan                                             2013-03-12 06:11:33

fatls ok now.

 

U-Boot 2013.01 (ADI-2013R1-pre)-00328-g4592adf-dirty (Mar 11 2013 - 23:57:11),

Build: jenkins-label=UBOOT_BF609-EZKIT-273^M

^M

CPU:   ADSP bf609-0.0 (Detected Rev: 0.0) (parallel flash boot)^M

Board: ADI BF609 EZ-Kit board^M

       Support: http://blackfin.uclinux.org/^M

Clock: VCO: 500 MHz, Core: 500 MHz, System0: 100 MHz, System1: 100 MHz, Dclk:

125 MHz^M

RAM:   128 MiB^M

Flash: 16 MiB^M

MMC:   Blackfin SDH: 0^M

In:    serial^M

Out:   serial^M

Err:   serial^M

other init^M

Net:   mii0^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 on^M

bfin> dcache off^M

bfin> reginfo^M

^M

System Configuration registers^M

^M

CGU Registers^M

        CGU_DIV:   0x44042521   CGU_CTL:      0x00001400^M

        CGU_STAT:  0x000003f5   CGU_LOCKCNT:  0x00000000^M

^M

SMC DDR Registers^M

        DDR_CFG:   0x00000422   DDR_TR0:      0x20705212^M

        DDR_TR1:   0x201003cf   DDR_TR2:      0x00320107^M

        DDR_MR:    0x00000422   DDR_EMR1:     0x00000004^M

        DDR_CTL:   0x00000900   DDR_STAT:     0x00402007^M

        DDR_DLLCTL:0x0000044b^M

bfin>

*****************************

STEP 39: Test MMC/SD

 

mmc rescan 0^M

bfin> mmcinfo^M

Device: Blackfin SDH^M

Manufacturer ID: 3^M

OEM: 5344^M

Name: SD02G ^M

Tran Speed: 25000000^M

Rd Block Len: 512^M

SD version 2.0^M

High Capacity: No^M

Capacity: 1.8 GiB^M

Bus Width: 4-bit^M

bfin> fatls mmc 0^M

10269288   uimage ^M

10269288   uimage ^M

^M

2 file(s), 0 dir(s)^M

^M

bfin> fatload mmc 0 0x1000000 uimage ^M

 

So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes