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

Masahiro Yamada yamada.masahiro at socionext.com
Wed Oct 5 06:08:54 CEST 2016


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.




-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list