[meta-ti] [PATCH] recipe: u-boot: update recipe for more images
Tom Rini
trini at ti.com
Tue Feb 26 13:25:57 PST 2013
On 02/26/2013 04:22 PM, Denys Dmytriyenko wrote:
> On Tue, Feb 26, 2013 at 03:38:03PM -0500, Carlos Hernandez wrote:
>> On 02/26/2013 03:26 PM, Tom Rini wrote:
>>> On 02/26/2013 03:12 PM, Cyril Chemparathy wrote:
>>>> On 02/26/2013 02:53 PM, Murali Karicheri wrote:
>>>>> + Cyril,
>>>>>
>>>>> Cyril had worked on adding GPH format for u-boot. Want to hear from him
>>>>> why not used the u-boot-with-spl.bin build target.
>>>>>
>>>> Because u-boot-with-spl.bin does not wrap the spl image with a header
>>>> that the rom bootloader understands.
>>> What is the header we need? I assume it's not compatible with our
>>> previous headers. And if it's just a convenience for programming the
>>> flash, maybe we just stick with two files, to avoid further headaches
>>> upstream? It's a general rule that concatenating files would make
>>> programming easier, but it's a small savings on either end, yes? This
>>> would also make the packaging easier since it would just be
>>> SPL_IMAGE_FILE (or whatever) set to u-boot-spl.gph and so forth. Thanks!
>>>
>> I believe this is what the patch I submitted (to meta-arago) few
>> days ago do.
>> You need to define SPL_UART_BINARY in your recipe to enable the
>> extra do_install and do_deploy functionality.
>
> Correct, but it doesn't support GPH yet, only SPL, AFAIK. Can you look into
> extending it in such a way it can be used for any/all of the use cases easily?
Well, if it's just a header on the SPL binary we already have that as "MLO".
--
Tom
More information about the meta-ti
mailing list