summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManorit Chawdhry <m-chawdhry@ti.com>2022-06-09 09:59:09 -0500
committerRyan Eatmon <reatmon@ti.com>2022-06-23 09:22:05 -0500
commit5e1204d728aaa581cdc3198414754bef5c08aff4 (patch)
tree894fe0bfefc7a8b3b218dd6f3815d7e0e3781920
parentc020b3c4f2e2b32115f97e781f08505cbc667bfe (diff)
downloadmeta-ti-5e1204d728aaa581cdc3198414754bef5c08aff4.tar.gz
conf: machine: wic: Fix HS image boot partition
IMAGE_BOOT_FILES was being overwritten in the HS recipes leading to incomplete binaries in /boot and the naming of the binaries were not correct. Fixes /boot partition for HS devices. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> [afd: Extended fix to all HS platforms] Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--conf/machine/am64xx-hs-evm.conf3
-rw-r--r--conf/machine/am65xx-hs-evm.conf3
-rw-r--r--conf/machine/include/k3.inc5
-rw-r--r--conf/machine/j7-hs-evm.conf3
-rw-r--r--conf/machine/j7200-hs-evm.conf3
5 files changed, 7 insertions, 10 deletions
diff --git a/conf/machine/am64xx-hs-evm.conf b/conf/machine/am64xx-hs-evm.conf
index 44e81463..ebbe2e62 100644
--- a/conf/machine/am64xx-hs-evm.conf
+++ b/conf/machine/am64xx-hs-evm.conf
@@ -15,8 +15,7 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000"
15UBOOT_DTBO_OFFSET = "0x00010000" 15UBOOT_DTBO_OFFSET = "0x00010000"
16 16
17SPL_BINARY = "tispl.bin_HS" 17SPL_BINARY = "tispl.bin_HS"
18SPL_BINARYNAME = "tispl.bin"
19UBOOT_BINARY = "u-boot.img_HS" 18UBOOT_BINARY = "u-boot.img_HS"
20IMAGE_BOOT_FILES = "${UBOOT_BINARY}" 19UBOOT_SYMLINK = "u-boot.img"
21 20
22TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" 21TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
diff --git a/conf/machine/am65xx-hs-evm.conf b/conf/machine/am65xx-hs-evm.conf
index e4eebb6a..de92cacb 100644
--- a/conf/machine/am65xx-hs-evm.conf
+++ b/conf/machine/am65xx-hs-evm.conf
@@ -15,8 +15,7 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000"
15UBOOT_DTBO_OFFSET = "0x00010000" 15UBOOT_DTBO_OFFSET = "0x00010000"
16 16
17SPL_BINARY = "tispl.bin_HS" 17SPL_BINARY = "tispl.bin_HS"
18SPL_BINARYNAME = "tispl.bin"
19UBOOT_BINARY = "u-boot.img_HS" 18UBOOT_BINARY = "u-boot.img_HS"
20IMAGE_BOOT_FILES = "${UBOOT_BINARY}" 19UBOOT_SYMLINK = "u-boot.img"
21 20
22TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" 21TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
diff --git a/conf/machine/include/k3.inc b/conf/machine/include/k3.inc
index e0970698..f85e6b98 100644
--- a/conf/machine/include/k3.inc
+++ b/conf/machine/include/k3.inc
@@ -22,6 +22,7 @@ UBOOT_ENTRYPOINT = "0x80008000"
22UBOOT_LOADADDRESS = "0x80008000" 22UBOOT_LOADADDRESS = "0x80008000"
23 23
24SPL_BINARY = "tispl.bin" 24SPL_BINARY = "tispl.bin"
25SPL_BINARYNAME = "tispl.bin"
25UBOOT_SUFFIX = "img" 26UBOOT_SUFFIX = "img"
26 27
27EXTRA_IMAGEDEPENDS += "virtual/bootloader" 28EXTRA_IMAGEDEPENDS += "virtual/bootloader"
@@ -40,8 +41,8 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci"
40 41
41IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" 42IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
42 43
43IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" 44IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb"
44IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin" 45IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
45 46
46IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}" 47IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}"
47 48
diff --git a/conf/machine/j7-hs-evm.conf b/conf/machine/j7-hs-evm.conf
index f2e3ccf5..ece0d85e 100644
--- a/conf/machine/j7-hs-evm.conf
+++ b/conf/machine/j7-hs-evm.conf
@@ -15,9 +15,8 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000"
15UBOOT_DTBO_OFFSET = "0x00010000" 15UBOOT_DTBO_OFFSET = "0x00010000"
16 16
17SPL_BINARY = "tispl.bin_HS" 17SPL_BINARY = "tispl.bin_HS"
18SPL_BINARYNAME = "tispl.bin"
19UBOOT_BINARY = "u-boot.img_HS" 18UBOOT_BINARY = "u-boot.img_HS"
20IMAGE_BOOT_FILES = "${UBOOT_BINARY}" 19UBOOT_SYMLINK = "u-boot.img"
21 20
22BBMULTICONFIG += "k3r5-sr1-1" 21BBMULTICONFIG += "k3r5-sr1-1"
23 22
diff --git a/conf/machine/j7200-hs-evm.conf b/conf/machine/j7200-hs-evm.conf
index a5bd637e..8821ffac 100644
--- a/conf/machine/j7200-hs-evm.conf
+++ b/conf/machine/j7200-hs-evm.conf
@@ -15,8 +15,7 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000"
15UBOOT_DTBO_OFFSET = "0x00010000" 15UBOOT_DTBO_OFFSET = "0x00010000"
16 16
17SPL_BINARY = "tispl.bin_HS" 17SPL_BINARY = "tispl.bin_HS"
18SPL_BINARYNAME = "tispl.bin"
19UBOOT_BINARY = "u-boot.img_HS" 18UBOOT_BINARY = "u-boot.img_HS"
20IMAGE_BOOT_FILES = "${UBOOT_BINARY}" 19UBOOT_SYMLINK = "u-boot.img"
21 20
22TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" 21TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"