[#7718] fatls usb device on bf527 ezkit fails for Invalid partition

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

[#7718] fatls usb device on bf527 ezkit fails for Invalid partition

Submitted By: Mingquan Pan

Open Date

2013-03-27 03:36:48     Close Date

2013-03-29 03:15:35

Priority:

Medium     Assignee:

Nobody

Category:

N/A     Fixed In Release:

2013R1

Found In Release:

2013R1     Status:

Closed

Board:

N/A     Processor:

BF527

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: fatls usb device on bf527 ezkit fails for Invalid partition

Details:

 

fatls usb device on bf527 ezkit fails for Invalid partition from Mar 12.

 

U-Boot 2013.01 (ADI-2013R1-pre)-00328-g4592adf-dirty (Mar 12 2013 - 14:56:24)^M

^M

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

Board: ADI BF527 EZ-Kit board^M

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

Clock: VCO: 600 MHz, Core: 600 MHz, System: 50 MHz^M

RAM:   64 MiB^M

Flash: 4 MiB^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

bfin> dcache on^M

bfin> reginfo^M

^M

System Configuration registers^M

^M

PLL Registers^M

        PLL_DIV:   0x000c   PLL_CTL:      0x3000^M

        PLL_STAT:  0x00a2   PLL_LOCKCNT:  0x0300^M

        VR_CTL:    0x7090^M

^M

EBIU AMC Registers^M

        EBIU_AMGCTL:   0x00f9^M

        EBIU_AMBCTL0:  0xffc2ffc2   EBIU_AMBCTL1:  0xffc2ffc2^M

^M

EBIU SDC Registers^M

        EBIU_SDRRC:   0x03f6   EBIU_SDBCTL:  0x0025^M

        EBIU_SDSTAT:  0x0000   EBIU_SDGCTL:  0x8011998d^M

bfin>

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

STEP 43: 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

** Invalid partition 1 **^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

 

Follow-ups

 

--- Mingquan Pan                                             2013-03-28 06:12:58

It is ok now by format the usb device with:

dd if=/dev/zero of=/dev/sdb bs=1K count=10

and then fdisk it into FAT 32 and mkfs.vat the partition.

 

But the file seen in uboot always shows multiple lines while only one file

exists.

 

U-Boot 2013.01 (ADI-2013R1-pre)-00338-gf20bfed-dirty (Mar 27 2013 - 22:59:16),

Build: jenkins-label=UBOOT_BF527-EZKIT-9

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 600 MHz, Core: 600 MHz, System: 50 MHz

RAM:   64 MiB

Flash: 4 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   bfin_mac

Hit any key to stop autoboot:  0

bfin> usb start

(Re)start USB...

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

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

bfin> fatls usb 0   

  5293341   uimage

  5293341   uimage

 

2 file(s), 0 dir(s)

 

--- Mingquan Pan                                             2013-03-29 04:22:36

Close this issue. File another bug [7733] for the later problem.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes