Skip to contentSkip to conversation

bootelf command support for u-boot 1.1.2

U-Boot-Users Keichii Moto 2 participants 2 messages Mar 21, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I want to port NetBSD for pxa255 arm board.
I have to load an elf image for u-boot. I found out that my u-boot didn't have bootelf command, how do I enable this coomand? Thanks.
I took a look at my board's include file, it defined:

#define CONFIG_COMMANDS ( CONFIG_CMD_DFL \
|CFG_CMD_ELF \
....)

It means it can boot elf image file. Did I miss something?
Thanks.

-kt

__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

I have to load an elf image for u-boot. I found out that my u-boot didn't have bootelf command, how do I enable this coomand? Thanks.

Enbale CFG_CMD_ELF in your CONFIG_COMMANDS settings.

Quoted 8 lines

I took a look at my board's include file, it defined:

#define CONFIG_COMMANDS ( CONFIG_CMD_DFL \
|CFG_CMD_ELF \
....)

It means it can boot elf image file. Did I miss
something?

This looks OK, but of course there might be other problems with your board config file and/or build process. Remember that GNU make is needed.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
       There is enough for the need of everyone in this world,
       but not for the greed of everyone.     - Mahatma Gandhi