diff options
author | Alper Nebi Yasak | 2020-08-31 12:58:20 +0300 |
---|---|---|
committer | Simon Glass | 2020-09-22 12:50:43 -0600 |
commit | fe05701b058c2944c288b60f4839d9b552acf059 (patch) | |
tree | 5aafedfbba3101f0add96fcaba54421572559d89 /configs/bubblegum_96_defconfig | |
parent | 3fdeb14d951b28fa18494b4c3f819ad33b5fcc09 (diff) |
binman: Build FIT image subentries with the section etype
When reading subentries of each image, the FIT entry type directly
concatenates their contents without padding them according to their
offset, size, align, align-size, align-end, pad-before, pad-after
properties.
This patch makes sure these properties are respected by offloading this
image-data building to the section etype, where each subnode of the
"images" node is processed as a section. Alignments and offsets are
respective to the beginning of each image. For example, the following
fragment can end up having "u-boot-spl" start at 0x88 within the final
FIT binary, while "u-boot" would then end up starting at e.g. 0x20088.
fit {
description = "example";
images {
kernel-1 {
description = "U-Boot with SPL";
type = "kernel";
arch = "arm64";
os = "linux";
compression = "none";
u-boot-spl {
};
u-boot {
align = <0x10000>;
};
};
};
}
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reinstate check in testPadInSections(), squash in
"binman: Allow FIT binaries to have missing external blobs"
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'configs/bubblegum_96_defconfig')
0 files changed, 0 insertions, 0 deletions