Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CRs-Fixed: CR number(s)

**Motivation:**

Describe the motivation behind the changes.

**Impact:**

Describe the impact of the changes.
37 changes: 28 additions & 9 deletions ci/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
header:
version: 14

distro: poky-altcfg
distro: nodistro

defaults:
repos:
branch: master

repos:
meta-qcom:
url: "https://github.com/qualcomm-linux/meta-qcom.git"
branch: master

oe-core:
url: https://github.com/openembedded/openembedded-core
Expand All @@ -24,27 +22,48 @@ repos:
layers:
.: disabled

meta-yocto:
url: https://git.yoctoproject.org/meta-yocto
layers:
meta-poky:

local_conf_header:
base: |
CONF_VERSION = "2"
INHERIT += "buildstats-summary"
INHERIT += "buildhistory"
INHERIT += "rm_work"
INHERIT += "image-buildinfo"
diskmon: |
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
clo-mirrors: |
# clo-mirrors
MIRRORS:append = " \
git://github.com git://git.codelinaro.org/clo/yocto-mirrors/github/ \
git://.*/ git://git.codelinaro.org/clo/yocto-mirrors/ \
https://.*/.*/ https://artifacts.codelinaro.org/codelinaro-le/ \
"
# All the download files of meta-qcom layer have been deployed on this server.
PREMIRRORS:prepend = "\
.*://.*/.* https://artifacts.codelinaro.org/artifactory/qli-ci/downloads/main/ \n \
"
cmdline: |
KERNEL_CMDLINE_EXTRA:append = " qcom_scm.download_mode=1"
qcomflash: |
IMAGE_CLASSES += "image_types_qcom"
IMAGE_FSTYPES += "qcomflash"
extra: |
DISTRO_FEATURES:append = " efi pni-names"
DISTRO_FEATURES:append = " efi pam pni-names"
EXTRA_IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login"
IMAGE_ROOTFS_EXTRA_SPACE = "307200"
WATCHDOG_RUNTIME_SEC:pn-systemd = "30"
uninative: |
INHERIT:remove = "uninative"
sstate: |
BB_SIGNATURE_HANDLER = "OEBasicHash"

machine: unset

Expand Down
159 changes: 159 additions & 0 deletions ci/kas-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
header:
version: 14
local_conf_header:
mirror: |-
BB_HASHSERVE_UPSTREAM = "wss://hashserv.yoctoproject.org/ws"
SSTATE_MIRRORS = "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
base: |
CONF_VERSION = "2"
INHERIT += "buildstats-summary"
INHERIT += "buildhistory"
INHERIT += "rm_work"
INHERIT += "image-buildinfo"
diskmon: |
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
clo-mirrors: |
MIRRORS:append = " \
git://github.com git://git.codelinaro.org/clo/yocto-mirrors/github/ \
git://.*/ git://git.codelinaro.org/clo/yocto-mirrors/ \
https://.*/.*/ https://artifacts.codelinaro.org/codelinaro-le/ \
"
cmdline: |
KERNEL_CMDLINE_EXTRA:append = " qcom_scm.download_mode=1"
qcomflash: |
IMAGE_CLASSES += "image_types_qcom"
IMAGE_FSTYPES += "qcomflash"
extra: |
DISTRO_FEATURES:append = " efi pam pni-names"
EXTRA_IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login"
IMAGE_ROOTFS_EXTRA_SPACE = "307200"
WATCHDOG_RUNTIME_SEC:pn-systemd = "30"
uninative: |
INHERIT:remove = "uninative"
sstate: |
BB_SIGNATURE_HANDLER = "OEBasicHash"
virtualization: SKIP_META_VIRT_SANITY_CHECK = "1"
resource_limitation: |
# Disable the libcamera recipe to avoid conflicts with the meta-qcom-distro libcamera recipe
BBMASK .= "|^${TOPDIR}/meta-ros/meta-ros-common/recipes-multimedia/libcamera/.*"
PREFERRED_VERSION_libcamera = "1:0.6.0"

# Capture the count of cpu cores available from the host.
CPU_COUNT = "${@oe.utils.cpu_count(at_least=2)}"

# Number of parallel threads make can run based on cpu cores with a max cap at 20.
THREAD_COUNT = "${@oe.utils.cpu_count(at_least=2, at_most=12)}"

# Determines how many tasks bitbake should run in parallel.
BB_NUMBER_THREADS ?= "${CPU_COUNT}"

# Determines how many tasks bitbake should run in parallel during parsing.
BB_NUMBER_PARSE_THREADS ?= "${CPU_COUNT}"

# Specifies a maximum CPU pressure threshold for bitbake scheduler to start new tasks.
BB_PRESSURE_MAX_CPU = "900000"

# Specifies a maximum IO pressure threshold for bitbake scheduler to start new tasks.
BB_PRESSURE_MAX_IO = "900000"

# Specifies a maximum Memory pressure threshold for bitbake scheduler to start new tasks.
BB_PRESSURE_MAX_MEMORY = "900000"

