From: Juergen Oberhofer Date: Sat, 24 Apr 2004 17:40:54 +0200 (MEST) Subject: [U-Boot-Users] Setting up environment variables under linux Message-ID: <29790.1082821254@www52.gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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