Subject: Re: NetBSD support PXA255?
To: Keichii Moto <keichiitoyota@yahoo.com>
From: Jachym Holecek <freza@liberouter.org>
List: port-arm
Date: 03/21/2005 07:29:37
> >   - 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.

	Regards,
		-- Jachym Holecek