[#4604] environment variables can't be saved under spi boot mode for 548-ezkit

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

[#4604] environment variables can't be saved under spi boot mode for 548-ezkit

Submitted By: Vivi Li

Open Date

2008-11-04 05:04:47     Close Date

2008-11-05 05:25:51

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

N/A

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: environment variables can't be saved under spi boot mode for 548-ezkit

Details:

 

For 548-ezkit(from ver1.1 to ver1.4), environment variables can't be saved under spi boot mode.

 

--

U-Boot 2008.10-svn1455 (ADI-2009R1-pre) (Nov  4 2008 - 17:24:07)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.1)

Board: ADI BF548 EZ-Kit board

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

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

RAM:   64 MB

Flash: 16 MB

NAND:  0 MiB

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   Hit any key to stop autoboot:  0

bfin>

bfin> print

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

ipaddr=192.168.0.15

serverip=192.168.0.2

autoload=no

rootpath=/romfs

gatewayip=192.168.0.1

netmask=255.255.255.0

hostname=bf548-ezkit

loadaddr=0x1000000

ubootfile=u-boot.ldr

update=tftp $(loadaddr) $(ubootfile);eeprom write $(loadaddr) 0x0 $(filesize)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 892/8188 bytes

bfin> set ipaddr 10.100.4.50

bfin> set serverip 10.100.4.174

bfin> set gatewayip 10.100.4.174

bfin> save

Saving Environment to EEPROM...

.bfin> res

 

 

U-Boot 2008.10-svn1455 (ADI-2009R1-pre) (Nov  4 2008 - 17:24:07)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.1)

Board: ADI BF548 EZ-Kit board

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

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

RAM:   64 MB

Flash: 16 MB

NAND:  0 MiB

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   Hit any key to stop autoboot:  0

bfin>

bfin> print

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

ipaddr=192.168.0.15

serverip=192.168.0.2

autoload=no

rootpath=/romfs

gatewayip=192.168.0.1

netmask=255.255.255.0

hostname=bf548-ezkit

loadaddr=0x1000000

ubootfile=u-boot.ldr

update=tftp $(loadaddr) $(ubootfile);eeprom write $(loadaddr) 0x0 $(filesize)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 892/8188 bytes

bfin>

--

 

Follow-ups

 

--- Mike Frysinger                                           2008-11-04 05:54:22

should be fixed now

 

--- Vivi Li                                                  2008-11-05 05:25:51

OK now. Close this bug.

Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes