Skip to contentSkip to conversation

u-boot: Add lzop dependency

PATCH In review Ryan Eatmon 2 participants 4 messages Dec 2, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot: Add lzop dependency

It turns out we do need lzop for building dra7 and am57 in u-boot, so add the dependency back in and add a layer dependency on meta-oe(openembedded-layer).

---
 meta-ti-bsp/conf/layer.conf                  | 1 +
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
meta-ti-bsp/conf/layer.conf +1 -0
index 39e7f9eb..8bafa854 100644
@@ -15,6 +15,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
 
 LAYERDEPENDS_meta-ti-bsp = " \
     core \
+    openembedded-layer \
     meta-arm \
 "
 
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +1 -1
index d87dcbe1..5127e137 100644
@@ -23,7 +23,7 @@ SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
 PV:append = "+git${SRCPV}"
 
 # u-boot needs devtree compiler to parse dts files
-DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
+DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native python3-setuptools-native"
 
 DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org

It turns out we do need lzop for building dra7 and am57 in u-boot, so add the dependency back in and add a layer dependency on meta-oe(openembedded-layer).

Oh, no, please don't do that! This is a heavy dependency and meta-ti BSP has stayed away from it since the beginning of times.

It would be better to figure out why lzop is used for those platforms and change that, as LZOP is pretty much deprecated these days...

Quoted 33 lines
---
 meta-ti-bsp/conf/layer.conf                  | 1 +
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
meta-ti-bsp/conf/layer.conf +1 -0
index 39e7f9eb..8bafa854 100644
@@ -15,6 +15,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
 
 LAYERDEPENDS_meta-ti-bsp = " \
     core \
+    openembedded-layer \
     meta-arm \
 "
 
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +1 -1
index d87dcbe1..5127e137 100644
@@ -23,7 +23,7 @@ SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
 PV:append = "+git${SRCPV}"
 
 # u-boot needs devtree compiler to parse dts files
-DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
+DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native python3-setuptools-native"
 
 DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
 
Signature · 1 line
2.17.1
#2 lore raw
Quoted 10 lines · Denys Dmytriyenko
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org

It turns out we do need lzop for building dra7 and am57 in u-boot, so add the dependency back in and add a layer dependency on meta-oe(openembedded-layer).

Oh, no, please don't do that! This is a heavy dependency and meta-ti BSP has stayed away from it since the beginning of times.

It would be better to figure out why lzop is used for those platforms and change that, as LZOP is pretty much deprecated these days...

Ok. I'll back this one out. And look for an alternative solution.

Quoted 34 lines
Quoted 34 lines
---
  meta-ti-bsp/conf/layer.conf                  | 1 +
  meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +-
  2 files changed, 2 insertions(+), 1 deletion(-)
meta-ti-bsp/conf/layer.conf +1 -0
index 39e7f9eb..8bafa854 100644
@@ -15,6 +15,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
 
  LAYERDEPENDS_meta-ti-bsp = " \
      core \
+    openembedded-layer \
      meta-arm \
  "
 
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +1 -1
index d87dcbe1..5127e137 100644
@@ -23,7 +23,7 @@ SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
  PV:append = "+git${SRCPV}"
 
  # u-boot needs devtree compiler to parse dts files
-DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
+DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native python3-setuptools-native"
 
  DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
 
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 8 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 5 lines · Denys Dmytriyenko
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org

It turns out we do need lzop for building dra7 and am57 in u-boot, so add the dependency back in and add a layer dependency on meta-oe(openembedded-layer).

Quoted 7 lines
Quoted 5 lines

Oh, no, please don't do that! This is a heavy dependency and meta-ti BSP has stayed away from it since the beginning of times.

It would be better to figure out why lzop is used for those platforms and change that, as LZOP is pretty much deprecated these days...

Ok.  I'll back this one out.  And look for an alternative solution.

Ok. Adding lzop to HOSTTOOLS in our build script and adding lzop to our build environment fixes this issue.

Quoted 43 lines
Quoted 24 lines
Quoted 24 lines

---
  meta-ti-bsp/conf/layer.conf                  | 1 + meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +-

  2 files changed, 2 insertions(+), 1 deletion(-)
meta-ti-bsp/conf/layer.conf +1 -0
index 39e7f9eb..8bafa854 100644
@@ -15,6 +15,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
   LAYERDEPENDS_meta-ti-bsp = " \
       core \
+    openembedded-layer \
       meta-arm \

  "

meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +0 -0
index d87dcbe1..5127e137 100644
@@ -23,7 +23,7 @@ SRC_URI = 

"${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}" PV:append = "+git${SRCPV}"

Quoted 8 lines
Quoted 8 lines
  # u-boot needs devtree compiler to parse dts files
-DEPENDS += "dtc-native bc-native flex-native bison-native 
python3-setuptools-native"
+DEPENDS += "dtc-native bc-native lzop-native flex-native 
bison-native python3-setuptools-native"
  DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
Signature · 1 line
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15389): https://lists.yoctoproject.org/g/meta-ti/message/15389
Mute This Topic: https://lists.yoctoproject.org/mt/95407408/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