conf: machine: am64xx-hs-evm: Fix naming of u-boot.img
PATCH 1/1 conf: machine: am64xx-hs-evm: Fix naming of u-boot.img
All the HS platforms generate the u-boot binary as u-boot.img_HS but the bootloader expects the binary to be named as u-boot.img
Due to this mismatch, script cannot find the required image to be added in the WIC image. Fix this by overwriting the UBOOT_IMAGE variable via conf file.
--- conf/machine/am64xx-hs-evm.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
conf/machine/am64xx-hs-evm.conf +2 -1
@@ -17,6 +17,7 @@ UBOOT_DTBO_OFFSET = "0x00010000" SPL_BINARY = "tispl.bin_HS" SPL_BINARYNAME = "tispl.bin" UBOOT_BINARY = "u-boot.img_HS" -IMAGE_BOOT_FILES = "${UBOOT_BINARY}" +UBOOT_IMAGE = "u-boot.img" +IMAGE_BOOT_FILES = "${UBOOT_IMAGE}" TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
Signature · 1 line
2.17.1
Quoted 6 lines · Aparna M via lists.yoctoproject.org
All the HS platforms generate the u-boot binary as u-boot.img_HS but the bootloader expects the binary to be named as u-boot.img
Due to this mismatch, script cannot find the required image to be added in the WIC image. Fix this by overwriting the
UBOOT_IMAGEvariable via conf file.
Can you please clarify which script cannot find the image? Thanks! Also, how does it work for am65xx HS, j721e HS, j7200 HS? Why only am64xx HS?
Quoted 22 lines
Signed-off-by Nikhil Devshatwar <[email protected]>Signed-off-by Aparna M <[email protected]>--- conf/machine/am64xx-hs-evm.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)conf/machine/am64xx-hs-evm.conf +2
-1@@ -17,6 +17,7 @@ UBOOT_DTBO_OFFSET = "0x00010000" SPL_BINARY = "tispl.bin_HS" SPL_BINARYNAME = "tispl.bin" UBOOT_BINARY = "u-boot.img_HS" -IMAGE_BOOT_FILES = "${UBOOT_BINARY}" +UBOOT_IMAGE = "u-boot.img" +IMAGE_BOOT_FILES = "${UBOOT_IMAGE}" TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"Signature · 1 line
2.17.1
Quoted 9 lines · Denys Dmytriyenko
Quoted 6 lines · Aparna M via lists.yoctoproject.org
All the HS platforms generate the u-boot binary as u-boot.img_HS but the bootloader expects the binary to be named as u-boot.img
Due to this mismatch, script cannot find the required image to be added in the WIC image. Fix this by overwriting the
UBOOT_IMAGEvariable via conf file.Can you please clarify which script cannot find the image? Thanks!
The wic file generation scripts that pick up files for the boot partition from the IMAGE_BOOT_FILES variable is unable to find u-boot.img. As a result, the generated wic image does not package the uboot binary and fails.
Quoted 3 lines
Also, how does it work for am65xx HS, j721e HS, j7200 HS? Why only am64xx HS?
The previous releases for these three platforms did not include wic images. I believe this issue might be present in these platforms as well.
Quoted 23 lines
Quoted 23 lines
Signed-off-by Nikhil Devshatwar <[email protected]>Signed-off-by Aparna M <[email protected]>--- conf/machine/am64xx-hs-evm.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)conf/machine/am64xx-hs-evm.conf +2
-1@@ -17,6 +17,7 @@ UBOOT_DTBO_OFFSET = "0x00010000" SPL_BINARY = "tispl.bin_HS" SPL_BINARYNAME = "tispl.bin" UBOOT_BINARY = "u-boot.img_HS" -IMAGE_BOOT_FILES = "${UBOOT_BINARY}" +UBOOT_IMAGE = "u-boot.img" +IMAGE_BOOT_FILES = "${UBOOT_IMAGE}" TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"Signature · 1 line
2.17.1
Quoted 9 lines · Aparna M via lists.yoctoproject.org
Quoted 8 lines · Denys Dmytriyenko
Quoted 6 lines · Aparna M via lists.yoctoproject.org
All the HS platforms generate the u-boot binary as u-boot.img_HS but the bootloader expects the binary to be named as u-boot.img
Due to this mismatch, script cannot find the required image to be added in the WIC image. Fix this by overwriting the
UBOOT_IMAGEvariable via conf file.
Quoted 6 lines
Quoted 1 line
Can you please clarify which script cannot find the image? Thanks!
The wic file generation scripts that pick up files for the boot partition from the
IMAGE_BOOT_FILESvariable is unable to find u-boot.img. As a result, the generated wic image does not package the uboot binary and fails.
I don't see the failure. wic image picks up everything listed in IMAGE_BOOT_FILES variable and it is set right there to contain UBOOT_BINARY, which is set to u-boot.img_HS
HS platforms boot differently and they use FIT image along with other artifacts. I don't believe wic image was ever used for HS platforms...
So, I believe you have some other problem and this is not the right fix for it.
Quoted 30 lines
Quoted 2 lines
Also, how does it work for am65xx HS, j721e HS, j7200 HS? Why only am64xx HS?
The previous releases for these three platforms did not include wic images. I believe this issue might be present in these platforms as well.
Quoted 23 lines
Quoted 23 lines
Signed-off-by Nikhil Devshatwar <[email protected]>Signed-off-by Aparna M <[email protected]>--- conf/machine/am64xx-hs-evm.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)conf/machine/am64xx-hs-evm.conf +2
-1@@ -17,6 +17,7 @@ UBOOT_DTBO_OFFSET = "0x00010000" SPL_BINARY = "tispl.bin_HS" SPL_BINARYNAME = "tispl.bin" UBOOT_BINARY = "u-boot.img_HS" -IMAGE_BOOT_FILES = "${UBOOT_BINARY}" +UBOOT_IMAGE = "u-boot.img" +IMAGE_BOOT_FILES = "${UBOOT_IMAGE}" TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"Signature · 1 line
2.17.1
Hi,
I looked into wic images generated for am64xx HS, am65xx HS, j7 HS and j7200 HS - the issue seems to be similar. The boot partition contains u-boot.img_HS file but other boot binaries are missing. Please wait before further review. Will get back with updates.
Thanks,
Aparna