diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-12-24 23:07:39 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-01-03 14:28:13 +0100 |
commit | 93842b20dcb87cf55af53a8ff54209aa19adc6a1 (patch) | |
tree | 3bab80d9b925decc2999e7fa413b72838ac21af5 | |
parent | 18b10db2f1945e9af4fcd5476fef808c15623cc5 (diff) | |
download | upstream-93842b20dcb87cf55af53a8ff54209aa19adc6a1.tar.gz upstream-93842b20dcb87cf55af53a8ff54209aa19adc6a1.tar.bz2 upstream-93842b20dcb87cf55af53a8ff54209aa19adc6a1.zip |
bcm4908: include ATF in bootfs images
It's required for proper booting.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 65974aa18bf49005509e0c31ee3f3aa6fb186015)
-rw-r--r-- | target/linux/bcm4908/image/Makefile | 1 | ||||
-rw-r--r-- | target/linux/bcm4908/image/bootfs-generic.its | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/bcm4908/image/Makefile b/target/linux/bcm4908/image/Makefile index 09a8ddedee..93a28b7e9d 100644 --- a/target/linux/bcm4908/image/Makefile +++ b/target/linux/bcm4908/image/Makefile @@ -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 diff --git a/target/linux/bcm4908/image/bootfs-generic.its b/target/linux/bcm4908/image/bootfs-generic.its index 6d8b3394ae..3cde532d72 100644 --- a/target/linux/bcm4908/image/bootfs-generic.its +++ b/target/linux/bcm4908/image/bootfs-generic.its @@ -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}"); |