[U-Boot] [RFC PATCH v2 03/20] sandbox: Add architecture image support

Mike Frysinger vapier at gentoo.org
Mon Sep 26 22:19:36 CEST 2011


On Monday, September 26, 2011 15:39:28 Simon Glass wrote:
> On Sun, Sep 25, 2011 at 10:01 PM, Mike Frysinger wrote:
> > On Friday, September 23, 2011 12:22:05 Simon Glass wrote:
> >>  #elif defined(__sparc__)
> >>       if (!image_check_arch (hdr, IH_ARCH_SPARC))
> >> +#elif defined(CONFIG_SANDBOX_ARCH)
> >> +     if (0)
> >>  #else
> >>  # error Unknown CPU type
> >>  #endif
> > 
> > i wonder if this could be useful ... wouldn't it allow some testing of
> > uImages if we had image_check_arch(hdr, IN_ARCH_SANDBOX) ?
> 
> Possibly - it is a bit odd since we can't get the architecture from
> the compiler. it would need to go first in the list since sandbox can
> be built on any platform. I will take a look.

you want to be able to test other uImage formats ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110926/cf96ca94/attachment.pgp 


More information about the U-Boot mailing list