Skip to content

Commit

Permalink
Merge pull request #954 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
Update layers and fix jetson-agx-orin-devkit project build/runtime issues.
  • Loading branch information
cbrake authored Jul 13, 2024
2 parents 1e12c82 + a186ef3 commit 106d3b7
Show file tree
Hide file tree
Showing 17 changed files with 56 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to
- Fix exceptions with -mbranch-protection on ARM64/Libc++
- Enable build-id for systems built with clang compiler
- Upgrade QEMU to 9.0.1
- Update MACHINE in jetson-agx-orin-devkit
- Always use lld linker with clang for qt6 recipes
- Ignore various issues fatal with gcc-14
- Upgrade linux-raspberrypi to 6.6.36
- Pin runtime type to GCC runtime in cuda-gcc and define TOOLCHAIN variable
- Upgrade Go compiler to 1.22.5

### Added

Expand Down
28 changes: 25 additions & 3 deletions conf/projects/jetson-agx-orin-devkit/config.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACHINE = "jetson-agx-orin-devkit"
MACHINE = "p3737-0000-p3701-0005"
DISTRO = "yoe"
# "yoe-<libc>-<init-system>-<windowing-system>"
YOE_PROFILE = "yoe-glibc-systemd-x11"
YOE_PROFILE = "yoe-glibc-systemd-eglfs"

# Freeescale stuff EULA yeah :(
ACCEPT_FSL_EULA = "1"
Expand All @@ -23,7 +23,7 @@ IMAGE_FSTYPES:remove = "ext4 tar.gz wic.*"
#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"
#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"
Expand All @@ -32,6 +32,9 @@ IMAGE_BOOT_FILES:append = " tegra234-p3767-0003-p3768-0000-a0.dtb"
OBJCOPY:pn-linux-tegra:toolchain-clang = "${HOST_PREFIX}objcopy"
OBJCOPY:pn-linux-jammy-nvidia-tegra:toolchain-clang = "${HOST_PREFIX}objcopy"

# Use tegra-udrm-gbm for now - https://github.com/OE4T/meta-tegra/issues/1613#issuecomment-2221113973
#PREFERRED_RPROVIDER_tegra-gbm-backend ?= "tegra-udrm-gbm"

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

Expand All @@ -49,6 +52,25 @@ TOOLCHAIN:pn-qwt = "gcc"
# Use gnu run time to keep cuda happy
RUNTIME = "gnu"
TC_CXX_RUNTIME = "gnu"
CORE_IMAGE_EXTRA_INSTALL:append = " \
nvidia-drm-loadconf \
"
CORE_IMAGE_EXTRA_INSTALL1:append = " \
cuda-libraries \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tegra-mmapi-samples mesa-demos l4t-graphics-demos-x11 nvgstapps argus-samples', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'l4t-graphics-demos-wayland weston-examples', '', d)} \
tensorrt-samples \
tegra-tools-tegrastats \
cuda-samples \
optee-nvsamples optee-test \
vulkan-tools \
cuda-samples \
opencv-samples opencv-apps \
"

DISTRO_FEATURES:remove = "ld-is-lld"

DISPLAY_CARD = "/dev/dri/card1"

