[pkg-fso-maint] Bug#582832: uboot-envtools: /etc/fw_env.config for Marvell guruplug

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon May 24 00:01:14 UTC 2010


Package: uboot-envtools
Version: 20081215-2
Severity: normal
Tags: patch

Hi folks--

I got one of the guruplug development kits (GuruPlug ServerPlus).

It ships with this bootloader:

 U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21)

that bootloader reports that there is 128KiB of environment parameters
(one eraseblock) at the end of "printenv" during uboot:

Environment size: 549/131068 bytes

The kernel has direct access to the NAND flash.

There appears to be only one copy of the parameters in the flash, all in
/dev/mtd0 (based on inspection of the /dev/mtd? character devices).

Using the attached file as /etc/fw_env.config enables fw_printenv and
fw_setenv to work properly.

Thanks for maintaining uboot-envtools!

	--dkg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-00007-g56678ec (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uboot-envtools depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib

uboot-envtools recommends no packages.

uboot-envtools suggests no packages.

-- no debconf information
-------------- next part --------------
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.

# for Marvell GuruPlug ServerPlus
# (in /proc/cpuinfo:
#  Hardware	: Marvell Plug2L Reference Board)

# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0		0x40000		0x20000		0x20000


More information about the pkg-fso-maint mailing list