Skip to contentSkip to conversation

amsdk-av-files: Remove this recipe

PATCH In review Andrew Davis 2 participants 5 messages Jan 17, 2025 – Jan 30, 2025 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amsdk-av-files: Remove this recipe

These video files were used in a couple demos for multimedia decoders. They add +50MB at minimum to images that include them and ~200MB of git download to build. They are unused now so remove this recipe.

---
 .../packagegroup-arago-tisdk-multimedia.bb    |  1 -
 .../amsdk-av-files/amsdk-av-files_1.4.bb      | 42 -------------------
 2 files changed, 43 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -1
index c6e39aa1..6a1b25b6 100644
@@ -7,7 +7,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 inherit packagegroup
 
 MULTIMEDIA = " \
-    amsdk-av-files \
     ffmpeg \
     libcamera \
     libcamera-gst \
meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -42

42 lines not on this page · raw message

Signature · 1 line
2.39.2
#1 lore raw

For some reason this patch breaks two of our builds on master...

am69-sk - rt
j784s4-evm - rt

It gives the error during tisdk-default-image do_rootfs:

ERROR: Unable to install packages. Command '/scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/opkg.conf -t /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/temp/ipktemp/ -o /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/rootfs
--force_postinstall --add-ignore-recommends busybox-syslog
--add-ignore-recommends coreutils --add-ignore-recommends coreutils-dev --add-ignore-recommends gdbserver-c6x-dev --add-ignore-recommends libulm-dev install build-essential docker dtc git linux-libc-headers-dev opkg packagegroup-arago-base packagegroup-arago-console packagegroup-arago-tisdk-addons packagegroup-arago-tisdk-addons-extra packagegroup-arago-tisdk-connectivity packagegroup-arago-tisdk-crypto packagegroup-arago-tisdk-graphics packagegroup-arago-tisdk-gtk packagegroup-arago-tisdk-hmi packagegroup-arago-tisdk-multimedia packagegroup-arago-tisdk-qte packagegroup-arago-tisdk-sysrepo packagegroup-core-boot packagegroup-core-tools-debug pdm-anomaly-detection psplash run-postinsts ti-test ti-test-extras' returned -11:

DEBUG: Python function do_rootfs finished

Which is annoying because it doesn't say why it failed, just that it failed...

I bisected it down to this patch.

All other platform/variant combinations work, and scarthgap works...

Quoted 71 lines · Andrew Davis

These video files were used in a couple demos for multimedia decoders. They add +50MB at minimum to images that include them and ~200MB of git download to build. They are unused now so remove this recipe.

---
  .../packagegroup-arago-tisdk-multimedia.bb    |  1 -
  .../amsdk-av-files/amsdk-av-files_1.4.bb      | 42 -------------------
  2 files changed, 43 deletions(-)

