aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-test
AgeCommit message (Collapse)Author
2021-09-07initramfs-test-full: use rt-tests for glibc onlysa8155p-dunfellNicolas Dechesne
rt-tests is not supported when using musl libc, so do not try to install it unless we are using glibc. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit deefb1f533a7f08262530cc01934d9d55960ab41)
2021-09-07initramfs-kerneltest-full-image: new initramfs image with machine firmware ↵Nicolas Dechesne
and modules Add new image based on initramfs-test-full-image extended with ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} to install kernel modules and firmware files. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 3272672546fff9cf56f885747d0f953608f8ee29)
2021-09-07initramfs-test-full: support dynamic content based on enabled layersNicolas Dechesne
Implement similar mechanism found in: 4e5d23c9a6fa (initramfs-test-image: provide dynamic expansion capabilities) So that we can build derived images. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 51c2dc82ee2aba7a4a0d1a957a26966d6ff2d3eb)
2021-09-07initramfs-test-full-image: drop IMAGE_BASENAME overrideNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit a85b916dc6438a42ea28b2eebde80072f4c5a919)
2021-09-07initramfs-kerneltest-image: new image with machine firmware and modulesDmitry Baryshkov
Add new image based on initramfs-test-image extended with ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} to install kernel modules and firmware files. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 91405d2ed6ada9738a2ef5d0333e3d277ab2ebcb)
2021-09-07initramfs-test-image: provide dynamic expansion capabilitiesDmitry Baryshkov
Up to now we were using dynamic per-layer bbappend to extend initramfs-test-image with extra packages provided by other layers. However this won't scape if other recipes are going to start including initramfs-test-image.bb (because initramfs-test-image bbappends won't get picked up by the next recipe). Thus provide a mechanism to dynamically extend initramfs-test-image, so that the extension is available to the child recipes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 4e5d23c9a6fa5e27dc61757d7c573cc638869022)
2021-09-07initramfs-tiny-image: drop IMAGE_BASENAME overrideDmitry Baryshkov
There is no point in overriding IMAGE_BASENAME to be equal to ${PN}, so drop it to allow easily extending the initramfs-test-image. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 65c8eaa7afd577749b730f057f562dd0f1d142a8)
2021-09-07initramfs-test-image: drop IMAGE_BASENAME overrideDmitry Baryshkov
There is no point in overriding IMAGE_BASENAME to be equal to ${PN}, so drop it to allow easily extending the initramfs-test-image. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 3b6d247f1f057e23afa80f36df831c60b20ee5ff)
2021-09-07recipes-test: Add a new initramfs-test-full-image.bbappendBhupesh Sharma
'initramfs-test-image' is used across several boards and changes to the same are very keenly looked at for size changes to the overall image thus produced as it may lead to some boards failing to boot with yocto based images. So it makes sense to introduce a new 'initramfs-test-full-image' which can retain the character of the test image but can house more utilities which are useful for several qcom boards. So, we have now three types of initramfs images: - initramfs-tiny-image, - initramfs-test-image, and - initramfs-test-full-image Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit db16ed568d495266ac326fb05ea75ebbe7886473) [ replaced dhcpd with dhcp-client in dunfell ] Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2021-09-07initramfs-*-images: fix up image nameNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit bf41043676d51c49ecd513e6b8caf054c26fee3e)
2021-09-07initramfs-*: add a minimal initramfs imageNicolas Dechesne
Sometimes all we need is a tiny image. Rework the test-image so that it reuses the metadata from the tiny image. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 7de148fb10dec04589035f02eb2cc977a1d7b0e0)
2021-09-07initramfs-test-image: add libdrm-testsNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit bd9294cc9373bb569d2dc90dda8999fb9ffa5d1a)
2021-09-07recipes-test/images: initramfs-test-image allow to override NO_RECOMMENDATIONSAníbal Limón
To be able specify installation of firmware and/or modules in {auto,local}.conf. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 425177fd7d5f31583e205c3b0ff1c6d6c4312382)
2021-01-05initramfs-test-image: add iw packageDmitry Baryshkov
Add iw package to initramfs-test-image to supplement wpa-supplicant and to allow controlling of the wifi devices. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit d02b17ad3da5a291b8cfe4cf63d930b2f81fcab2) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2020-06-01recipes-test: Add e2fsprogs to initramfs-test-imageAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 012835c99bd0f9a5063398d0d60fb2a0f95b338b) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-03-30recipes-test/images: Add dhcp to initramfs-test-imageAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-03-21initramfs-test-image: use dynamic_layer for utilities not in OE CoreNicolas Dechesne
Some tools we have in initramfs-test-image are not in OE Core. So instead split the list and use dynamic-layer to include them only when their respective layers are also globally used. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2020-03-21Merge pull request #145 from andersson/for-nico/add-useful-tools-to-ramdiskNicolas Dechesne
initramfs-test-image: Add useful utilities for testing
2020-03-20initramfs-test-image: Add useful utilities for testingBjorn Andersson
Add bluez package to allow validation of bluetooth support, pciutils to get lspci, pd-mapper and tqftpserv to allow booting the WiFi firmware, usbutils for lsusb and wpa-supplicant to allow basic testing of the WiFi support. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-03-20diag: Update to latest versionBjorn Andersson
cc5dc0dec3f5 peripherals: Create and use flow context 040982dbdad0 dm: Allow broadcasters to pass a flow context a3395140dddb watch: Allow flow context to be associated with readq d2c595e9889e mbuf/watch: Introduce flow control context 3eaf16dd4fee qrtr: Remove writeq when remote goes away bf8035f68b07 watch: Fix buffer overflow 286187531128 README: Configuration string should be diag_dun 29db5d80b014 common_cmds: Fix warning about address of packed member 73ca38f0175b build: Honor CFLAGS f46fe32948f4 diag: Add support for version number command Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-08-19Change references from qrtr-apps to qrtr.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 3beeac3a60809607e02f1ff0826b1b86331ab00d)
2019-02-22recipes-test/images: Rename initramfs-bootrr-image -> initramfs-test-imageAníbal Limón
Initially we created the ramdisk image to run bootrr but now the build dosen't include bootrr in the image (CI job includes later) so rename the image name to be generic. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-02-22recipes-test/images: Add autologin to initramfs-bootrr-imageAníbal Limón
Useful for CI test loop and development, based on meta-ostro [1]. [1] https://github.com/ostroproject/ostro-os/blob/master/meta-ostro/classes/ostro-image.bbclass#L465 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-02-22recipes-test/images: Add boot manager (systemd) to initramfs-bootrr-imageAníbal Limón
To provide an image suitable for development, debug-tweaks is needed to login wo password. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2018-12-21intiramds-bootrr-image: add few more debug utilitiesNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-12-21initramfs-bootrr-image: improve how we set PACKAGE_INSTALLNicolas Dechesne
* one package per line * sort all packages Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-10-03diag: Drop upstreamed patchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-03recipes-test: Remove bootrr{,-init} from initramfs-bootrr-imageAníbal Limón
The bootrr and init script is now handled inside the CI integration/mainline [1] jobs so don't need to have the into meta-qcom layer. The CI integration job now gets the last bootrr version and set the initscript needed for boot the board [2][3]. [1] https://ci.linaro.org/job/lt-qcom-linux-integration/ [2] https://git.linaro.org/ci/job/configs.git/commit/?id=c7627a865 [3] https://git.linaro.org/ci/job/configs.git/commit/?id=132f0e8d0 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 18c88af07f3ca1c09215fd7ad84be3e266aa6c89)
2018-10-03diag: Bump revision to fix SDM845 supportBjorn Andersson
Bjorn Andersson (1): qrtr: Register the DCI and not DCI_CMD instance Khem Raj (1): Fix build with musl Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> (cherry picked from commit b73df155aac047dd2cc39b6b9a28874666066255)
2018-09-23diag: Fix build with muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05recipes-test/images: Add diag tool to initramfs-bootrr-imageAníbal Limón
For enable usage of diag on ramdisk testing (bootrr, functional). Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 19b14065fe16ba53a29e3ea2c62e11135725ffb3)
2018-09-05recipes-test: Add diag recipeAníbal Limón
DIAG implements routing of diagnostics related messages between host and various subsystems. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 8911dc8d442f12b272e845a64c95a843f58b03db)
2018-08-23bootrr: upgrade versionNicolas Dechesne
Amit Kucheria (1): db410c/db820c: Check thermal zone characteristics Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-07-27bootrr: upgrade to latest commitNicolas Dechesne
This brings the following changes: Amit Kucheria (4): boards: sdm845: Add tsens test helpers: Add state_check helper helpers: Add value_in_range helper sdm845: Check thermal zone characteristics Bjorn Andersson (1): db820c: Drop duplicate ath10k and atl1c tests Nicolas Dechesne (3): helpers/*: do not assume /usr/bin/ bootrr: emulate lava-test-case command helpers/*: use '.' not 'source' Vinod Koul (4): boards: db820c: Test for prng boards: db410: Test for prng boards: msm8998: Fixup test for prng boards: sdm845: Fixup test for prng Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-06-01bootrr: Bump revisionBjorn Andersson
Bjorn Andersson (2): helpers: Allow timeout in assert_driver as well boards: db820c: Test for atl1c and ath10k_pci Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> (cherry picked from commit 20afcc54132243df0725fb058cc34699bf1e09d6)
2018-05-25bootr: upgrade revisionNicolas Dechesne
Nicolas Dechesne (2): boards: add tests for tsens for DB410c and DB820c boards: MTP8998: fix tsens device name Niklas Cassel (4): db820c: Rename pcie to pcie2, to match the schematics db820c: Add test for pcie0 db820c: Add test for WiFi db820c: Add test for Ethernet Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-05-23boot-init: Invoke bootrr scripts automaticallyBjorn Andersson
In a LAVA-less environment it's convenient to have the bootrr board scripts to be automatically invoked during boot. Allow this to happen by checking the kernel command line for the magic "bootrr-auto" and if so invoke the relevant board scripts. Finish with writing the tilde sentinel, to provide a signal to automation tools of when the tests are done executing. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> (cherry picked from commit 5840216bb1f8231c914c8356fac01b2b28ed1790)
2018-05-23bootrr-init: Run udevadm triggerBjorn Andersson
Any kernel modules referenced by the booting kernel will be waiting for userspace to become available, issue a udevadm trigger to go through sysfs and trigger the loading of kernel modules. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> (cherry picked from commit 4e9fd5d943fc2b328e6836a8ac69ef5d84283fc8)
2018-05-23bootrr: Bump bootrr to latest versionBjorn Andersson
ccc99d87f7c3 boards: Use timeout argument in apq8016 30e0c0fcd922 boards: Update boards list in makefile 5e4444068cc4 sdm845-mtp: Introduce initial test script 4f3565d881bd boards: msm8998: Add tests for everything currently in dt 577a9b8270fb boards: Add Sony Xperia Z2 Tablet test script 2ba0163958fa msm8998: Add test for boot-to-console msm8998 mtp Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> (cherry picked from commit 25da5c33d9d3a98d494ac6e04e50d0ce931214d1)
2018-03-22recipes-test: Add initramfs-bootrr-imageAníbal Limón
A minimal ramdisk suitable for testing, imported from, https://github.com/andersson/meta-stuff Recipes added, - bootrr: Boot regression testing - lava-test-shell: Lava test shell helpers to execute bootrr outside LAVA environment LAVA test definition run example, https://validation.linaro.org/scheduler/job/1692990 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>