[U-Boot-Users] U-Boot 1.2 - Cannot run hello_world
Arun Biyani
"abiyani at unix dot telasic dot com" at unix.telasic.com
Tue Jun 26 02:30:36 CEST 2007
Arun Biyani wrote:
> When I add CFG_CMD_ELF to the configuration, I get the error below.
> Maybe the CFG_CMD_ELF needs
> to be coupled with some other configuration option. Please help.
>
> My current definition is -
>
> #define CONFIG_COMMANDS ( \
> CONFIG_CMD_DFL | \
> CFG_CMD_ELF | \
> CFG_CMD_MII | \
> CFG_CMD_JFFS2 | \
> CFG_CMD_NET | \
> CFG_CMD_DHCP | \
> CFG_CMD_PING \
> )
>
> The error I get is - (dcache_status & dcache_disable missing):
>
> /home/local/bin/../lib/gcc/m68k-uclinux/4.1.1/m5307/msep-data -lgcc \
> -Map u-boot.map -o u-boot
> common/libcommon.a(cmd_elf.o): In function `do_bootelf':
> /home/abiyani/wrk/u-boot-1.2.0/common/cmd_elf.c:62: undefined reference
> to `dcache_status'
> /home/abiyani/wrk/u-boot-1.2.0/common/cmd_elf.c:63: undefined reference
> to `dcache_disable'
> make: *** [u-boot] Error 1
> [u-boot-1.2.0$:1046]
>
I get this error above if I add elf file support to u-boot for Coldfire
processor. Looks like cmd_elf.c
expects dcache_disable and dcache_status functions. Which library
provides these symbol values?
More information about the U-Boot
mailing list