
14 Oct
2016
14 Oct
'16
12:52 a.m.
Hi Masahiro,
On 4 October 2016 at 22:08, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Hi Simon,
2016-10-05 9:25 GMT+09:00 Simon Glass sjg@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