[PATCH v2 18/49] binman: Allow zero-length entries to overlap
Bin Meng
bmeng.cn at gmail.com
Mon Jun 29 08:54:37 CEST 2020
On Sun, Jun 14, 2020 at 10:57 AM Simon Glass <sjg at chromium.org> wrote:
>
> Some binary blobs unfortunately obtain their position in the image from
> other binary blobs, such as Intel's 'descriptor'. In this case we cannot
> rely on packing to work. It is not possible to produce a valid image in
> any case, due to the missing blobs.
>
> Allow zero-length overlaps so that this does not cause any problems.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> tools/binman/etype/section.py | 2 +-
> tools/binman/ftest.py | 4 ++++
> tools/binman/test/160_pack_overlap_zero.dts | 18 ++++++++++++++++++
> 3 files changed, 23 insertions(+), 1 deletion(-)
> create mode 100644 tools/binman/test/160_pack_overlap_zero.dts
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list