[U-Boot-Users] U-Boot 1.2 - Cannot run hello_world

Arun Biyani "abiyani at unix dot telasic dot com" at unix.telasic.com
Wed Jun 27 19:50:28 CEST 2007


nicky geerts wrote:
> try to add CFG_CMD_CACHE to the CONFIG_COMMANDS, although this options
> is packed with warnings in the README file
>
> 2007/6/26, at unix dot telasic dot com"@unix.telasic.com Arun Biyani 
> <"abiyani>:
>> 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?
>>
>>
>>
>> ------------------------------------------------------------------------- 
>>
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> U-Boot-Users mailing list
>> U-Boot-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>>
>
>
Thx. That worked.
Arun






More information about the U-Boot mailing list