# Needed for Running bitbake -ctestimage <image>
#TEST_TARGET_IP = "10.0.0.36"
Expand Down
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.6.2"
IMG_VERSION = "24.6.3"
2 changes: 1 addition & 1 deletion sources/meta-arm
Submodule meta-arm updated 25 files
+5 −2 .gitlab-ci.yml
+0 −9 ci/clang.yml
+0 −2 ci/edk2.yml
+1 −1 ci/get-binary-toolchains
+4 −0 ci/poky-altcfg.yml
+2 −1 meta-arm-bsp/conf/machine/fvp-base.conf
+2 −2 meta-arm-bsp/conf/machine/include/corstone1000.inc
+0 −0 ...es-bsp/trusted-firmware-a/files/corstone1000/0003-fix-corstone1000-remove-unused-NS_SHARED_RAM-region.patch
+0 −54 ...bsp/recipes-bsp/trusted-firmware-a/files/corstone1000/0003-fix-spmd-remove-EL3-interrupt-registration.patch
+0 −0 ...s-bsp/trusted-firmware-a/files/corstone1000/0004-fix-corstone1000-clean-the-cache-and-disable-interru.patch
+16 −17 ...s-bsp/trusted-firmware-a/files/corstone1000/0005-feat-corstone1000-Add-multicore-support-for-FVP-plat.patch
+0 −0 ...recipes-bsp/trusted-firmware-a/files/corstone1000/0006-feat-corstone1000-include-platform-header-file.patch
+8 −9 meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-corstone1000.inc
+235 −0 ...sp/recipes-bsp/trusted-firmware-m/files/corstone1000/0014-Platform-Corstone1000-switch-to-metadata-v2.patch
+1 −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
+105 −0 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0050-fwu-Use-metadata-v2.patch
+0 −10 meta-arm-bsp/recipes-security/optee/optee-os_4.1.0.bb
+3 −3 meta-arm-systemready/README.md
+2 −2 meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_13.3.rel1.bb
+2 −2 meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_13.3.rel1.bb
+1 −1 meta-arm/recipes-bsp/boot-wrapper-aarch64/boot-wrapper-aarch64_git.bb
+1 −1 meta-arm/recipes-devtools/gn/gn_git.bb
+1 −1 meta-arm/recipes-devtools/opencsd/opencsd_1.5.3.bb
+1 −1 meta-arm/wic/efi-disk.wks.in
2 changes: 1 addition & 1 deletion sources/meta-openembedded
Submodule meta-openembedded updated 45 files
+6 −0 meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb
+4 −0 meta-networking/recipes-connectivity/dibbler/dibbler_git.bb
+4 −0 meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
+4 −0 meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb
+1 −0 meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb
+5 −0 meta-networking/recipes-protocols/openflow/openflow_git.bb
+4 −0 meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
+4 −0 meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
+24 −0 meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
+5 −0 meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb
+5 −0 meta-oe/recipes-connectivity/wifi-test-suite/wifi-test-suite_10.10.1.bb
+4 −0 meta-oe/recipes-core/usleep/usleep_1.2.bb
+5 −0 meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+0 −42 meta-oe/recipes-devtools/giflib/files/add_suffix_to_convert_binary_used_in_Makefile.patch
+34 −0 meta-oe/recipes-devtools/giflib/giflib/0001-Makefile-fix-typo-in-soname-argument.patch
+5 −3 meta-oe/recipes-devtools/giflib/giflib_5.2.2.bb
+7 −0 meta-oe/recipes-devtools/glade/glade_3.22.2.bb
+30 −0 meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb
+35 −0 meta-oe/recipes-devtools/libgee/libgee_0.20.6.bb
+3 −0 meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb
+5 −0 meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb
+4 −0 meta-oe/recipes-devtools/nodejs/nodejs_20.13.0.bb
+7 −0 meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
+4 −0 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb
+1 −2 meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb
+13 −0 meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb
+4 −0 meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb
+5 −0 meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
+5 −0 meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc_2.2.8.bb
+15 −0 meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb
+6 −0 meta-oe/recipes-extended/zsync/zsync-curl_git.bb
+3 −0 meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
+5 −0 meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
+5 −0 meta-oe/recipes-support/avro/avro-c++_1.11.3.bb
+6 −0 meta-oe/recipes-support/avro/avro-c_1.11.3.bb
+8 −0 meta-oe/recipes-support/ckermit/ckermit_302.bb
+7 −0 meta-oe/recipes-support/daemontools/daemontools_0.76.bb
+5 −0 meta-oe/recipes-support/openct/openct_0.6.20.bb
+5 −0 meta-oe/recipes-support/openldap/openldap_2.6.8.bb
+4 −0 meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
+4 −0 meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb
+5 −0 meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb
+5 −0 meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb
+5 −0 meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
+3 −0 meta-python/recipes-devtools/python/python3-redis_5.0.7.bb
2 changes: 1 addition & 1 deletion sources/meta-qt6
2 changes: 1 addition & 1 deletion sources/meta-raspberrypi
2 changes: 1 addition & 1 deletion sources/meta-riscv
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"