delete mode 100644 meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -1
index c6e39aa1..6a1b25b6 100644
@@ -7,7 +7,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
  inherit packagegroup
 
  MULTIMEDIA = " \
-    amsdk-av-files \
      ffmpeg \
      libcamera \
      libcamera-gst \
meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -42
deleted file mode 100644
index 7267668b..00000000
@@ -1,42 +0,0 @@
-DESCRIPTION = "AMSDK multimedia support files"
-HOMEPAGE = "https://git.ti.com/processor-sdk/amsdk-av-files/"
-LICENSE = "CC-BY-NC-ND-3.0 & CC-BY-3.0"
-SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://Multimedia_Data_Files_Manifest.doc;md5=fe154d291c69c51495a5bb4a456403b5"
-PR = "r2"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-VIDEO_FILES = "video_480p "
-
-VIDEO_FILES:append:ti33x       = "video_wvga \
-                                  video_wqvga"
-VIDEO_FILES:append:ti43x       = "video_wqvga"
-VIDEO_FILES:append:dra7xx      = "video_wvga \
-                                  video_1080p \
-                                  video_720p \
-                                  video_yuv"
-VIDEO_FILES:append:k3          = "video_720p"
-
-BRANCH = "master"
-
-SRC_URI = "git://git.ti.com/git/processor-sdk/amsdk-av-files.git;protocol=https;branch=${BRANCH}"
-SRCREV = "1b73009090265328ebaf1b6c880dfeccae5a8f19"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    :
-}
-
-do_install() {
-    install -d ${D}${datadir}/ti \
-       ${D}${datadir}/ti/audio \
-       ${D}${datadir}/ti/video
-    install -m 0644 ${S}/audio/* ${D}${datadir}/ti/audio/
-    for file in ${VIDEO_FILES}; do
-	install -m 0644 ${S}/${file}/* ${D}${datadir}/ti/video/
-    done
-}
-
-FILES:${PN} += "${datadir}/ti/*"
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#2 lore raw
Quoted 10 lines · Ryan Eatmon

For some reason this patch breaks two of our builds on master...

am69-sk - rt
j784s4-evm - rt

It gives the error during tisdk-default-image do_rootfs:

ERROR: Unable to install packages. Command '/scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/opkg.conf -t /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/temp/ipktemp/ -o /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/rootfs  --force_postinstall    --add-ignore-recommends busybox-syslog --add-ignore-recommends coreutils --add-ignore-recommends coreutils-dev --add-ignore-recommends gdbserver-c6x-dev --add-ignore-recommends libulm-dev install build-essential docker dtc git linux-libc-headers-dev opkg packagegroup-arago-base packagegroup-arago-console packagegroup-arago-tisdk-addons packagegroup-arago-tisdk-addons-extra packagegroup-arago-tisdk-connectivity packagegroup-arago-tisdk-crypto packagegroup-arago-tisdk-graphics packagegroup-arago-tisdk-gtk packagegroup-arago-tisdk-hmi packagegroup-arago-tisdk-multimedia packagegroup-arago-tisdk-qte packagegroup-arago-tisdk-sysrepo packagegroup-core-boot packagegroup-core-tools-debug pdm-anomaly-detection psplash run-postinsts ti-test ti-test-extras' returned -11:

Quoted 9 lines

DEBUG: Python function do_rootfs finished

Which is annoying because it doesn't say why it failed, just that it failed...

I bisected it down to this patch.

All other platform/variant combinations work, and scarthgap works...

That seems really odd then, maybe some stale sstate for the multimedia packagegroup those specific platform/variant combos that still has amsdk-av-files as a dep?

Andrew

Quoted 74 lines · Andrew Davis
Quoted 70 lines

These video files were used in a couple demos for multimedia decoders. They add +50MB at minimum to images that include them and ~200MB of git download to build. They are unused now so remove this recipe.

---
  .../packagegroup-arago-tisdk-multimedia.bb    |  1 - .../amsdk-av-files/amsdk-av-files_1.4.bb      | 42 -------------------

  2 files changed, 43 deletions(-)

  delete mode 100644 meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -0
index c6e39aa1..6a1b25b6 100644
@@ -7,7 +7,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"

  inherit packagegroup
  MULTIMEDIA = " \
-    amsdk-av-files \
      ffmpeg \
      libcamera \
      libcamera-gst \

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -42
deleted file mode 100644
index 7267668b..00000000
@@ -1,42 +0,0 @@
-DESCRIPTION = "AMSDK multimedia support files"
-HOMEPAGE = "https://git.ti.com/processor-sdk/amsdk-av-files/"
-LICENSE = "CC-BY-NC-ND-3.0 & CC-BY-3.0"
-SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://Multimedia_Data_Files_Manifest.doc;md5=fe154d291c69c51495a5bb4a456403b5"
-PR = "r2"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-VIDEO_FILES = "video_480p "
-
-VIDEO_FILES:append:ti33x       = "video_wvga \
-                                  video_wqvga"
-VIDEO_FILES:append:ti43x       = "video_wqvga"
-VIDEO_FILES:append:dra7xx      = "video_wvga \
-                                  video_1080p \
-                                  video_720p \
-                                  video_yuv"
-VIDEO_FILES:append:k3          = "video_720p"
-
-BRANCH = "master"
-
-SRC_URI = "git://git.ti.com/git/processor-sdk/amsdk-av-files.git;protocol=https;branch=${BRANCH}"
-SRCREV = "1b73009090265328ebaf1b6c880dfeccae5a8f19"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    :
-}
-
-do_install() {
-    install -d ${D}${datadir}/ti \
-       ${D}${datadir}/ti/audio \
-       ${D}${datadir}/ti/video
-    install -m 0644 ${S}/audio/* ${D}${datadir}/ti/audio/
-    for file in ${VIDEO_FILES}; do
-    install -m 0644 ${S}/${file}/* ${D}${datadir}/ti/video/
-    done
-}
-
-FILES:${PN} += "${datadir}/ti/*"
#3 lore raw
Quoted 16 lines · Andrew Davis
Quoted 15 lines · Ryan Eatmon

For some reason this patch breaks two of our builds on master...

am69-sk - rt
j784s4-evm - rt

It gives the error during tisdk-default-image do_rootfs:

ERROR: Unable to install packages. Command '/scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/opkg.conf -t /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/temp/ipktemp/ -o /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/rootfs  --force_postinstall    --add-ignore-recommends busybox-syslog --add-ignore-recommends coreutils --add-ignore-recommends coreutils-dev --add-ignore-recommends gdbserver-c6x-dev --add-ignore-recommends libulm-dev install build-essential docker dtc git linux-libc-headers-dev opkg packagegroup-arago-base packagegroup-arago-console packagegroup-arago-tisdk-addons packagegroup-arago-tisdk-addons-extra packagegroup-arago-tisdk-connectivity packagegroup-arago-tisdk-crypto packagegroup-arago-tisdk-graphics packagegroup-arago-tisdk-gtk packagegroup-arago-tisdk-hmi packagegroup-arago-tisdk-multimedia packagegroup-arago-tisdk-qte packagegroup-arago-tisdk-sysrepo packagegroup-core-boot packagegroup-core-tools-debug pdm-anomaly-detection psplash run-postinsts ti-test ti-test-extras' returned -11:

DEBUG: Python function do_rootfs finished

Which is annoying because it doesn't say why it failed, just that it failed...

Quoted 8 lines
Quoted 4 lines

I bisected it down to this patch.

All other platform/variant combinations work, and scarthgap works...

That seems really odd then, maybe some stale sstate for the multimedia packagegroup those specific platform/variant combos that still has amsdk-av-files as a dep?

I did a build with no sstate and still got the issue.

Quoted 81 lines

Andrew

Quoted 79 lines · Andrew Davis
Quoted 75 lines

These video files were used in a couple demos for multimedia decoders. They add +50MB at minimum to images that include them and ~200MB of git download to build. They are unused now so remove this recipe.

---
  .../packagegroup-arago-tisdk-multimedia.bb    |  1 - .../amsdk-av-files/amsdk-av-files_1.4.bb      | 42 -------------------

  2 files changed, 43 deletions(-)

  delete mode 100644 meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -1
index c6e39aa1..6a1b25b6 100644
--- 

a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
+++
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -0
@@ -7,7 +7,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"

  inherit packagegroup
  MULTIMEDIA = " \
-    amsdk-av-files \
      ffmpeg \
      libcamera \
      libcamera-gst \

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -1
deleted file mode 100644
index 7267668b..00000000
--- 

a/meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb +++ /dev/null

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -5
@@ -1,42 +0,0 @@
-DESCRIPTION = "AMSDK multimedia support files"
-HOMEPAGE = "https://git.ti.com/processor-sdk/amsdk-av-files/"
-LICENSE = "CC-BY-NC-ND-3.0 & CC-BY-3.0"
-SECTION = "multimedia"
-LIC_FILES_CHKSUM = 

"file://Multimedia_Data_Files_Manifest.doc;md5=fe154d291c69c51495a5bb4a456403b5"

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -18
-PR = "r2"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-VIDEO_FILES = "video_480p "
-
-VIDEO_FILES:append:ti33x       = "video_wvga \
-                                  video_wqvga"
-VIDEO_FILES:append:ti43x       = "video_wqvga"
-VIDEO_FILES:append:dra7xx      = "video_wvga \
-                                  video_1080p \
-                                  video_720p \
-                                  video_yuv"
-VIDEO_FILES:append:k3          = "video_720p"
-
-BRANCH = "master"
-
-SRC_URI = 

"git://git.ti.com/git/processor-sdk/amsdk-av-files.git;protocol=https;branch=${BRANCH}"

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -19
-SRCREV = "1b73009090265328ebaf1b6c880dfeccae5a8f19"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    :
-}
-
-do_install() {
-    install -d ${D}${datadir}/ti \
-       ${D}${datadir}/ti/audio \
-       ${D}${datadir}/ti/video
-    install -m 0644 ${S}/audio/* ${D}${datadir}/ti/audio/
-    for file in ${VIDEO_FILES}; do
-    install -m 0644 ${S}/${file}/* ${D}${datadir}/ti/video/
-    done
-}
-
-FILES:${PN} += "${datadir}/ti/*"
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]

#5 lore raw
Quoted 21 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 18 lines · Andrew Davis
Quoted 17 lines · Ryan Eatmon

For some reason this patch breaks two of our builds on master...

am69-sk - rt
j784s4-evm - rt

It gives the error during tisdk-default-image do_rootfs:

ERROR: Unable to install packages. Command '/scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/opkg.conf -t /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/temp/ipktemp/ -o /scratch/jenkins_builds/arago-master-next/build/build/arago-tmp-default/work/am69_sk-oe-linux/tisdk-default-image/1.0/rootfs  --force_postinstall    --add-ignore-recommends busybox-syslog --add-ignore-recommends coreutils --add-ignore-recommends coreutils-dev --add-ignore-recommends gdbserver-c6x-dev --add-ignore-recommends libulm-dev install build-essential docker dtc git linux-libc-headers-dev opkg packagegroup-arago-base packagegroup-arago-console packagegroup-arago-tisdk-addons packagegroup-arago-tisdk-addons-extra packagegroup-arago-tisdk-connectivity packagegroup-arago-tisdk-crypto packagegroup-arago-tisdk-graphics packagegroup-arago-tisdk-gtk packagegroup-arago-tisdk-hmi packagegroup-arago-tisdk-multimedia packagegroup-arago-tisdk-qte packagegroup-arago-tisdk-sysrepo packagegroup-core-boot packagegroup-core-tools-debug pdm-anomaly-detection psplash run-postinsts ti-test ti-test-extras' returned -11:

DEBUG: Python function do_rootfs finished

Which is annoying because it doesn't say why it failed, just that it failed...

I bisected it down to this patch.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

All other platform/variant combinations work, and scarthgap works...

That seems really odd then, maybe some stale sstate for the multimedia packagegroup those specific platform/variant combos that still has amsdk-av-files as a dep?

I did a build with no sstate and still got the issue.

And they both started passing last night... I will never understand these issues sometimes...

Quoted 84 lines
Quoted 83 lines

Andrew

Quoted 80 lines · Andrew Davis
Quoted 76 lines

These video files were used in a couple demos for multimedia decoders. They add +50MB at minimum to images that include them and ~200MB of git download to build. They are unused now so remove this recipe.

---
  .../packagegroup-arago-tisdk-multimedia.bb    |  1 - .../amsdk-av-files/amsdk-av-files_1.4.bb      | 42
-------------------

  2 files changed, 43 deletions(-)

  delete mode 100644 meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -1
index c6e39aa1..6a1b25b6 100644
--- 

a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
+++
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -0
@@ -7,7 +7,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"

  inherit packagegroup
  MULTIMEDIA = " \
-    amsdk-av-files \
      ffmpeg \
      libcamera \
      libcamera-gst \

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -1
deleted file mode 100644
index 7267668b..00000000
--- 

a/meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb +++ /dev/null

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -5
@@ -1,42 +0,0 @@
-DESCRIPTION = "AMSDK multimedia support files"
-HOMEPAGE = "https://git.ti.com/processor-sdk/amsdk-av-files/"
-LICENSE = "CC-BY-NC-ND-3.0 & CC-BY-3.0"
-SECTION = "multimedia"
-LIC_FILES_CHKSUM = 

"file://Multimedia_Data_Files_Manifest.doc;md5=fe154d291c69c51495a5bb4a456403b5"

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -18
-PR = "r2"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-VIDEO_FILES = "video_480p "
-
-VIDEO_FILES:append:ti33x       = "video_wvga \
-                                  video_wqvga"
-VIDEO_FILES:append:ti43x       = "video_wqvga"
-VIDEO_FILES:append:dra7xx      = "video_wvga \
-                                  video_1080p \
-                                  video_720p \
-                                  video_yuv"
-VIDEO_FILES:append:k3          = "video_720p"
-
-BRANCH = "master"
-
-SRC_URI = 

"git://git.ti.com/git/processor-sdk/amsdk-av-files.git;protocol=https;branch=${BRANCH}"

meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb deleted +0 -19
-SRCREV = "1b73009090265328ebaf1b6c880dfeccae5a8f19"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    :
-}
-
-do_install() {
-    install -d ${D}${datadir}/ti \
-       ${D}${datadir}/ti/audio \
-       ${D}${datadir}/ti/video
-    install -m 0644 ${S}/audio/* ${D}${datadir}/ti/audio/
-    for file in ${VIDEO_FILES}; do
-    install -m 0644 ${S}/${file}/* ${D}${datadir}/ti/video/
-    done
-}
-
-FILES:${PN} += "${datadir}/ti/*"
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS