[U-Boot-Users] Using CFG_NO_FLASH and CFG_ENV_IS_NOWHERE

Hager, Johannes, HRD/AB johannes.hager at lfk.eads.net
Wed Jun 30 15:43:37 CEST 2004


Hi,
i am using the commands CFG_NO_FLASH and CFG_ENV_IS_NOWHERE to configure
u-boot 1.1.1 .
But I always get the following error on compiling:

cc --end-group \
                -Map u-boot.map -o u-boot
common/libcommon.a(cmd_nvedit.o)(.text+0x954): In function o_saveenv':
/home/hagejoha/ppc-projects/u-boot/u-boot-1.1.1/common/cmd_nvedit.c:535:
undefined reference to aveenv'
common/libcommon.a(cmd_nvedit.o)(.got2+0x50): In function o_printenv':
/home/hagejoha/ppc-projects/u-boot/u-boot-1.1.1/common/cmd_nvedit.c:119:
undefined reference to nv_name_spec'
make: *** [u-boot] Fehler 1

I used the following command to configure the commands:

#define REMOVE_COMMANDS	( CFG_CMD_AUTOSCRIPT | \
				  CFG_CMD_LOADS | \
				  CFG_CMD_ENV | \
				  CFG_CMD_FLASH )

#define CONFIG_COMMANDS	( (CONFIG_CMD_DFL & ~REMOVE_COMMANDS) )

Has anybody an idea what I am doing wrong?

Best regards,
Johannes




More information about the U-Boot mailing list