From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?utf-8?Q?Klotzb=C3=BCcher?= Date: Fri, 25 Jan 2008 10:42:30 +0100 Subject: [U-Boot-Users] Edit U-Boot Env with fw_printenv & fw_saveenv In-Reply-To: <15084184.post@talk.nabble.com> (Destrukto's message of "Fri\, 25 Jan 2008 01\:32\:55 -0800 \(PST\)") References: <15084184.post@talk.nabble.com> Message-ID: <87hch2fdh5.fsf@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Destrukto, Destrukto writes: > Well just a simple question, how can I use these commands. I found the > commands in the tools folder of U-Boot but they can't be compiled. So Compiles ok here: mk at lisa:~/src/git/u-boot$ make env make -C tools/env all MTD_VERSION= || exit 1 make[1]: Entering directory `/home/mk/src/git/u-boot/tools/env' make[1]: Leaving directory `/home/mk/src/git/u-boot/tools/env' make[1]: Entering directory `/home/mk/src/git/u-boot/tools/env' ppc_4xxFP-gcc -Wall -DUSE_HOSTCC crc32.c fw_env.c fw_env_main.c -o fw_printenv make[1]: Leaving directory `/home/mk/src/git/u-boot/tools/env' You have to use top of tree U-Boot as a compile fix was just merged recently. Also make sure to read tools/env/README. Best regards Markus Klotzbuecher -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de