# Determines how many processes make should run in parallel when running compile tasks.
PARALLEL_MAKE ?= "-j ${THREAD_COUNT} -l ${THREAD_COUNT}"
distro: qcom-robotics-distro-sota
defaults:
repos:
branch: master
repos:
meta-qcom:
url: https://github.com/qualcomm-linux/meta-qcom.git
branch: master
commit: 1a7b6b0363fa75232d46ffb9fd706b9539872e10
oe-core:
url: https://github.com/openembedded/openembedded-core
layers:
meta:
patches:
fix-BSD-license-missing:
repo: meta-qcom-robotics-sdk
path: patches/Initial-commit-of-license.patch
commit: be8cdcf13a658e9e81ff2f7b71d1c8c37a920ce7
bitbake:
url: https://github.com/openembedded/bitbake
layers:
.: disabled
commit: bc8be83aef0a6de85cd33a6f132f281d518594f7
meta-qcom-distro:
url: https://github.com/qualcomm-linux/meta-qcom-distro
branch: main
commit: 1fcd08e4830ac0d1d3936ee2c15ff0d0af1790ee
meta-openembedded:
url: https://github.com/openembedded/meta-openembedded
layers:
meta-filesystems:
meta-gnome:
meta-multimedia:
meta-networking:
meta-oe:
meta-python:
meta-xfce:
commit: 6ba45c1f94e1c2015df940ec9efcd4568346df56
meta-virtualization:
url: https://git.yoctoproject.org/git/meta-virtualization
branch: master
commit: 506d5af230f0b41809dfe754e84d5611b75c6585
meta-audioreach:
url: https://github.com/AudioReach/meta-audioreach
branch: master
commit: 1079902cfa001b6f9c447f8a9bec84cdd2be10b0
meta-selinux:
branch: master
url: https://git.yoctoproject.org/meta-selinux
commit: 27758bca5ad8f74f387de5cc7c88e73ef2aed951
meta-updater:
branch: master
url: https://github.com/uptane/meta-updater
commit: 9fb4d7e2c087511d3dff233ebd342f35facf4cde
meta-security:
url: https://git.yoctoproject.org/meta-security
branch: master
layers:
.:
meta-tpm:
commit: 9e6d962250aab6e5319215f15b0201ef233c46cd
meta-qcom-robotics-sdk:

meta-yocto:
url: https://git.yoctoproject.org/meta-yocto
layers:
meta-poky:
commit: 4c156ef673f8ff7c967b2b34dd1d366e1b74d41c
meta-ros:
url: https://github.com/ros/meta-ros.git
branch: master
layers:
meta-ros-common:
meta-ros2:
meta-ros2-jazzy:
patches:
qcom-fixes1:
repo: meta-qcom-robotics-sdk
path: patches/0001-jazzy-remove-outdated-bbappend-and-patches-of-stomp.patch
qcom-fixes2:
repo: meta-qcom-robotics-sdk
path: patches/0002-jazzy-update-libdir-of-ompl.patch
qcom-fixes3:
repo: meta-qcom-robotics-sdk
path: patches/0003-jazzy-move-some-nav2-and-moveit-packages-out-of-blac.patch
commit: fceba46917fe9473e64534d972d3cf853aa7674d
machine: iq-9075-evk
target: qcom-robotics-proprietary-image
7 changes: 7 additions & 0 deletions ci/qcom-distro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ repos:
branch: master
url: https://github.com/uptane/meta-updater

meta-security:
url: https://git.yoctoproject.org/meta-security
branch: master
layers:
.:
meta-tpm:

local_conf_header:
virtualization:
SKIP_META_VIRT_SANITY_CHECK = "1"
Expand Down
61 changes: 22 additions & 39 deletions ci/qcom-robotics-distro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ repos:
meta-qcom-robotics-sdk:

