[#5037] "saveenv" fails to execute on platforms of bf537/518f/561/527/548

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

[#5037] "saveenv" fails to execute on platforms of bf537/518f/561/527/548

Submitted By: Vivi Li

Open Date

2009-04-02 23:11:11     Close Date

2009-04-02 23:19:08

Priority:

Medium High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

N/A     Processor:

BF527

Silicon Revision:

    Resolution:

Duplicated

Is the bug repeatable?:

N/A     

Summary: "saveenv" fails to execute on platforms of bf537/518f/561/527/548

Details:

 

For bf537-stamp/bf518f-ezbrd/bf561-ezkit/bf527-ezkit/bf548-ezkit para boot mode, "saveenv" fails to execute, either fails at "write to Flash" or "erase flash".

 

Bellow are two examples:

--

U-Boot 2008.10-svn1778 (ADI-2009R1-pre) (Apr  1 2009 - 21:37:44)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

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

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz

RAM:   64 MB

Flash:  4 MB

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   Warning: Generating 'random' MAC address

Blackfin EMAC

MAC:   36:F2:FC:BA:86:83

Hit any key to stop autoboot:  0

bfin>

bfin> saveenv

Saving Environment to Flash...

. done

Un-Protected 1 sectors

Erasing Flash...

. done

Erased 1 sectors

Writing to Flash... Flash write timeout at address 20004000 data 80c080c0

Timeout writing to Flash

. done

Protected 1 sectors

bfin>

--

 

--

U-Boot 2008.10-svn1778 (ADI-2009R1-pre) (Apr  1 2009 - 23:32:57)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.3) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

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

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

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   MAC:   00:E0:22:FE:B1:3B

Hit any key to stop autoboot:  successful reset attempt

9 ^H^H^H 8 ^H^H^H 7 ^H^H^H 0

bfin> set uboot environment

set ipaddr 10.100.4.50

bfin> set serverip 10.100.4.174

bfin> set bootcmd run ramboot

bfin> save

Saving Environment to Flash...

Un-Protected 8 sectors

Erasing Flash...

.....Flash erase timeout at address 2000a000 data 185c185c

Flash erase timeout at address 2000c000 data 185c185c

Flash erase timeout at address 2000e000 data 185c185c

done

Erased 8 sectors

bfin>

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-04-02 23:19:08

dupe of [#5030]

 

--- Vivi Li                                                  2009-04-07 06:53:43

This bug has been fixed now.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes