[#6880] reset on 526 after doing flash erase and copy operation without save would fail

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

[#6880] reset on 526 after doing flash erase and copy operation without save would fail

Submitted By: Mingquan Pan

Open Date

2011-11-14 04:03:25    

Priority:

Medium     Assignee:

Bob Liu

Category:

N/A     Fixed In Release:

2011R1

Found In Release:

2011R1     Status:

Open

Board:

N/A     Processor:

BF526

Silicon Revision:

    Resolution:

Assigned (Not Start)

Is the bug repeatable?:

N/A     

Summary: reset on 526 after doing flash erase and copy operation without save would fail

Details:

 

reset  on 526  after doing flash erase and copy operation but without save  would fail .

 

U-Boot 2011.09-dirty (ADI-2011R1) (Nov 13 2011 - 17:29:00)

 

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

Board: ADI BF526 EZ-Board board

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

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 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> tftp 0x1000000 uImage

Using bfin_mac device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

     ############################################

done

Bytes transferred = 1592643 (184d43 hex)

bfin> protect off 0x20100000 0x202FFFFF

................................ done

Un-Protected 32 sectors

bfin> erase 0x20100000 0x202FFFFF

 

................................ done

Erased 32 sectors

bfin> iminfo 0x20100000

 

## Checking Image at 20100000 ...

Unknown image format!

bfin> cp.b 0x1000000 0x20100000 $(filesize)

Copy to Flash... 9....8....7....6....5....4....3....2....1....done

bfin> iminfo 0x20100000                   

 

## Checking Image at 20100000 ...

   Legacy image found

   Image Name:   bf526-0.0-3.0.8-ADI-2011R1-svn10

   Created:      2011-11-14   7:24:40 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1592579 Bytes = 1.5 MiB

   Load Address: 00001000

   Entry Point:  001d2cd4

   Verifying Checksum ... OK

bfin> reset

 

It stucks here.

 

Press on reset button and board restart again, but iminfo fails.

U-Boot 2011.09-dirty (ADI-2011R1) (Nov 13 2011 - 17:29:00)

 

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

Board: ADI BF526 EZ-Board board

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

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 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> iminfo

 

## Checking Image at 01000000 ...

Unknown image format!

 

 

Follow-ups

 

--- Bob Liu                                                  2011-11-24 22:35:18

duplicated with 6851

 

--- Bob Liu                                                  2011-11-24 22:39:36

Sorry for last message.

This bug can reproduce, and there is no solution currently.

Using save can work round it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes