[U-Boot] [PATCH v3 01/10] binman: Introduce binman, a tool for building binary images

Simon Glass sjg at chromium.org
Fri Oct 14 00:52:19 CEST 2016


Hi Masahiro,

On 4 October 2016 at 22:08, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Hi Simon,
>
>
> 2016-10-05 9:25 GMT+09:00 Simon Glass <sjg at chromium.org>:
>
>> +
>> +Image description format
>> +------------------------
>> +
>> +The binman node is called 'binman'. An example image description is shown
>> +below:
>> +
>> +       binman {
>> +               filename = "u-boot-sunxi-with-spl.bin";
>> +               pad-byte = <0xff>;
>> +               blob {
>> +                       filename = "spl/sunxi-spl.bin";
>> +               };
>> +               u-boot {
>> +                       pos = <CONFIG_SPL_PAD_TO>;
>> +               };
>> +       };
>
>
> Oh my, finally CONFIG_ in device tree.
>
> If CONFIG_SPL_OF_CONTROL is enabled, SPL can parse "/binman/u-boot/pos" property
> to know which offset address SPL should load U-Boot proper from,
> then remove CONFIG_SPL_PAD_TO.
> Otherwise, I have no idea to avoid this.

Yes we can do that. but in any case we need this CONFIG in the DT. I
think this CONFIG (or one depending on it) is also used in the build
to provide the link address for U-Boot.

Regards,
Simon


More information about the U-Boot mailing list