Skip to content

Commit

Permalink
Merge pull request #949 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
Update layers and add jetson-agx-orin-devkit project
  • Loading branch information
cbrake authored Jun 25, 2024
2 parents 2594b6a + 70340ca commit 17d1a90
Show file tree
Hide file tree
Showing 14 changed files with 119 additions and 12 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ and this project adheres to
- Allow using LLVM libc++ with GCC compiler
- Move fmt package from meta-oe -> core layer
- Fix libstdc++ unicode header typo regression found with clang
- Update rpidistro-ffmpeg to 5.1.4

## Added

- Added new recipes for - sexpect, trompeloeil, cabextract
udpcast, python3-typer
udpcast, python3-typer, magic-enum
- Add ptests support for python3-dasbus, python3-flask
- Add support for BeagleV-Ahead SBC

Expand Down
82 changes: 82 additions & 0 deletions conf/projects/jetson-agx-orin-devkit/config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
MACHINE = "jetson-agx-orin-devkit"
DISTRO = "yoe"
# "yoe-<libc>-<init-system>-<windowing-system>"
YOE_PROFILE = "yoe-glibc-systemd-x11"

# Freeescale stuff EULA yeah :(
ACCEPT_FSL_EULA = "1"

# Acknowledge that Synaptics can revoke their license at any time on the
# Rapsberry pi firmware
LICENSE_FLAGS_ACCEPTED:append = "commercial_ffmpeg"

# Include the tegra_flash components to the image class
IMAGE_CLASSES:append = " image_types_tegra"
IMAGE_FSTYPES:append = " ext4.xz"
IMAGE_FSTYPES:remove = "ext4 tar.gz wic.*"

# Yoe Updater Supported Machines ( RPI, beaglebone, C4, SAMA5D27 for now )
#INITRAMFS_IMAGE_BUNDLE = "1"
# Use yoe-initramfs-image for initramfs
#INITRAMFS_IMAGE = "yoe-initramfs-image"
# Use kernel+initramfs image to boot
#IMAGE_BOOT_FILES:remove = "${KERNEL_IMAGETYPE}"
#IMAGE_BOOT_FILES:append = " ${KERNEL_IMAGETYPE}-initramfs-${MACHINE}.bin;${KERNEL_IMAGETYPE}"
# Use default Device Tree
IMAGE_BOOT_FILES:append = " tegra234-p3767-0003-p3768-0000-a0.dtb"

#WKS_FILE:yoe = "yoe-sdimage.wks"
#WKS_FILE:yoe:pn-yoe-installer-image = "yoe-installer.wks.in"

# Use GNU objcopy for kernel with clang
OBJCOPY:pn-linux-tegra:toolchain-clang = "${HOST_PREFIX}objcopy"
OBJCOPY:pn-linux-jammy-nvidia-tegra:toolchain-clang = "${HOST_PREFIX}objcopy"

# OE has moved to demand 5.15 minimum kernel but meta-tegra is at 5.10 for jetson-orin-nano
OLDEST_KERNEL = "5.10"

# Use gcc for the following recipes on jetson
TOOLCHAIN:pn-edk2-firmware-tegra = "gcc"
TOOLCHAIN:pn-optee-os-tadevkit = "gcc"
TOOLCHAIN:pn-optee-nvsamples = "gcc"
TOOLCHAIN:pn-optee-os = "gcc"
TOOLCHAIN:pn-libgcc-for-nvcc = "gcc"
TOOLCHAIN:pn-gcc-for-nvcc-runtime = "gcc"
TOOLCHAIN:pn-opencv = "gcc"
TOOLCHAIN:pn-efivar = "gcc"
TOOLCHAIN:pn-qwt = "gcc"

# Use gnu run time to keep cuda happy
RUNTIME = "gnu"
TC_CXX_RUNTIME = "gnu"

# Needed for Running bitbake -ctestimage <image>
#TEST_TARGET_IP = "10.0.0.36"
#TEST_SERVER_IP = "10.0.0.13"
#TEST_TARGET = "simpleremote"

#####################################################################
# add project specific configuration below this line
#####################################################################
#require conf/distro/include/lto.inc
#DISTRO_FEATURES:append = " lto"
# set max loadavg equal to nr of cpus, same at 1.0 on 1 cpu machine
#PARALLEL_MAKE:append = " \
#-l ${@int(os.sysconf(os.sysconf_names['SC_NPROCESSORS_ONLN'])) * 150/100} \
#"

# Setting a user/password in system
#INHERIT += "extrausers"
#EXTRA_USERS_PARAMS += "\
# useradd admin; \
# usermod -p '$(openssl passwd -6 myrootpassword)' admin; \
# usermod -a -G adm admin; \
# usermod -a -G video admin; \
# usermod -a -G audio admin; \
# usermod -a -G systemd-journal admin; \
#"
#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks"

