diff options
author | Manorit Chawdhry <m-chawdhry@ti.com> | 2022-09-13 03:55:02 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-09-22 11:23:07 -0500 |
commit | 087da8901c1ace7b645f462761083afdfac4a413 (patch) | |
tree | c45c250906b5f791f5a129ee783d6d1355fcf773 /meta-ti-bsp | |
parent | ddff6686386e5ba662df05e7d3341265efc4d74b (diff) | |
download | meta-ti-087da8901c1ace7b645f462761083afdfac4a413.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>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-hs-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am65xx-hs-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 5 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j7200-hs-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721e-hs-evm.conf | 3 |
5 files changed, 7 insertions, 10 deletions
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf index 44e81463..ebbe2e62 100644 --- a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf | |||
@@ -15,8 +15,7 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000" | |||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | 15 | UBOOT_DTBO_OFFSET = "0x00010000" |
16 | 16 | ||
17 | SPL_BINARY = "tispl.bin_HS" | 17 | SPL_BINARY = "tispl.bin_HS" |
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | 18 | UBOOT_BINARY = "u-boot.img_HS" |
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | 19 | UBOOT_SYMLINK = "u-boot.img" |
21 | 20 | ||
22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | 21 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" |
diff --git a/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf index e4eebb6a..de92cacb 100644 --- a/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf | |||
@@ -15,8 +15,7 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000" | |||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | 15 | UBOOT_DTBO_OFFSET = "0x00010000" |
16 | 16 | ||
17 | SPL_BINARY = "tispl.bin_HS" | 17 | SPL_BINARY = "tispl.bin_HS" |
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | 18 | UBOOT_BINARY = "u-boot.img_HS" |
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | 19 | UBOOT_SYMLINK = "u-boot.img" |
21 | 20 | ||
22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | 21 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 911b59bd..5b5fb1b6 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -22,6 +22,7 @@ UBOOT_ENTRYPOINT = "0x80008000" | |||
22 | UBOOT_LOADADDRESS = "0x80008000" | 22 | UBOOT_LOADADDRESS = "0x80008000" |
23 | 23 | ||
24 | SPL_BINARY = "tispl.bin" | 24 | SPL_BINARY = "tispl.bin" |
25 | SPL_BINARYNAME = "tispl.bin" | ||
25 | UBOOT_SUFFIX = "img" | 26 | UBOOT_SUFFIX = "img" |
26 | 27 | ||
27 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | 28 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" |
@@ -38,8 +39,8 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci" | |||
38 | 39 | ||
39 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 40 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
40 | 41 | ||
41 | IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" | 42 | IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" |
42 | IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin" | 43 | IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin" |
43 | 44 | ||
44 | IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}" | 45 | IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}" |
45 | IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" | 46 | IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" |
diff --git a/meta-ti-bsp/conf/machine/j7200-hs-evm.conf b/meta-ti-bsp/conf/machine/j7200-hs-evm.conf index a5bd637e..8821ffac 100644 --- a/meta-ti-bsp/conf/machine/j7200-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/j7200-hs-evm.conf | |||
@@ -15,8 +15,7 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000" | |||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | 15 | UBOOT_DTBO_OFFSET = "0x00010000" |
16 | 16 | ||
17 | SPL_BINARY = "tispl.bin_HS" | 17 | SPL_BINARY = "tispl.bin_HS" |
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | 18 | UBOOT_BINARY = "u-boot.img_HS" |
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | 19 | UBOOT_SYMLINK = "u-boot.img" |
21 | 20 | ||
22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | 21 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" |
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf index 433863dd..56eaa64e 100644 --- a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf | |||
@@ -15,9 +15,8 @@ UBOOT_DTBO_LOADADDRESS = "0x83080000" | |||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | 15 | UBOOT_DTBO_OFFSET = "0x00010000" |
16 | 16 | ||
17 | SPL_BINARY = "tispl.bin_HS" | 17 | SPL_BINARY = "tispl.bin_HS" |
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | 18 | UBOOT_BINARY = "u-boot.img_HS" |
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | 19 | UBOOT_SYMLINK = "u-boot.img" |
21 | 20 | ||
22 | BBMULTICONFIG += "k3r5-sr1-1" | 21 | BBMULTICONFIG += "k3r5-sr1-1" |
23 | 22 | ||