omap-a15.inc: don't include ipu1 firmware in the boot partition
PATCH 1/1 omap-a15.inc: don't include ipu1 firmware in the boot partition
From: Denys Dmytriyenko <[email protected]>
This reverts commit c58af0b172660ef1248a3454af06251d872770b1.
This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435
--- meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-ti-bsp/conf/machine/include/omap-a15.inc +1 -2
@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Signature · 1 line
2.25.1
Quoted 10 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe. Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT... which cannot be easily moved to meta-ti-bsp.
A temporary fix might be to somehow add these inside of meta-ti-extras/conf/layer.conf?
However, I Ack the revert in case it is needed for now:
Quoted 15 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 9 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435
Quoted 8 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).
Huh, interesting - do you know the version where this started?
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 19 lines · Denys Dmytriyenko
Quoted 9 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).
Quoted 5 lines
Huh, interesting - do you know the version where this started?
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
That's what I was thinking...
Quoted 43 lines
Quoted 43 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 24 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-3@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#18400): https://lists.yoctoproject.org/g/meta-ti/message/18400
Mute This Topic: https://lists.yoctoproject.org/mt/111711244/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Quoted 16 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).
Quoted 5 lines
Huh, interesting - do you know the version where this started?
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Thanks,
Beleswar
Quoted 34 lines
Quoted 34 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Circling back to this...
Quoted 29 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
Quoted 6 lines
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Thanks,
Beleswar
Thanks, Beleswar.
Ryan, All,
How should this be fixed?
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 36 lines · Denys Dmytriyenko
Circling back to this...
Quoted 33 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 8 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 38 lines · Denys Dmytriyenko
Quoted 37 lines · Denys Dmytriyenko
Circling back to this...
Quoted 26 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
Quoted 6 lines
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Thanks,
BeleswarThanks, Beleswar.
Quoted 8 lines
Quoted 3 lines
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
Thanks
Udit
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 43 lines · Udit
Quoted 41 lines · Denys Dmytriyenko
Quoted 40 lines · Denys Dmytriyenko
Circling back to this...
Quoted 26 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
Quoted 6 lines
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Quoted 8 lines
Quoted 5 lines
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Quoted 37 lines
Thanks
Udit
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Udit
Quoted 46 lines · Denys Dmytriyenko
Quoted 33 lines · Denys Dmytriyenko
Circling back to this...
Quoted 30 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 7 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 8 lines
Quoted 3 lines
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Yeah I can work on making these updates in SDK layer for the time being.
While long term fix being to push prebuilt firmware to ti-linux-firmware... such that ti-ipc-rtos recipe can be moved to meta-ti-bsp & we can re-implement this in meta-ti-bsp too.
Denys,
One question:
The IMAGE_BOOT_FILES can be easily conditionally appended for omap-a15 but is there a simple way to add the do_image_wic task dependency conditionally in the SDK layer?
Since override syntax does not work with Variable flags, I imagine we will need to copy-paste the entire am57xx-evm.conf in the SDK layer with this addition?
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 38 lines
Quoted 38 lines
Thanks
Udit
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 74 lines · Aniket
Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Udit
Quoted 46 lines · Denys Dmytriyenko
Quoted 33 lines · Denys Dmytriyenko
Circling back to this...
Quoted 30 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 7 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 8 lines
Quoted 3 lines
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Yeah I can work on making these updates in SDK layer for the time being.
While long term fix being to push prebuilt firmware to ti-linux-firmware... such that ti-ipc-rtos recipe can be moved to meta-ti-bsp & we can re-implement this in meta-ti-bsp too.
Denys,
One question:
TheIMAGE_BOOT_FILEScan be easily conditionally appended for omap-a15 but is there a simple way to add thedo_image_wictask dependency conditionally in the SDK layer?
Quoted 5 lines
Since override syntax does not work with Variable flags, I imagine we will need to copy-paste the entire am57xx-evm.conf in the SDK layer with this addition?
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
I was thinking something along the lines (not tested):
WIC_EXTRA_RTOS_DEPENDS = "" WIC_EXTRA_RTOS_DEPENDS:omap-a15 = "ti-ipc-rtos:do_deploy" do_image_wic[depends] += "${WIC_EXTRA_RTOS_DEPENDS}"
IMAGE_BOOT_FILES:append:omap-a15 = " ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
This has to be done in a global namespace, i.e. in one of the .conf files, not in a recipe.
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 79 lines · Denys Dmytriyenko
Quoted 78 lines · Aniket
Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Udit
Quoted 46 lines · Denys Dmytriyenko
Quoted 33 lines · Denys Dmytriyenko
Circling back to this...
Quoted 30 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 7 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 8 lines
Quoted 3 lines
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Yeah I can work on making these updates in SDK layer for the time being.
While long term fix being to push prebuilt firmware to ti-linux-firmware... such that ti-ipc-rtos recipe can be moved to meta-ti-bsp & we can re-implement this in meta-ti-bsp too.
Denys,
One question:
TheIMAGE_BOOT_FILEScan be easily conditionally appended for omap-a15 but is there a simple way to add thedo_image_wictask dependency conditionally in the SDK layer?Since override syntax does not work with Variable flags, I imagine we will need to copy-paste the entire am57xx-evm.conf in the SDK layer with this addition?
Quoted 7 lines
Quoted 1 line
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
I was thinking something along the lines (not tested):
WIC_EXTRA_RTOS_DEPENDS= "" WIC_EXTRA_RTOS_DEPENDS:omap-a15 = "ti-ipc-rtos:do_deploy" do_image_wic[depends] += "${WIC_EXTRA_RTOS_DEPENDS}"
Ahhh of course... Yeah this should work
I can add these to the SDK layer once this is removed from here. Shouldn't be a problem
Once prebuilt firmware is available at ti-linux-firmware, we can add this back to meta-ti-bsp, along with moving the ti-ipc-rtos recipe to meta-ti-bsp.
Thanks,
Aniket
Quoted 38 lines
IMAGE_BOOT_FILES:append:omap-a15 = " ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
This has to be done in a global namespace, i.e. in one of the .conf files, not in a recipe.>
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Ryan,
Ping. This slipped through the cracs.
Quoted 140 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 79 lines · Denys Dmytriyenko
Quoted 78 lines · Aniket
Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Udit
Quoted 46 lines · Denys Dmytriyenko
Quoted 33 lines · Denys Dmytriyenko
Circling back to this...
Quoted 30 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 7 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 8 lines
Quoted 3 lines
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Yeah I can work on making these updates in SDK layer for the time being.
While long term fix being to push prebuilt firmware to ti-linux-firmware... such that ti-ipc-rtos recipe can be moved to meta-ti-bsp & we can re-implement this in meta-ti-bsp too.
Denys,
One question:
TheIMAGE_BOOT_FILEScan be easily conditionally appended for omap-a15 but is there a simple way to add thedo_image_wictask dependency conditionally in the SDK layer?Since override syntax does not work with Variable flags, I imagine we will need to copy-paste the entire am57xx-evm.conf in the SDK layer with this addition?
Quoted 7 lines
Quoted 1 line
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
I was thinking something along the lines (not tested):
WIC_EXTRA_RTOS_DEPENDS= "" WIC_EXTRA_RTOS_DEPENDS:omap-a15 = "ti-ipc-rtos:do_deploy" do_image_wic[depends] += "${WIC_EXTRA_RTOS_DEPENDS}"Ahhh of course... Yeah this should work
I can add these to the SDK layer once this is removed from here. Shouldn't be a problem
Once prebuilt firmware is available at ti-linux-firmware, we can add this back to meta-ti-bsp, along with moving the ti-ipc-rtos recipe to meta-ti-bsp.
Thanks,
AniketQuoted 38 lines
IMAGE_BOOT_FILES:append:omap-a15 = " ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
This has to be done in a global namespace, i.e. in one of the .conf files, not in a recipe.>
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Hi Denys
Quoted 3 lines · Denys Dmytriyenko
Ryan,
Ping. This slipped through the cracs.
This is WIP ,
we are working to push firmware first to ti firmware repo
Quoted 134 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 132 lines · Denys Dmytriyenko
Quoted 75 lines · Aniket
Quoted 74 lines · Denys Dmytriyenko
Quoted 48 lines · Udit
Quoted 47 lines · Denys Dmytriyenko
Quoted 46 lines · Denys Dmytriyenko
Quoted 33 lines
Circling back to this...
Quoted 30 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 7 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 7 lines
Quoted 3 lines
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Yeah I can work on making these updates in SDK layer for the time being.
While long term fix being to push prebuilt firmware to ti-linux-firmware... such that ti-ipc-rtos recipe can be moved to meta-ti-bsp & we can re-implement this in meta-ti-bsp too.
Denys,
One question:
TheIMAGE_BOOT_FILEScan be easily conditionally appended for omap-a15 but is there a simple way to add thedo_image_wictask dependency conditionally in the SDK layer?Since override syntax does not work with Variable flags, I imagine we will need to copy-paste the entire am57xx-evm.conf in the SDK layer with this addition?
Quoted 6 lines
Quoted 1 line
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
I was thinking something along the lines (not tested):
WIC_EXTRA_RTOS_DEPENDS= "" WIC_EXTRA_RTOS_DEPENDS:omap-a15 = "ti-ipc-rtos:do_deploy" do_image_wic[depends] += "${WIC_EXTRA_RTOS_DEPENDS}"Ahhh of course... Yeah this should work
I can add these to the SDK layer once this is removed from here. Shouldn't be a problem
Once prebuilt firmware is available at ti-linux-firmware, we can add this back to meta-ti-bsp, along with moving the ti-ipc-rtos recipe to meta-ti-bsp.
Thanks,
AniketQuoted 37 lines
IMAGE_BOOT_FILES:append:omap-a15 = " ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
This has to be done in a global namespace, i.e. in one of the .conf files, not in a recipe.>
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +1
-2@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 10 lines · Udit
Hi Denys
Quoted 3 lines · Denys Dmytriyenko
Ryan,
Ping. This slipped through the cracs.
This is WIP ,
we are working to push firmware first to ti firmware repo
Thanks for the update.
Quoted 133 lines
Quoted 133 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 132 lines · Denys Dmytriyenko
Quoted 75 lines · Aniket
Quoted 74 lines · Denys Dmytriyenko
Quoted 48 lines · Udit
Quoted 47 lines · Denys Dmytriyenko
Quoted 46 lines · Denys Dmytriyenko
Quoted 33 lines
Circling back to this...
Quoted 30 lines · Beleswar Padhi via lists.yoctoproject.org
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit c58af0b172660ef1248a3454af06251d872770b1.
This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Cc: Aniket Limaye <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]
---The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects
the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).Huh, interesting - do you know the version where this started?
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 3 lines
If it is indeed a hard requirement to boot the platform now, another option is to get a prebuilt binary into ti-linux-firmware and pull it from there, instead of building it from sources using legacy tools...
This is great too. However, meta-ti should still have the deploy rule to pick the pre-built firmware and put it into the boot partition.
Quoted 7 lines
Quoted 2 lines
Thanks,
BeleswarThanks, Beleswar.
Ryan, All,
How should this be fixed?
Ping.
Since nobody's working on adding a prebuilt binary to ti-linux-firmware, then this should be reverted as is for now, IMHO.
Quoted 7 lines
Quoted 3 lines
Until, we don't have this fw in ti-linux-firmware,
need to get it through build :(
As discussed - reverting this won't affect the build, it won't even affect the platform boot. It only affects rproc boot, which can be resolved by moving this code to a curresponding SDK layer.
Yeah I can work on making these updates in SDK layer for the time being.
While long term fix being to push prebuilt firmware to ti-linux-firmware... such that ti-ipc-rtos recipe can be moved to meta-ti-bsp & we can re-implement this in meta-ti-bsp too.
Denys,
One question:
TheIMAGE_BOOT_FILEScan be easily conditionally appended for omap-a15 but is there a simple way to add thedo_image_wictask dependency conditionally in the SDK layer?Since override syntax does not work with Variable flags, I imagine we will need to copy-paste the entire am57xx-evm.conf in the SDK layer with this addition?
Quoted 6 lines
Quoted 1 line
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
I was thinking something along the lines (not tested):
WIC_EXTRA_RTOS_DEPENDS= "" WIC_EXTRA_RTOS_DEPENDS:omap-a15 = "ti-ipc-rtos:do_deploy" do_image_wic[depends] += "${WIC_EXTRA_RTOS_DEPENDS}"Ahhh of course... Yeah this should work
I can add these to the SDK layer once this is removed from here. Shouldn't be a problem
Once prebuilt firmware is available at ti-linux-firmware, we can add this back to meta-ti-bsp, along with moving the ti-ipc-rtos recipe to meta-ti-bsp.
Thanks,
AniketQuoted 37 lines
IMAGE_BOOT_FILES:append:omap-a15 = " ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
This has to be done in a global namespace, i.e. in one of the .conf files, not in a recipe.>
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
Quoted 32 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from
meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe.
Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras
due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT...
which cannot be easily moved to meta-ti-bsp.A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 14 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/conf/machine/include/omap-a15.inc
index a258decd..be086936 100644
--- a/meta-ti-bsp/conf/machine/include/omap-a15.inc
+++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc
@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
WKS_FILE ?= "sdimage-2part.wks"
-IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
+IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
-do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Quoted 9 lines · Aniket
Quoted 7 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
This reverts commit
c58af0b172660ef1248a3454af06251d872770b1.This adds an undesired dependency on meta-ti-extras - more details:
https://lists.yoctoproject.org/g/meta-ti/topic/110003435
Quoted 7 lines
Quoted 3 lines
Cc Aniket Limaye <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]---
The fw binary is actually a requirement for AM57x boards to boot now. U-Boot expects the firmware to be present in the boot partition, and fails if not found. (Beleswar can correct me if I'm mistaken).
The firmware is required for Early boot of remote processors (IPU in this case) by U-Boot. Without the firmware, there won't be a system boot failure, only rproc boot will fail.
Quoted 31 lines
If we don't want to break this board, we need to maybe migrate the ti-ipc-rtos recipe from meta-ti-extras to meta-ti-bsp, since it is anyway a requirement for AM57X u-boot recipe. Denys, I also see that you mentioned that the ti-ipc-rtos recipe currently resides in extras due to the legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT... which cannot be easily moved to meta-ti-bsp.
A temporary fix might be to somehow add these inside of
meta-ti-extras/conf/layer.conf?However, I Ack the revert in case it is needed for now:
Acked-by Aniket Limaye <[email protected]>Quoted 17 lines
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +0
-0@@ -48,6 +48,5 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2screen alsa gpu mmip dsp gc3
IMAGE_FSTYPES+= "tar.xz wic.xz wic.bmap"
WKS_FILE?= "sdimage-2part.wks"
-IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
do_image_wic[depends] += "virtual/bootloader:do_deploy" -do_image_wic[depends] += "ti-ipc-rtos:do_deploy"