SRC_URI = "git://github.com/YoeDistro/yoe-kiosk-browser;branch=main;protocol=https"
SRCREV = "c4550fd947fcb6ef4b75eca514701aad2b588134"
SRCREV = "738469237165cf991a24541e18ce99909b3806d4"

PV = "1.0.0+git"

Expand Down Expand Up @@ -36,7 +36,11 @@ YOE_KIOSK_BROWSER_RETRY_INTERVAL = "10"
# If this is not set, the default error screen is shown.
YOE_KIOSK_BROWSER_EXCEPTION_URL=""

# Depending upon screen attached to system
SCREEN_RESOLUTION ?= "1024x600"

# DRI card number, may vary for different boards
DISPLAY_CARD ?= "/dev/dri/card0"
# Define it via a knob which can be set from config file e.g. local.conf
YOE_KIOSK_BROWSER_SYSTEMD_UNIT ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'yoe-kiosk-browser-wayland.service', 'yoe-kiosk-browser-eglfs.service', d)}"

Expand All @@ -62,6 +66,12 @@ do_install:append() {
sed -i "s|@@|${YOE_KIOSK_BROWSER_KEYBOARD_SCALE}|" \
${D}${sysconfdir}/default/yoe-kiosk-browser

sed -i "s|@RESOLUTION@|${SCREEN_RESOLUTION}|" \
${D}${sysconfdir}/default/eglfs.json

sed -i "s|@DISPLAY_CARD@|${DISPLAY_CARD}|" \
${D}${sysconfdir}/default/eglfs.json

}

SYSTEMD_SERVICE:${PN} = "yoe-kiosk-browser.service"
Expand Down
2 changes: 1 addition & 1 deletion sources/poky
Submodule poky updated 36 files
+1 −0 documentation/migration-guides/release-4.0.rst
+1 −0 documentation/migration-guides/release-5.0.rst
+159 −0 documentation/migration-guides/release-notes-4.0.19.rst
+245 −0 documentation/migration-guides/release-notes-5.0.2.rst
+7 −0 documentation/ref-manual/variables.rst
+1 −1 documentation/test-manual/intro.rst
+1 −1 meta/classes-recipe/testexport.bbclass
+8 −8 meta/lib/oeqa/core/target/ssh.py
+3 −3 meta/lib/oeqa/runtime/cases/ssh.py
+14 −10 meta/lib/oeqa/utils/postactions.py
+0 −2 meta/recipes-bsp/pciutils/pciutils_3.13.0.bb
+1 −1 meta/recipes-devtools/dnf/dnf_4.20.0.bb
+1 −1 meta/recipes-devtools/go/go-1.22.5.inc
+3 −3 meta/recipes-devtools/go/go-binary-native_1.22.5.bb
+0 −0 meta/recipes-devtools/go/go-cross-canadian_1.22.5.bb
+0 −0 meta/recipes-devtools/go/go-cross_1.22.5.bb
+0 −0 meta/recipes-devtools/go/go-crosssdk_1.22.5.bb
+0 −0 meta/recipes-devtools/go/go-runtime_1.22.5.bb
+4 −7 meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch
+4 −8 meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
+3 −6 meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch
+3 −7 meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
+3 −6 meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
+5 −8 meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch
+5 −7 meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
+4 −7 meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
+3 −6 meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
+0 −0 meta/recipes-devtools/go/go_1.22.5.bb
+0 −1 meta/recipes-extended/hdparm/hdparm_9.65.bb
+1 −1 meta/recipes-extended/mc/mc_4.8.31.bb
+1 −1 meta/recipes-graphics/mesa/mesa.inc
+52 −0 meta/recipes-graphics/vulkan/vulkan-samples/0001-zstd.c-replace-FORCE_INLINE_TEMPLATE-with-inline.patch
+1 −0 meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+36 −0 meta/recipes-graphics/xorg-lib/pixman/0001-pixman-combine-float.c-replace-force_inline-with-__.patch
+1 −0 meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
+2 −2 meta/recipes-support/icu/icu_75-1.bb

0 comments on commit 106d3b7

Please sign in to comment.