From 9654a64a5f52208587ea82e15c14836dc7f75cea Mon Sep 17 00:00:00 2001 From: mrabine Date: Sun, 20 Sep 2026 17:07:05 +0200 Subject: [PATCH 1/2] Enable testimage --- .github/workflows/build.yml | 8 ++++---- .gitmodules | 8 ++++++++ .../conf/templates/default/bblayers.conf.sample | 2 ++ .../join/{join_2.0.1.bb => join_5.0.0.bb} | 13 +++++++------ meta-clang | 1 + meta-dpdk | 1 + 6 files changed, 23 insertions(+), 10 deletions(-) rename meta-chronos/recipes-support/join/{join_2.0.1.bb => join_5.0.0.bb} (70%) create mode 160000 meta-clang create mode 160000 meta-dpdk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6b5562..b528e33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,10 +93,10 @@ jobs: source ./meta-chronos-distro/chronos-init-build-env MACHINE=${{ matrix.machine }} bitbake --quiet chronos-image - # - name: Run Test Image - # run: | - # source ./meta-chronos-distro/chronos-init-build-env - # MACHINE=${{ matrix.machine }} bitbake chronos-image:do_testimage + - name: Run Test Image + run: | + source ./meta-chronos-distro/chronos-init-build-env + MACHINE=${{ matrix.machine }} bitbake chronos-image:do_testimage - name: Build SDK if: inputs.sdk diff --git a/.gitmodules b/.gitmodules index 657cd52..d77afa9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,3 +6,11 @@ path = meta-openembedded url = https://github.com/openembedded/meta-openembedded.git branch = scarthgap +[submodule "meta-dpdk"] + path = meta-dpdk + url = https://git.yoctoproject.org/meta-dpdk + branch = scarthgap +[submodule "meta-clang"] + path = meta-clang + url = https://github.com/kraj/meta-clang + branch = scarthgap diff --git a/meta-chronos-distro/conf/templates/default/bblayers.conf.sample b/meta-chronos-distro/conf/templates/default/bblayers.conf.sample index 5c3dcc6..191c2fc 100644 --- a/meta-chronos-distro/conf/templates/default/bblayers.conf.sample +++ b/meta-chronos-distro/conf/templates/default/bblayers.conf.sample @@ -12,6 +12,8 @@ BBLAYERS ?= " \ ##OEROOT##/../meta-openembedded/meta-python \ ##OEROOT##/../meta-openembedded/meta-networking \ ##OEROOT##/../meta-openembedded/meta-filesystems \ + ##OEROOT##/../meta-clang \ + ##OEROOT##/../meta-dpdk \ ##OEROOT##/../meta-chronos-bsp \ ##OEROOT##/../meta-chronos-distro \ ##OEROOT##/../meta-chronos \ diff --git a/meta-chronos/recipes-support/join/join_2.0.1.bb b/meta-chronos/recipes-support/join/join_5.0.0.bb similarity index 70% rename from meta-chronos/recipes-support/join/join_2.0.1.bb rename to meta-chronos/recipes-support/join/join_5.0.0.bb index 5462e8d..24df783 100644 --- a/meta-chronos/recipes-support/join/join_2.0.1.bb +++ b/meta-chronos/recipes-support/join/join_5.0.0.bb @@ -5,23 +5,24 @@ HOMEPAGE = "https://joinframework.net/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6729a3345f87d7fb915f8b3fe076c569" -DEPENDS = "openssl" - SRC_URI = "git://github.com/joinframework/join;branch=main;protocol=https" -SRCREV = "cf539378c806cdb3c8a8033e9165eedba4bd76c9" +SRCREV = "3a3d0a2beeffe55e54198bf887df2867adb50243" S = "${WORKDIR}/git" -inherit cmake unittest +inherit cmake pkgconfig unittest AUTO_LIBNAME_PKGS = "" PACKAGECONFIG ??= "crypto data fabric services" -PACKAGECONFIG[crypto] = "-DJOIN_ENABLE_CRYPTO=ON,-DJOIN_ENABLE_CRYPTO=OFF" +PACKAGECONFIG[crypto] = "-DJOIN_ENABLE_CRYPTO=ON,-DJOIN_ENABLE_CRYPTO=OFF,openssl" PACKAGECONFIG[data] = "-DJOIN_ENABLE_DATA=ON,-DJOIN_ENABLE_DATA=OFF,zlib" PACKAGECONFIG[fabric] = "-DJOIN_ENABLE_FABRIC=ON,-DJOIN_ENABLE_FABRIC=OFF" -PACKAGECONFIG[services] = "-DJOIN_ENABLE_SERVICES=ON,-DJOIN_ENABLE_SERVICES=OFF" +PACKAGECONFIG[services] = "-DJOIN_ENABLE_SERVICES=ON,-DJOIN_ENABLE_SERVICES=OFF,zlib" +PACKAGECONFIG[io-uring] = "-DJOIN_ENABLE_IO_URING=ON,-DJOIN_ENABLE_IO_URING=OFF,liburing" +PACKAGECONFIG[xdp] = "-DJOIN_ENABLE_XDP=ON,-DJOIN_ENABLE_XDP=OFF,xdp-tools" +PACKAGECONFIG[numa] = "-DJOIN_ENABLE_NUMA=ON,-DJOIN_ENABLE_NUMA=OFF,numactl" PACKAGECONFIG[test] = "-DJOIN_ENABLE_TESTS=ON,-DJOIN_ENABLE_TESTS=OFF" FILES:${PN} += "${libdir}/*.so.*" diff --git a/meta-clang b/meta-clang new file mode 160000 index 0000000..cc29beb --- /dev/null +++ b/meta-clang @@ -0,0 +1 @@ +Subproject commit cc29beb210ab94eacc53bbd67e287e4e33ede342 diff --git a/meta-dpdk b/meta-dpdk new file mode 160000 index 0000000..3984c38 --- /dev/null +++ b/meta-dpdk @@ -0,0 +1 @@ +Subproject commit 3984c38957033d2085df7ad492c9c72f3bcf1177 From 572504fbb4c87ff27fb81f53230df106ec48f15b Mon Sep 17 00:00:00 2001 From: mrabine Date: Sun, 20 Sep 2026 18:43:58 +0200 Subject: [PATCH 2/2] install join --- meta-chronos/recipes-chronos/images/chronos-image.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-chronos/recipes-chronos/images/chronos-image.bb b/meta-chronos/recipes-chronos/images/chronos-image.bb index 450293a..7ad8e10 100644 --- a/meta-chronos/recipes-chronos/images/chronos-image.bb +++ b/meta-chronos/recipes-chronos/images/chronos-image.bb @@ -53,6 +53,9 @@ IMAGE_INSTALL += "packagegroup-chronos-rdma" # ptp IMAGE_INSTALL += "linuxptp" +# join framework +IMAGE_INSTALL += "join" + # package management IMAGE_FEATURES += "package-management"