LTS sync up
cover LTS sync up
This patch series is a repost of a number of patches that we have been testing as part of our LTS migration to kernel 6.1 and uboot 2023.
LCPD Automation Script (1):
ltp-ddt: Intial LTS migration version
Ryan Eatmon (5):
tisdk-core-bundle: Fix am65xx sysfw names
ltp: Add version 20230127 from oe_core master
ltp-ddt: Add support for version 20230127
ltp-ddt: Remove older version.
branding-core: Temporarily disable GC320 driver
.../conf/distro/include/branding-core.inc | 4 +
.../recipes-core/images/tisdk-core-bundle.bb | 2 +-
...tp-ddt_20210524.bb => ltp-ddt_20230127.bb} | 6 +-
...002-Remove-OOM-tests-from-runtest-mm.patch | 35 +++++
.../ltp/ltp/disable_hanging_tests.patch | 27 ++++
.../recipes-extended/ltp/ltp_20230127.bb | 140 ++++++++++++++++++
6 files changed, 210 insertions(+), 4 deletions(-)
rename meta-arago-extras/recipes-devtools/ltp-ddt/{ltp-ddt_20210524.bb => ltp-ddt_20230127.bb} (77%)
create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0002-Remove-OOM-tests-from-runtest-mm.patch
create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/disable_hanging_tests.patch
create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp_20230127.bbSignature · 1 line
2.17.1
PATCH 1/6 tisdk-core-bundle: Fix am65xx sysfw names
k3_image_gen added the suffix to the sysfw binary to differentiate between GP and HS binaries.
--- meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb +1 -1
@@ -13,7 +13,7 @@ DEPLOY_SPL_NAME:k3 = "tispl.bin tiboot3.bin" DEPLOY_IMAGES_NAME:k3 = "bl31.bin bl32.bin bl31.bin.unsigned bl32.bin.unsigned" DEPLOY_IMAGES_NAME:append:am65xx = " sysfw.itb" DEPLOY_IMAGES_NAME:append:j721e = " sysfw.itb" -DEPLOY_IMAGES_NAME:append:am65xx-evm = " sysfw-am65x-evm.itb sysfw-am65x_sr2-evm.itb" +DEPLOY_IMAGES_NAME:append:am65xx-evm = " sysfw-am65x-gp-evm.itb sysfw-am65x_sr2-gp-evm.itb" ARAGO_TISDK_IMAGE ?= "tisdk-core-bundle" export IMAGE_BASENAME = "${ARAGO_TISDK_IMAGE}"
Signature · 1 line
2.17.1
PATCH 2/6 ltp: Add version 20230127 from oe_core master
In reply to Ryan EatmonThis is a verbatim backport of the ltp_20230127.bb recipe and patches from the oe-core master branch.
--- ...002-Remove-OOM-tests-from-runtest-mm.patch | 35 +++++ .../ltp/ltp/disable_hanging_tests.patch | 27 ++++ .../recipes-extended/ltp/ltp_20230127.bb | 140 ++++++++++++++++++ 3 files changed, 202 insertions(+) create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0002-Remove-OOM-tests-from-runtest-mm.patch create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/disable_hanging_tests.patch create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp_20230127.bb
meta-arago-extras/recipes-extended/ltp/ltp/0002-Remove-OOM-tests-from-runtest-mm.patch new file +35 -0
@@ -0,0 +1,35 @@ +From e87c2ad1e16cdbd62ba71b2ace3270503decaa56 Mon Sep 17 00:00:00 2001 +From: "Mingde (Matthew) Zeng" <[email protected]> +Date: Wed, 29 Jul 2020 08:47:09 -0400 +Subject: [PATCH] Remove OOM tests from runtest/mm + +Disable OOM tests, as they might cause oeqa ssh connection lost + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Mingde (Matthew) Zeng <[email protected]> +[ pvorel: rebased for 20210927 ] +Signed-off-by: Petr Vorel <[email protected]> +--- + runtest/mm | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/runtest/mm b/runtest/mm +index 6537666a9..e5a091a5a 100644 +--- a/runtest/mm ++++ b/runtest/mm +@@ -73,12 +73,6 @@ ksm06_2 ksm06 -n 8000 + + cpuset01 cpuset01 + +-oom01 oom01 +-oom02 oom02 +-oom03 oom03 +-oom04 oom04 +-oom05 oom05 +- + swapping01 swapping01 -i 5 + + thp01 thp01 -I 120 +-- +2.33.0 +
meta-arago-extras/recipes-extended/ltp/ltp/disable_hanging_tests.patch new file +27 -0
@@ -0,0 +1,27 @@ +This patch disables tests which we've found "hang" on our infrastructure. + +proc01: +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm) +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm) +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/2782 (arm) +(was trying to read /proc/kmsg, looks like a horrible test anyway) + +Upstream-Status: Inappropriate [OE Configuration] +Signed-off-by: Richard Purdie <[email protected]> + +Index: git/runtest/fs +=================================================================== +--- git.orig/runtest/fs ++++ git/runtest/fs +@@ -64,11 +64,6 @@ writetest01 writetest + #Also run the fs_di (Data Integrity tests) + fs_di fs_di -d $TMPDIR + +-# Read every file in /proc. Not likely to crash, but does enough +-# to disturb the kernel. A good kernel latency killer too. +-# Was not sure why it should reside in runtest/crashme and won't get tested ever +-proc01 proc01 -m 128 +- + read_all_dev read_all -d /dev -p -q -r 3 + read_all_proc read_all -d /proc -q -r 3 + read_all_sys read_all -d /sys -q -r 3
meta-arago-extras/recipes-extended/ltp/ltp_20230127.bb new file +140 -0
140 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 3/6 ltp-ddt: Add support for version 20230127
In reply to Ryan EatmonThe internal testing team would like to move to this version as the basis for our internal ltp-ddt.
--- .../ltp-ddt/ltp-ddt_20230127.bb | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +47 -0
@@ -0,0 +1,47 @@ +FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-extended/ltp/ltp:" +FILESEXTRAPATHS:prepend := "${ARAGOBASE}/meta-arago-extras/recipes-extended/ltp/ltp:" + +require recipes-extended/ltp/ltp_${PV}.bb + +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project" +HOMEPAGE = "https://git.ti.com/cgit/test-automation/ltp-ddt/" + +PROVIDES += "ltp" + +DEPENDS += "alsa-lib" + +PE = "1" +PR = "r7" +PV:append = "+git${SRCPV}" + +SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288" +BRANCH ?= "master" + +SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https" +SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} " + +SRC_URI:append = " https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h" +SRC_URI[rpmsg_rpc.sha256sum] = "cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be" + +export prefix = "/opt/ltp" +export exec_prefix = "/opt/ltp" + +EXTRA_OEMAKE:append = " \ + KERNEL_USR_INC=${WORKDIR} \ + ALSA_INCPATH=${STAGING_INCDIR} \ + ALSA_LIBPATH=${STAGING_LIBDIR} \ +" + +RDEPENDS:${PN} += "\ + acl \ + at \ + pm-qa \ + serialcheck \ + memtester \ +" + +do_install:prepend() { + # Upstream ltp recipe wants to remove this test case in do_install + install -d ${D}${prefix}/runtest/ + echo "memcg_stress" >> ${D}${prefix}/runtest/controllers +}
Signature · 1 line
2.17.1
PATCH 4/6 ltp-ddt: Intial LTS migration version
In reply to Ryan EatmonFrom: LCPD Automation Script <[email protected]>
As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127
Going forward all updates will come from the CICD flow.
--- meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
@@ -14,7 +14,7 @@ PE = "1" PR = "r7" PV:append = "+git${SRCPV}" -SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288" +SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099" BRANCH ?= "master" SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1
PATCH 5/6 ltp-ddt: Remove older version.
In reply to Ryan EatmonNow that we have 20230127 in place, we can remove this older recipe.
--- .../ltp-ddt/ltp-ddt_20210524.bb | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb deleted +0 -47
@@ -1,47 +0,0 @@ -FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-extended/ltp/ltp:" -FILESEXTRAPATHS:prepend := "${ARAGOBASE}/meta-arago-extras/recipes-extended/ltp/ltp:" - -require recipes-extended/ltp/ltp_${PV}.bb - -SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project" -HOMEPAGE = "https://git.ti.com/cgit/test-automation/ltp-ddt/" - -PROVIDES += "ltp" - -DEPENDS += "alsa-lib" - -PE = "1" -PR = "r7" -PV:append = "+git${SRCPV}" - -SRCREV = "0b51638be46d1e00e2e7e6c4c65dcff738ff2e60" -BRANCH ?= "master" - -SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;protocol=https;branch=master" -SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} " - -SRC_URI:append = "https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h" -SRC_URI[rpmsg_rpc.sha256sum] = "cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be" - -export prefix = "/opt/ltp" -export exec_prefix = "/opt/ltp" - -EXTRA_OEMAKE:append = " \ - KERNEL_USR_INC=${WORKDIR} \ - ALSA_INCPATH=${STAGING_INCDIR} \ - ALSA_LIBPATH=${STAGING_LIBDIR} \ -" - -RDEPENDS:${PN} += "\ - acl \ - at \ - pm-qa \ - serialcheck \ - memtester \ -" - -do_install:prepend() { - # Upstream ltp recipe wants to remove this test case in do_install - install -d ${D}${prefix}/runtest/ - echo "memcg_stress" >> ${D}${prefix}/runtest/controllers -}
Signature · 1 line
2.17.1
PATCH 6/6 branding-core: Temporarily disable GC320 driver
In reply to Ryan Eatmon--- meta-arago-distro/conf/distro/include/branding-core.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta-arago-distro/conf/distro/include/branding-core.inc +4 -0
@@ -14,3 +14,7 @@ ALTERNATIVE_PRIORITY:pn-ti-ipc-rtos = "15" # Remove mmip - DRM allocator, KMS sink, Wayland sink need porting to GST 1.18 MACHINE_FEATURES:remove = "mmip" + +# GC320 support requires out-of-tree drivers not available in until LTS prep is +# complete. Disable for now. +MACHINE_FEATURES:remove = "gc320"
Signature · 1 line
2.17.1