[U-Boot-Users] Building fw_printenv ?
Steven Scholz
steven.scholz at imc-berlin.de
Thu Mar 10 13:00:42 CET 2005
Wolfgang Denk wrote:
> In message <42303056.3010305 at imc-berlin.de> you wrote:
>
>>how can I build fw_printenv?
>
>
> -> cd tools/env
> -> make
> ln -s ../../lib_generic/crc32.c crc32.c
> cc -M -DUSE_HOSTCC crc32.c fw_env.c fw_env_main.c > .depend
> ppc_8xx-gcc -Wall -DUSE_HOSTCC crc32.c fw_env.c fw_env_main.c -o fw_printenv
Ok.
I had to put "-I ../../include" in the Makefile for zlib.h as well.
And for my linux-2.6 with new MTD I have to use
-#include <linux/mtd/mtd.h>
+#include <mtd/mtd-user.h>
Thanks.
--
Steven
More information about the U-Boot
mailing list