meta-qcom:
url: https://github.com/qualcomm-linux/meta-qcom.git
branch: master
commit: 5c1e91fcbb9bb2149c89e395acc8e19869d43a8a
url: https://github.com/qualcomm-linux/meta-qcom
commit: 3b2c2c8b815e135a01db7b6a77e3a0c57048bca8
oe-core:
url: https://github.com/openembedded/openembedded-core
layers:
Expand All @@ -20,21 +19,16 @@ repos:
fix-BSD-license-missing:
repo: meta-qcom-robotics-sdk
path: patches/Initial-commit-of-license.patch
commit: 4c31a7b410fc9c14815c6853431c7bd56c0e173c
commit: d3e757f21403554e7064c5fa2b353080d14d2ce7
bitbake:
url: https://github.com/openembedded/bitbake
layers:
.: disabled
commit: cdd79c1768ac396a9c6577e38098da4331507f24
meta-yocto:
url: https://git.yoctoproject.org/meta-yocto
layers:
meta-poky:
commit: de4abc0a175af12eacc761a2e1e60ca7fdfeaa1b
commit: 48efc36b4e03f736e7521d269ced3417522784e9
meta-qcom-distro:
url: https://github.com/qualcomm-linux/meta-qcom-distro
branch: main
commit: 9754815d7eeb95e68db943dbae342496a586f53f
commit: 98e83ead3caa95184d2a37e02b4b6928caa754a4
meta-openembedded:
url: https://github.com/openembedded/meta-openembedded
layers:
Expand All @@ -45,23 +39,30 @@ repos:
meta-oe:
meta-python:
meta-xfce:
commit: dfd6cf901aa530eb924ed62ad2498f8abf43fed2
commit: 7bc5268662f1428bdbca08e14d223aa6b62e87f3
meta-virtualization:
url: https://git.yoctoproject.org/git/meta-virtualization
branch: master
commit: 28d26fd95397bf575e65fcca0cbb302b1e9bc7ff
commit: a1e1a021b49f5257d8908aa9b8c2ee9c083e674c
meta-audioreach:
url: https://github.com/AudioReach/meta-audioreach
branch: master
commit: f864c62336a771b05b6d1e03a1092ddd286f4038
commit: 7cd6eeb2c6bfda35a622df9a37eb5bbf0371253e
meta-selinux:
branch: master
url: https://git.yoctoproject.org/meta-selinux
commit: d670531ad7e6cd0dac08010fbd9b604501391245
commit: 27758bca5ad8f74f387de5cc7c88e73ef2aed951
meta-updater:
branch: master
url: https://github.com/uptane/meta-updater
commit: 1e9ec9b9c10bd16c018bf5440ed6ffc56789dab0
commit: 9fb4d7e2c087511d3dff233ebd342f35facf4cde
meta-security:
url: https://git.yoctoproject.org/meta-security
branch: master
layers:
.:
meta-tpm:
commit: 9e6d962250aab6e5319215f15b0201ef233c46cd

meta-ros:
url: https://github.com/ros/meta-ros.git
Expand All @@ -83,16 +84,7 @@ repos:
commit: fceba46917fe9473e64534d972d3cf853aa7674d

local_conf_header:
base: |
CONF_VERSION = "2"
INHERIT += "buildstats-summary"
INHERIT += "buildhistory"
INHERIT += "rm_work"

# Disable the libcamera recipe to avoid conflicts with the meta-qcom-distro libcamera recipe
BBMASK .= "|^${TOPDIR}/meta-ros/meta-ros-common/recipes-multimedia/libcamera/.*"
PREFERRED_VERSION_libcamera = "1:0.6.0"

resource_limitation: |
# Capture the count of cpu cores available from the host.
CPU_COUNT = "${@oe.utils.cpu_count(at_least=2)}"

Expand All @@ -116,19 +108,10 @@ local_conf_header:

# Determines how many processes make should run in parallel when running compile tasks.
PARALLEL_MAKE ?= "-j ${THREAD_COUNT} -l ${THREAD_COUNT}"

cmdline: |
KERNEL_CMDLINE_EXTRA:append = " qcom_scm.download_mode=1"
qcomflash: |
IMAGE_CLASSES += "image_types_qcom"
IMAGE_FSTYPES += "qcomflash"
extra: |
DISTRO_FEATURES:append = " efi pni-names"
EXTRA_IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login"
IMAGE_ROOTFS_EXTRA_SPACE = "307200"
WATCHDOG_RUNTIME_SEC:pn-systemd = "30"
robotics_base: |
PATCHRESOLVE = "noop"
libcamera_mask: |
# Disable the libcamera recipe to avoid conflicts with the meta-qcom-distro libcamera recipe
BBMASK .= "|^${TOPDIR}/meta-ros/meta-ros-common/recipes-multimedia/libcamera/.*"
PREFERRED_VERSION_libcamera = "1:0.6.0"

distro: qcom-robotics-ros2-jazzy
target: qcom-robotics-image
7 changes: 3 additions & 4 deletions recipes/ros-gst-bridge/ros-gst-bridge-audio-msgs_0.0.0.bb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
inherit ros_distro_${ROS_DISTRO}
inherit ros_component
inherit robotics-package

DESCRIPTION = "audio_msgs: subpackage of ros-gst-bridge."
LICENSE = "Apache-2.0"
Expand All @@ -13,8 +14,6 @@ ROS_BPN = "audio_msgs"

S = "${UNPACKDIR}/${PN}-${PV}/${ROS_CN}"

inherit robotics-package

ROS_BUILD_TYPE = "ament_cmake"
inherit ros_${ROS_BUILD_TYPE}

Expand All @@ -40,8 +39,8 @@ ROS_TEST_DEPENDS = " \

DEPENDS = "${ROS_BUILD_DEPENDS} ${ROS_BUILDTOOL_DEPENDS}"

EXTRA_OECMAKE += "-DSYSROOT_LIBDIR=${STAGING_LIBDIR}"
EXTRA_OECMAKE += "-DGST_PLUGINS_QTI_OSS_INSTALL_LIBDIR=${libdir}"
# EXTRA_OECMAKE += "-DSYSROOT_LIBDIR=${STAGING_LIBDIR}"
# EXTRA_OECMAKE += "-DGST_PLUGINS_QTI_OSS_INSTALL_LIBDIR=${libdir}"

FILES:${PN} += "${libdir}"

Expand Down
Loading
Loading