On 13/10/23 20:34, Andrew Davis wrote:
On 10/12/23 10:38 PM, Limaye, Aniket wrote:
Hi Andrew,

We need those files to be packaged in the tisdk-core-bundle... So that it can be packaged in the installer we release on ti.com. We package these, ti-dm and the u-boot sources used, to enable u-boot builds in the installer with the same sources used for our build.


You can fetch those firmware out of their normal install directory.

Andrew

Regards,
Aniket

-----Original Message-----
From: Davis, Andrew <[email protected]>
Sent: Friday, October 13, 2023 2:37 AM
To: Limaye, Aniket <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Gole, Dhruva <[email protected]>; Shilwant, Chirag <[email protected]>; Adivi, Sai Sree Kartheek <[email protected]>; Raghavendra, Vignesh <[email protected]> Subject: Re: [meta-ti][master/kirkstone][PATCH 1/2] ti-sci-fw: Remove COMPATIBLE_MACHINE and extend recipe to k3 machines

On 10/12/23 12:29 PM, Aniket Limaye via lists.yoctoproject.org wrote:
Revert ebcf15bf0f31208e87ce60a4696e585940b46777 :
    "recipes-bsp:ti-sci-fw: Add k3r5 as COMPATIBLE_MACHINE"

Extend recipe to k3 machines too, to provide ti-fs-stub-* firmware for
u-boot aarch64 build.

Update do_deploy() to allow multiconfig builds for k3 machines

Signed-off-by: Aniket Limaye <[email protected]>
---
   meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 6 ++++--
   1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 801c8768..2ad93a5d 100644
--- a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -4,7 +4,6 @@ inherit deploy
      require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
   -COMPATIBLE_MACHINE = "k3r5"
   PACKAGE_ARCH = "${MACHINE_ARCH}"
      CFLAGS[unexport] = "1"
@@ -26,7 +25,10 @@ do_install() {
      FILES:${PN} = "${nonarch_base_libdir}/firmware"
   -do_deploy() {
+do_deploy(){
+}
+
+do_deploy:k3r5() {
       install -d ${DEPLOYDIR}/ti-sysfw
       install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw        install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw

Why do we need to deploy these files in ${DEPLOYDIR}/ at all?

Andrew



This will deploy all ti-sci-* & ti-fs-* firmwares present in ti-linux-firmware repository in the deploy directory irrespective of the yocto machine which is redundant. It's better if
we deploy based on yocto machine.





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17114): 
https://lists.yoctoproject.org/g/meta-ti/message/17114
Mute This Topic: https://lists.yoctoproject.org/mt/101923272/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to