Skip to content

Commit

Permalink
bcm4908: include ATF in bootfs images
Browse files Browse the repository at this point in the history
It's required for proper booting.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  • Loading branch information
Rafał Miłecki committed Dec 24, 2021
1 parent f18288e commit 65974aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/bcm4908/image/Makefile
Expand Up @@ -9,6 +9,7 @@ DEVICE_VARS += PKGTB_ITS

define Image/Prepare
cp bootfs-generic.its $(KDIR)/
sed -i "s=\$$$${images_dir}=$(STAGING_DIR_IMAGE)=" $(KDIR)/bootfs-generic.its
sed -i "s=\$$$${dts_dir}=$(DTS_DIR)=" $(KDIR)/bootfs-generic.its
endef

Expand Down
15 changes: 15 additions & 0 deletions target/linux/bcm4908/image/bootfs-generic.its
Expand Up @@ -7,6 +7,21 @@
#address-cells = <1>;

images {
atf {
description = "ATF";
data = /incbin/("${images_dir}/bl31.bin");
type = "firmware";
arch = "arm64";
os = "arm-trusted-firmware";
compression = "none";
load = <0x4000>;
entry = <0x4000>;

hash-1 {
algo = "sha256";
};
};

kernel {
description = "Linux kernel";
data = /incbin/("${kernel}");
Expand Down

0 comments on commit 65974aa

Please sign in to comment.