[U-Boot] About environment variables

Paolo Palmieri paolopal at gmail.com
Mon Sep 10 13:16:23 CEST 2012


Hi,
on my STB I've a problem related to the environment variables, they
seem corrupted and I'm not able to restore it. Can you help me?
Here the output of the printenv/saveenv cmds trying to save a new variable:

PDK7105> printenv
---> A LOT OF 0xFFFFFFFF <---
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyAS0,115200 rw ramdisk_size=6144 root=/dev/ram0
init=/linuxrc nwhwconf=device:eth0,hwaddr:00:001111
ip=192.168.0.69:192.168.3.119:192.168.3.1:255.255. 0.0:Spark:eth0:off
stmmaceth=msglvl:0,phyaddr:1,watchdog:5000 bigphysarea=7000
Environment size: 2406/131068 bytes
PDK7105> saveenv
Saving Environment to SPI Serial Flash...
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Jun 19 2012 - 1744) - stm23_0051 - YW_1.1.005 overclock
DRAM: 256 MiB
Panel: VFD
NAND: Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
512 MiB
SPI: ERROR: Unknown SPI Device detected, devid = 0x01, 0x02, 0x14
ERROR: Offset out of range (max=0xffffffff)
In: serial
Out: serial
Err: serial
Ident ic exist
Ident ic get stb id
IdentID : 0c 00 0a 00 00 09 6e
PDK7105> printenv
---> A LOT OF 0xFFFFFFFF <---
stdin=serial
stdout=serial
stderr=serial
Environment size: 2150/131068 bytes
PDK7105>

BR,
Paolo


More information about the U-Boot mailing list