# For running oe-selftest uncomment below lines
#USER_CLASSES:remove = "buildhistory"
#PRSERV_HOST = ""
24 changes: 24 additions & 0 deletions conf/projects/jetson-agx-orin-devkit/layers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS = "\
${TOPDIR}/sources/meta-yoe \
\
${TOPDIR}/sources/meta-tegra \
\
${TOPDIR}/sources/meta-clang \
${TOPDIR}/sources/meta-qt6 \
\
${TOPDIR}/sources/meta-openembedded/meta-filesystems \
${TOPDIR}/sources/meta-openembedded/meta-gnome \
${TOPDIR}/sources/meta-openembedded/meta-initramfs \
${TOPDIR}/sources/meta-openembedded/meta-multimedia \
${TOPDIR}/sources/meta-openembedded/meta-networking \
${TOPDIR}/sources/meta-openembedded/meta-oe \
${TOPDIR}/sources/meta-openembedded/meta-perl \
${TOPDIR}/sources/meta-openembedded/meta-python \
${TOPDIR}/sources/meta-openembedded/meta-webserver \
${TOPDIR}/sources/meta-openembedded/meta-xfce \
\
${TOPDIR}/sources/poky/meta \
"
2 changes: 1 addition & 1 deletion conf/site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ require ${TOPDIR}/conf/projects/${PROJECT}/config.conf
#YOE_PROFILE = "yoe-musl-sysvinit-wayland"
#require conf/world.conf

IMG_VERSION = "24.5.3"
IMG_VERSION = "24.5.4"
2 changes: 1 addition & 1 deletion sources/meta-arm
Submodule meta-arm updated 26 files
+25 −9 README.md
+13 −4 SECURITY.md
+1 −0 ci/arm-systemready-ir-acs.yml
+67 −0 documentation/continuous-integration-and-kas.md
+105 −0 documentation/quick-start.md
+43 −0 documentation/releases.md
+2 −2 documentation/runfvp.md
+7 −0 kas/arm-systemready-linux-distros-fedora.yml
+8 −0 kas/corstone1000-fvp-multicore.yml
+15 −14 meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb
+162 −0 ...s-bsp/trusted-firmware-a/files/corstone1000/0006-feat-corstone1000-Add-multicore-support-for-FVP-plat.patch
+2 −0 meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-corstone1000.inc
+119 −0 .../recipes-bsp/trusted-firmware-m/files/corstone1000/0013-platform-CS1000-Add-multicore-support-for-FVP.patch
+2 −0 meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc
+1 −0 meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
+63 −0 ...rm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0049-corstone1000-Add-secondary-cores-cpu-nodes-for-FVP.patch
+7 −0 meta-arm-bsp/recipes-bsp/uefi/edk2-firmware-sbsa-ref.inc
+302 −0 meta-arm-bsp/recipes-bsp/uefi/files/0001-BootLogoLib-align-logo-coords-to-be-even.patch
+43 −0 ...ecipes-security/optee/files/optee-os/corstone1000/0003-plat-corstone1000-Remove-MMCOMM-buffer-address.patch
+3 −0 meta-arm-bsp/recipes-security/optee/optee-os-corstone1000-common.inc
+103 −0 meta-arm-systemready/recipes-test/arm-systemready-linux-distros/arm-systemready-linux-distros-fedora.bb
+1 −2 meta-arm/conf/machine/qemuarm64-secureboot.conf
+6 −4 meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.26.11.bb
+1 −1 meta-arm/recipes-devtools/fvp/fvp-common.inc
+5 −0 meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb
+1 −1 meta-arm/recipes-security/trusted-services/libts_git.bb
2 changes: 1 addition & 1 deletion sources/meta-clang
2 changes: 1 addition & 1 deletion sources/meta-openembedded
Submodule meta-openembedded updated 40 files
+1 −1 meta-networking/recipes-connectivity/samba/samba_4.19.7.bb
+1 −1 meta-networking/recipes-support/libldb/libldb_2.8.1.bb
+40 −0 ...working/recipes-support/rdma-core/rdma-core/0001-librdmacm-Use-overloadable-function-attribute-with-c.patch
+1 −0 meta-networking/recipes-support/rdma-core/rdma-core_51.0.bb
+3 −0 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
+3 −0 meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
+3 −0 meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
+27 −0 meta-oe/recipes-extended/magic-enum/magic-enum/run-ptest
+44 −0 meta-oe/recipes-extended/magic-enum/magic-enum_0.9.5.bb
+29 −0 meta-oe/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch
+26 −0 meta-oe/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch
+56 −0 meta-oe/recipes-extended/newt/files/cross_ar.patch
+56 −0 meta-oe/recipes-extended/newt/libnewt_0.52.24.bb
+1 −0 meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf
+10 −1 meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
+3 −0 meta-oe/recipes-extended/zram/zram_0.2.bb
+4 −0 meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb
+1 −6 meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
+2 −1 meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
+3 −0 meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
+3 −1 meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
+3 −0 meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb
+3 −0 meta-oe/recipes-support/libusbgx/libusbgx-config.bb
+2 −2 meta-oe/recipes-support/tree/tree_2.1.1.bb
+1 −1 meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb
+3 −1 meta-python/recipes-devtools/python/python3-eth-utils_4.1.1.bb
+7 −1 meta-python/recipes-devtools/python/python3-filelock_3.15.3.bb
+1 −1 meta-python/recipes-devtools/python/python3-gpiod_2.2.0.bb
+16 −0 meta-python/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb
+16 −0 meta-python/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb
+3 −3 meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb
+7 −1 meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb
+1 −1 meta-python/recipes-devtools/python/python3-moteus_0.3.71.bb
+2 −2 meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb
+1 −0 meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb
+1 −1 meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb
+1 −1 meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb
+6 −3 meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
+2 −2 meta-python/recipes-devtools/python/python3-tornado_6.4.1.bb
+1 −1 meta-python/recipes-devtools/python/python3-whitenoise_6.7.0.bb
2 changes: 1 addition & 1 deletion sources/meta-qt6

0 comments on commit 17d1a90

Please sign in to comment.