summaryrefslogtreecommitdiffstats
path: root/templates/machines
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23Fix rootfs for upsquare on CI buildJan-Simon Möller1-1/+5
See the qemu case. Bug-AGL: SPEC-2449 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib23bd4897e89d3eca1eaba33a37c256c932e2d36
2019-05-03utils/agljobtemplate.py: Fix APPURL generationCorentin LABBE6-0/+6
The generated APPURL was invalid: - it needed to be always using ci - it missed branch and arches path This patch move the generation of the application url in the jinja file for accessing the new sdk_arch Bug-AGL: SPEC-1850 Change-Id: Ie3ffff5f6181fdc89c3ebbd41078e4d60a06992b Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-03Remove porterCorentin LABBE1-7/+0
As asked by JSM on review 21232, this patch removes the porter machine. Bug-AGL: SPEC-2375 Change-Id: Iaa8083a271bb61ee1f9208f671d617fc15a00028 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-30Fix rfs_image for qemux86-64Jan-Simon Möller1-1/+1
Change-Id: Ieadfc20e9abbc01a272faf16f59d88ff0f1a3ff5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-18Permit to generate jobs for the upsquareCorentin LABBE1-0/+8
This patch adds suppport for the upsquare. Upsquare use a GRUB boot method, so we needed to add a new generic-grub-tftp boot template. Since all x86_64 use the same yocto generated build name, we add a new upsquare machine, but tweaked a bit utils/agljobtemplate.py to keep intel-corei7-64 everywhere (except for the LAVA device-type). Bug-AGL: SPEC-2075 Change-Id: I15c850fada53efbcda4fd58527d7b7414865f89d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-16Add new files 'machine-branch.jinja2'Khouloud Touil9-0/+18
In order to take care with the old dtb names and to keep it as flexible as possible we create a file for each board and branch with the name that matches with each branch. Change-Id: I223588aa794e4af6428b2ddcd13a1f8d396152a8 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-04-16Change dtb file names to match the new convention namesKhouloud Touil4-4/+4
As we are upgrading to a new branch we had to change dtb file names to match the new convention names. Change-Id: I6cda162056e6074c730d3ec64aa0e37b3eb8642f Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-04-10Fix for change in vayu dtb nameJan-Simon Möller1-1/+1
Actually our 'lcd-lg' was removed. FWIW the board is not usable now with screen. Change-Id: Ie1f551e1e60d61ad50a977b6d2538fe16e9917f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-06templates: rpi3: update custom command-line argsKevin Hilman1-1/+1
Update kernel command-line args to match what is set when booting from SD card. Change-Id: I36e6e50efee83aa99f2e56d84893c6ec774c2e68 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-26templates/machines: rpi3: use combined DTBguppy_6.99.2guppy/6.99.26.99.2Kevin Hilman1-1/+1
The builds now produce a combined DTB (using fdtoverlay) for additional features (e.g. VC4). Use the combined DTB by default. Change-Id: Idd06d8a4316feb2e03a0f850700ec0581be5a130 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-21templates: add job generation support for iPXE based boardsguppy_6.99.1guppy/6.99.16.99.1Liu Wenlong1-0/+7
Since iPXE based boards can use NBD boot[1], now in releng-scripts, we also add support to generate LAVA jobs for iPXE based boards. With this support, Intel-UP2, one of the community reference boards, can do validation tests with the generated jobs easily. [1] https://git.lavasoftware.org/lava/lava/merge_requests/64/diffs Change-Id: I9adce67d7e9207181675e82bf22a653c73682eb8 Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
2018-10-06templates/machines: qemu: Add an USB host controllerCorentin LABBE1-1/+1
This patch adds an emulated USB host controller to qemu. Bug-AGL: SPEC-1773 Change-Id: Iba405d87598c9e527d5b754b12998081a22fd44f Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2018-09-28Add lab-jsmoeller template and fix typo in qemuJan-Simon Möller1-1/+1
Change-Id: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-13fix rpi3 console deviceKevin Hilman1-0/+1
After upgrade to LAVA 2018.x, the ways of sending u-boot arguments have changed slightly, and now need the console_device specified in the job. This is especially important when overriding arguments with custom_kernel_args. Change-Id: Ief8fcaec14a89e34bd03187316e61c0fdb0424d0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-05-03templates/machines: porter: add device_arch and device_machKevin Hilman1-0/+2
Add missing fields to machine templated. Needed for correct LAVA job output. Change-Id: Ia4d55dad0c3fee7d5b5faa4e756a13a5e91af86c Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-03-07Unify rfs_image use for m3ulcbJan-Simon Möller1-3/+1
we now use the agl-imag-ivi-crosssdk everywhere. Change-Id: I397f3338d554f6135ecd3b160fe4e095e5880fa4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-09templates/machines: use crosssdk images for daily/release buildsKevin Hilman2-2/+7
Change-Id: Ifdb704560d9391091d72458fa9742cc65d5eb2d8 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-07templates/machines: rpi3: switch to upstream device-typeKevin Hilman1-1/+7
Switch the rpi3 to use the upstream LAVA device-type. Note that the the default kernel-command line arguments in the upstream device-type are suited for the upstream kernel. When building with an yocto/AGL kernel, those need to be overridden, so also update the machine template to use the correct kernel command-line. Change-Id: I823a1946bf761aa1019a9ec808fa99594337f4f4 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-02-01templates/machines: raspberrypi3: use right device-typeKevin Hilman1-1/+1
Until the upstream device-type is fully validated, use the device-type used in both AGL and BayLibre labs. Change-Id: I87b699983dd50efd9f0013685b06f2d4c5d5f210 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-29Merge "templates/machines: qemu: disable systemd log colors"Kevin Hilman1-1/+1
2018-01-23templates/machines: m3ulcb: use crosssdk image for releaseKevin Hilman1-1/+1
The crosssdk image should be use for daily and for release builds. Change-Id: I58f414d6c8bd7520d1ed3448ae87256ba4553e9e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-23templates/machines: qemu: disable systemd log colorsKevin Hilman1-1/+1
systemd log colors make for noisy/unreadable logs in the CI system. Disable for CI jobs. Change-Id: Ibcf751c61116eb21a731ad3ceae06b8d07deead6 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-18templates: fix the rootfs name for qemu release buildsLoys Ollivier1-1/+5
The rootfs filename has changed for the release builds. Change the default to the new filename for qemu. Change-Id: I1d53010df912dd30d48dd0ee3bf3e4730d79497a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-10templates: fix the rootfs name for m3ulcb and rpi3 daily buildsLoys Ollivier2-1/+8
The rootfs filename has changed for the daily builds. Change the default to the new filename for both platforms. Change-Id: I44ae29902d882ab6f38dc14bba11cc8aee88f8c2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-01-02templates/machines/qemux86-64.jinja2: add smp parameter to qemu machineLoys Ollivier1-1/+1
There is a deadlock at boot time in the current AGL builds which is non critical. Add the smp option to created qemu machines. So they can use 2 cores and finish booting. Change-Id: I26198d1c3191acd98b96558af0abc976c971690a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-29templates/machines: dra7xx-evm: use upstream device-typeKevin Hilman1-1/+1
Change-Id: I386e6a142684d4a4d49955980d86cbc7cf7aa1ac Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-28templates/machines: dra7xx-evm: add arch/mach; fix rfs_imageKevin Hilman1-0/+3
Add default arch and mach fields for kCI metadata. Also set default rfs_image to use agl-demo-platform. Tested by creating a default job: ./utils/create-jobs.py --machine dra7xx-evm -o job.yaml and running successfully in AGL-core LAVA lab. Change-Id: Iaf7a0b86034d1b742a5e2b9e08f882bf64dde995 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-11-16templates/machines: rpi3 rename device typeLoys Ollivier1-1/+1
Change the device type from bcm2837-rpi-3-b-32b to raspebrrypi3 until all labs are aligned with: bcm2837-rpi-3-b-32. Change-Id: I1ce58d37dab9895db075f658260d58a5c2ca0b0d Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-11-06New machine, url, branch, version argumentslollivier2-2/+0
- Machine is now a mandatory argument: --machine - Change in the URL scheme usage: Now the argument is --url, it should be used with --branch & --version (or --changeid and --patchset which are aliases). The default url is the latest AGL release (dab - 4.0.2) - Build version is derived from the URL, branch and version if not set through command line. Example usage: ./utils/create-jobs.py --machine m3ulcb ./utils/create-jobs.py --machine qemux86-64 ./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine m3ulcb ./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine qemux86-64 ./utils/create-jobs.py --url daily --branch master --version latest --machine m3ulcb ./utils/create-jobs.py --url daily --branch master --version latest --machine raspberrypi3 ./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine raspberrypi3 ./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine m3ulcb ./utils/create-jobs.py --url http://baylibre.com/pub/agl/ci/raspberrypi3 --machine raspberrypi3 Update the README.md following changes on the url scheme and --machine argument. Bug-AGL: SPEC-975 Change-Id: Idd0d539627d56e8d28e1e4990570a929b3fa0f5d Signed-off-by: lollivier <lollivier@baylibre.com>
2017-10-12Update qemu defaultsLoys Ollivier1-0/+1
Update the default package names for the qemu to match the AGL CI build artifacts. These defaults can still be overwritten using the command line. Change-Id: Id87abe03b4f4adcf0b67eb20151158bd0103343d Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-11Update raspberrypi3 defaultsLoys Ollivier1-5/+5
Update the default package names and architecture for the RPI3 to match the AGL CI build artifacts. These defaults can still be overwritten using the command line. Change-Id: I248037a385f3583f375912e9725a1cd2a883806f Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-06Revert "Move boot type to kernel type"Kevin Hilman2-0/+2
This reverts commit 364641197bfe95512555abc36b7b62ac48166aaf. Unfortunately, NBD jobs do not work with the new kernel type, so we can't remove the old boot type (at least until NBD is fixed.) Change-Id: If9a64135ef75771a90655fdc4c6429d9b494fcf0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-06Move boot type to kernel typeLoys Ollivier2-2/+0
Boot type is deprecated in lava v2. Replaced by kernel_type and define it from the kernel image name. Change-Id: I6bcb326b5fb8b0230a9d519485741209bfab8ef2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-06New arguments to specify build artifacts namesLoys Ollivier4-9/+14
Added new command line arguments to specifiy build artifacts names: - "--rootfs-img": for the rootfs file name - "--kernel-img": for the kernel name - "--dtb-img": for the dtb file name - "--modules-img": for the modules file name Change-Id: I665dee2b326aeaaf35148345f0501e49950ba9aa Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-05Merge "templates: qemu: add device_arch, device_mach"Kevin Hilman1-0/+2
2017-10-05templates: rpi3: add device_arch, device_machKevin Hilman1-0/+2
device_arch and device_mach are needed for metadata fields used when submitting results to a kernelCI backend. Ensure they have proper defaults. Change-Id: I961c74cb4854c798125c37a2e4bf772e28e80a62 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-05templates: qemu: add device_arch, device_machKevin Hilman1-0/+2
device_arch and device_mach are needed for metadata fields used when submitting results to a kernelCI backend. Ensure they have proper defaults. Change-Id: I8789ab4590c7f133afbfe10c481deb2621e5e978 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-26Renesas m3ulcb add metadataLoys Ollivier1-0/+2
Add metadata to the m3ulcb machine description. Change-Id: I0ef49e55414a18480e6ef21713d860fa3a1a5e23 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-26Sort machine and metadata definition fieldsLoys Ollivier5-12/+12
Sort the machine fields, metadata fields. Easier to go through them and search for fields. Change-Id: I657717fda116d78c5733bd1be4000645a3694713 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-19rfs-image: provide command line options to setup the image nameJerome Brunet2-2/+0
Provide 2 new command line options: --img-name and --img-ext These two options require one another since the name image will be composed from both of them in the following way: rfs_image = img_name + "-" + yocto-machine + "." + img_ext Change-Id: I2b6d174b4c141cea28ce63c3c7c7beae1a82ed4c Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2017-09-07rootfs_type: add default rootfs type for each deviceJerome Brunet5-0/+5
Add a default rootfs type for each device. the type can still be overridden from the command line. The 'boot' parameter is no longer required with this change Change-Id: I666287d83652bcd81d9619eee75bf9be292d936a Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman5-0/+29
Change-Id: I5d545d3531f4c4190453724738076bd4eddfc4d6 Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>