3bbdf5a6fc
commit e607ff630c upstream.
With the latest mkimage from U-Boot 2021.04, the generic defconfigs no
longer build, failing with:
/usr/bin/mkimage: verify_header failed for FIT Image support with exit code 1
This is expected after the linked U-Boot commits because '@' is
forbidden in the node names due to the way that libfdt treats nodes with
the same prefix but different unit addresses.
Switch the '@' in the node name to '-'. Drop the unit addresses from the
hash and kernel child nodes because there is only one node so they do
not need to have a number to differentiate them.
Cc: stable@vger.kernel.org
Link: https://source.denx.de/u-boot/u-boot/-/commit/79af75f7776fc20b0d7eb6afe1e27c00fdb4b9b4
Link: https://source.denx.de/u-boot/u-boot/-/commit/3f04db891a353f4b127ed57279279f851c6b4917
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
[nathan: Backport to 5.10, only apply to .its.S files that exist]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
33 lines
583 B
ArmAsm
33 lines
583 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = KERNEL_NAME;
|
|
#address-cells = <ADDR_CELLS>;
|
|
|
|
images {
|
|
kernel {
|
|
description = KERNEL_NAME;
|
|
data = /incbin/(VMLINUX_BINARY);
|
|
type = "kernel";
|
|
arch = "mips";
|
|
os = "linux";
|
|
compression = VMLINUX_COMPRESSION;
|
|
load = /bits/ ADDR_BITS <VMLINUX_LOAD_ADDRESS>;
|
|
entry = /bits/ ADDR_BITS <VMLINUX_ENTRY_ADDRESS>;
|
|
hash {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-default";
|
|
|
|
conf-default {
|
|
description = "Generic Linux kernel";
|
|
kernel = "kernel";
|
|
};
|
|
};
|
|
};
|