mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 03:03:05 +00:00
82337bb6b6
Binman interfaces allow attempts to replace any entry in the image with arbitrary data. When trying to replace sections, the changes in the section entry's data are not propagated to its child entries. This, combined with how sections rebuild their contents from its children, eventually causes the replaced contents to be silently overwritten by rebuilt contents equivalent to the original data. Add a simple test for replacing a section that is currently failing due to this behaviour, and mark it as an expected failure. Also, raise an error when replacing a section instead of silently pretending it was replaced. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
23 lines
203 B
Text
23 lines
203 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
binman {
|
|
allow-repack;
|
|
|
|
u-boot-dtb {
|
|
};
|
|
|
|
section {
|
|
blob {
|
|
filename = "compress";
|
|
};
|
|
|
|
u-boot {
|
|
};
|
|
};
|
|
|
|
fdtmap {
|
|
};
|
|
};
|
|
};
|