[#6886] 548 nand uboot fails to remember environment param after erase part of nand section

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

[#6886] 548 nand uboot fails to remember environment param after erase part of nand section

Submitted By: Mingquan Pan

Open Date

2011-11-17 01:00:17     Close Date

2011-11-18 02:18:18

Priority:

Medium     Assignee:

Nobody

Category:

N/A     Fixed In Release:

2011R1

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF548

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: 548 nand uboot fails to remember environment param after erase part of nand section

Details:

 

548 nand uboot fails to remember environment param after erase part of nand section.

 

U-Boot 2011.09-dirty (ADI-2011R1) (Nov 16 2011 - 14:26:07)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.2) (nand flash boot)

Board: ADI BF548 EZ-Kit board

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

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MiB

Flash: 16 MiB

NAND:  256 MiB

MMC:   Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   smc911x-0Warning: failed to set MAC address

 

Hit any key to stop autoboot:  0

bfin>  nand erase 0x0 0x200000

 

NAND erase: device 0 offset 0x0, size 0x200000

Erasing at 0x1e0000 -- 100% complete.

OK

bfin> reset�

 

U-Boot 2011.09-dirty (ADI-2011R1) (Nov 16 2011 - 14:26:07)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.2) (nand flash boot)

Board: ADI BF548 EZ-Kit board

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

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MiB

Flash: 16 MiB

NAND:  256 MiB

MMC:   Blackfin SDH: 0

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   smc911x-0Warning: failed to set MAC address

 

Hit any key to stop autoboot:  0

 

Is the environment param stored in these nand sectors ?

 

Follow-ups

 

--- Mingquan Pan                                             2011-11-18 02:31:25

when uboot is configed to nand uboot, its environment params are flashed to its

nand chip, while the nand uboot itself is still flashed on nor flash. So it is

expected saying warning -bad CRC, using default environment after doing nand

erasing 0x0 0x200000 which covers the sectors to store enviromnent params.

 

So close this.

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes