Subject: Re: NetBSD support PXA255?
To: None <port-arm@netbsd.org>
From: Keichii Moto <keichiitoyota@yahoo.com>
List: port-arm
Date: 03/20/2005 23:01:11
Jachym Holecek wrote:
> > >   - You can try to load NetBSD as an ELF image
> > > (u-boot can do this,
> > >     but I didn't try AFAICR).
> > 
> > I just tried to load NetBSD as an ELF, 
> > it doesn't work.
> > 
> > # file netbsd
> > /root/netbsd: ELF 32-bit LSB executable, ARM,
> version
> > 1 (ARM), statically linked, not stripped
> > # 
> > ...
> > ## Total Size      = 0x0030c74e = 3196750 Bytes
> > ## Start Addr      = 0xA2000000                
> > U-Boot> boot                      
>           ^^^^
> You want to call bootelf (note that you need u-boot
> compiled with the
> CFG_CMD_ELF option). Please have a look at the
> README file, it may
> not be fully exhaustive, but certainly provides a
> goot starting point.
> Apart from that, every command has a short usage
> description (look for
> U_BOOT_CMD macro in the sources), and the code
> itself is well written.

Thanks for the quick reply. I took a look at my
board.h,
it defines:
#define CONFIG_COMMANDS (  CONFIG_CMD_DFL       \
| CFG_CMD_ELF \
....)
so it means it can boot elf image. The weird thing is
my u-boot doesn't have bootelf command. Did I miss
something? Thanks.
> 
> 	Regards,
> 		-- Jachym Holecek

-kt 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com