[U-Boot] [RFC PATCH v2 03/20] sandbox: Add architecture image support
Simon Glass
sjg at chromium.org
Mon Sep 26 22:24:56 CEST 2011
Hi Mike,
On Mon, Sep 26, 2011 at 1:19 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> 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
Not sure yet, let's say no for now. Some of that code is in
'inaccessible' arch-specific directories anyway.
Regards,
Simon
>
More information about the U-Boot
mailing list