mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 20:43:32 +00:00
efddab6c36
At present only the image (which is a section) has a filename. Move this implementation to the entry_Section class so that any section can have a filename. With this, the section data is written to a file. This allows parts of an image to be written, along with the entire image. Make a note that this can be used to include the contents of a section in one image in another (later) image. Signed-off-by: Simon Glass <sjg@chromium.org>
29 lines
359 B
Text
29 lines
359 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
binman {
|
|
pad-byte = <0x26>;
|
|
size = <0x20>;
|
|
section@0 {
|
|
size = <0x10>;
|
|
pad-byte = <0x21>;
|
|
pad-before = <2>;
|
|
pad-after = <3>;
|
|
|
|
section {
|
|
filename = "outfile.bin";
|
|
u-boot {
|
|
};
|
|
};
|
|
};
|
|
section@1 {
|
|
u-boot {
|
|
};
|
|
};
|
|
};
|
|
};
|