[U-Boot-Users] Setting up environment variables under linux
Juergen Oberhofer
j.oberhofer at gmx.at
Sat Apr 24 17:40:54 CEST 2004
Hi,
I mapped the environment 'partition' to /dev/mtd2. Using
cat /dev/mtd2, I am able to read all the environment variables.
Now, I tried to use the fw_printenv tool to get a specific variable,
but this led to a crc-error (Warning: Bad CRC, using default environment)
My mtd2 partition is on 0x8000 - 0xc000,
so I configured fw_env.h:
DEVICE1_OFFSET 0x0000
DEVICE1_ESIZE 0x4000
ENV1_SIZE 0x4000
Does anybody know where the problem could be?
Regards
Juergen
--
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl
More information about the U-Boot
mailing list