summaryrefslogtreecommitdiffstats
path: root/templates/machines
AgeCommit message (Collapse)AuthorFilesLines
2022-08-23SPEC-4429: Reduce memory to 2048Mo for qemu-armlamprey_12.1.9lamprey_12.1.8lamprey_12.1.7lamprey_12.1.6lamprey_12.1.5lamprey_12.1.15lamprey_12.1.14lamprey_12.1.13lamprey_12.1.12lamprey_12.1.11lamprey_12.1.10lamprey/12.1.9lamprey/12.1.8lamprey/12.1.7lamprey/12.1.6lamprey/12.1.5lamprey/12.1.15lamprey/12.1.14lamprey/12.1.13lamprey/12.1.12lamprey/12.1.11lamprey/12.1.1012.1.912.1.812.1.712.1.612.1.512.1.1512.1.1412.1.1312.1.1212.1.1112.1.10Corentin LABBE1-2/+2
Reduce memory of qemu-arm to 2048 to made qemu happy. Change-Id: I26317c2882efefdaa40ed882e81de79c8b2aef70 Bug-AGL: SPEC-4429 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> (cherry picked from commit b6785131a2c2248c7c8a94ad816dd44745d05199)
2021-11-15Update devicetree filename for reference hardware on BSP 5.5lamprey_12.1.0lamprey/12.1.012.1.0Jan-Simon Moeller1-1/+1
The devicetree filename changed. Update the template files. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Id994c82f1c0c29458058030f65b27a325aba8ee4
2021-11-15Prepare devicetree changes for R-Car BSP 5.5Jan-Simon Möller3-6/+3
The devicetree scheme was evolved. Adapt releng-scripts for use in CI. Bug-AGL: SPEC-4081 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I273a26004e8bdcd81655be8565601ca9cfecf953
2021-06-29SPEC-3976: change qemu memory parametersmarlin_12.90.0marlin/12.90.012.90.0Corentin LABBE1-1/+1
Thoses new parameters permit qemurm to pass sound tests. Change-Id: If266d180912bc15a88791c9af9dd4d7bad093f78 Bug-AGL: SPEC-3976 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-12SPEC-3904: use the right image name for CICorentin LABBE1-1/+5
CI do not use crosssdk image. Bug-AGL: SPEC-3904 Change-Id: Icf046598c4125663394ecd2e830069204b266890 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-11SPEC-3764: replace qemu soundhw argumentCorentin LABBE1-1/+1
Since we use a more recent qemu-arm, we need to change some deprecated argument use. This fixes the warning: qemu-system-arm: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead Change-Id: Icd8272a7d250d89d72652096a332f266c2c4b4a1 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-06SPEC-3904: Add BBE machineCorentin LABBE1-0/+10
This patchs adds the BBE machine template. Since this machine does not have HDMI output, the screenshot test is disabled for it. Change-Id: I1048a202b8ee998084fcb7b78441781aae4ee220 Bug-AGL: SPEC-3904 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-05SPEC-3764: use a more recent qemu version for qemuarmCorentin LABBE1-0/+2
Using a more recent qemu seems to fix problem with screenshot. The easiest way is to use docker to "host" a more recent debian with recent qemu. Change-Id: I7a72de4c6a4dceed7ec967713d7fee3d3523e120 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-05-04SPEC-3752: use vmalloc=512 for qemu armCorentin LABBE1-1/+1
Using vmalloc=512 permits screenshot tests to works without failure. Change-Id: Idb185e490dea38fa32a668c57cd282bb93ec2201 Bug-AGL: SPEC-3752 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-03-30Update templates for screenshot testsJan-Simon Möller3-4/+4
- qemu needs the mem= kernel parameter to work nicely - pyagl needs a larger timeout - pi4 needs an adapted rfs_image for snapshot builds Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ida3ac188008c72d941dbe30203e5b8700ee8a304
2021-03-11Fix template for h3 and refhwJan-Simon Moeller2-10/+10
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I27108a812e06ef9d1a0b9f7279ce6219370570e0
2021-03-11CI builds do use the simpler images hereJan-Simon Möller2-4/+28
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I4a7da3a4cc573387ba8af34acd0d2c4292eaa0ec
2021-03-09SPEC-3811: Use a different rootfs image for h3ulcb-nogfx buildCorentin LABBE2-0/+8
For all branches (except jellyfish/halibut), h3ulcb-nogfx build based boards should now use the agl-demo-platform-crosssdk-h3ulcb.ext4.xz rootfs image. Change-Id: Idc8fafc32dcd598479d16798ffe077776432bd1e Bug-AGL: SPEC-3811 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-02-22SPEC-3812: rpi4: use vc4 dtbCorentin LABBE1-1/+1
Use the vc4 DTB for rpi4 Change-Id: I5b0512e1b165bd511df3f79d69d63a68894993f7 Bug-AGL: SPEC-3812 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-01-21SPEC-3764: Enable screenshooter testCorentin LABBE1-2/+2
This patch enable screenhooter test. The qemuarm need more memory for working with this test. Change-Id: I1aae32688efb4bb8264e3d85bd3c439b7b9f6764 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2021-01-19Remove cma=64M setting overriding devicetree defaultsJan-Simon Möller1-1/+1
This setting needs to be removed in favour of the defaults from devicetree due to the location of the cma area being relevant. Note if at all, the cma= setting needs to be below 768M/1024M. So for reference, a cma=64M@256M does work. But as devicetree does handle it now - let it do its work. Bug-AGL: SPEC-3702 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I9e8300b22f505447a7b1f9be41288a9e54647064
2020-12-16SPEC-3714: fix dtb nameCorentin LABBE1-1/+1
The DTB name of r8a7795-agl-refhw miss the ".dtb" extention. Change-Id: I6f5d80ce9e97aef8dfeab9bb794996412ed30fcc Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-10SPEC-3714: Add r8a7795-agl-refhwCorentin LABBE1-0/+13
The r8a7795-agl-refhw is now ready in our lab, start letting it availlable by adding its releng-scripts templates. Basicly its template is nearly the same as KingFisher. Change-Id: Id02838c26c5275be28cf555e26bf63ce715e4143 Bug-AGL: SPEC-3714 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-12-04Add more cores to qemuarm runs in LAVAJan-Simon Möller1-1/+1
This will increase the speed of the test execution. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I279cc572afae783c84ee2c0a64f17a197ac5f128
2020-10-13SPEC-3631: Add network to qemuCorentin LABBE3-0/+3
qemu machines does not have a network card by default. So let's add one. Change-Id: I6ea5d5625ee5c24b5ee49652f1aa838580a6f952 Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-09-30SPEC-3597: Add video device to qemu arm/arm64Corentin LABBE3-3/+3
We need to add video device to qemu ARM/ARM64. Both arm and arm64 use the virt qemu machine which dont have any video device. But since they have both a PCI bus, we could add a VGA device. Along with the VGA device, let's add some input peripheral for all qemu. Bug-AGL: SPEC-3597 Change-Id: Ic2cee663145abf0b668ca166f40f46318e526bc7 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-09-25Update qemu machine to use q35 on x86Jan-Simon Moeller1-2/+2
This fits what we do when calling runqemu. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic5ffa2f2a65b5b55c820063300171cc31d3d878c
2020-09-23SPEC-3597: add a virtual display device via vncCorentin LABBE1-1/+1
We need to add a virtual display device for testing homescreen. Let's add a vnc to do this. But we need to avoid VNC to open a network port, so we will use an unix socket. For handling the fact that two job could run in parallel, each unix patch need to be unique. We will generate an unique path with gerrit id, branch, and a random int. The vnc is added for all qemu since it seems to not hurt ARM/ARM64. We also add a virtio display device on x86_64 since apps are tested only on x86_64. Change-Id: I22412df75cad16f151f73d0d93b0e38ae386ef4d Bug-AGL: SPEC-3597 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-06-02Add prerelease type to generatorjellyfish_9.99.1jellyfish/9.99.19.99.1Jan-Simon Moeller7-7/+7
Allow the tool to generate jobs against the prerelease location. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
2020-05-12Support the rewitten rpi4 machine file layoutJan-Simon Moeller2-2/+3
The reworked rpi4 board support will build with MACHINE = raspberrypi4-64 to match upstream. This leads to some paths being different on the download server. Thus we need to adapt the scripts. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iac1e2bb8c80bb751138969653a5548c6133a665a
2020-05-04SPEC-3210: qemu do not use ramdiskCorentin LABBE3-3/+3
On 2020.02, qemu jobs fail to mount the rootfs. This is due to LAVA ignore now compression for ramdisk and the AGL image is in xz. But AGL qemu jobs in fact does not use a ramdisk but a virtio disk. Renaming the ramdisk definition entry to rootvd handle this issue. Furthermore, let's introduce a new rootfs type rootvd. Change-Id: I71ef6dee0d859c6aa0b29f1d47ac14dd4db900d8 Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-05-04qemu-arm: fix the qemu virt versionCorentin LABBE1-1/+1
With recent qemu, the ARM virt machine hit: pci-host-generic 4010000000.pcie: can't claim ECAM area [mem 0x10000000-0x1fffffff]: address conflict with pcie@10000000 [mem 0x10000000-0x3efeffff] pci-host-generic: probe of 4010000000.pcie failed with error -16 Without the PCI working, the storage for tests cannot work. So let's fix to the last version of the vmachine which work without kernel hacking. This patch should not be merged until LAVA 2020.02 since stretch qemu does not support virt-2.11 Change-Id: Ifbb352a491cf917c45d48e0f88af20c146ca5422 Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-05-01Fix comment style for jinja2Jan-Simon Moeller1-1/+1
{# ... #} is the proper comment style, otherwise we still assign. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I5b3f318d758825c30e6ec208d2eeaab51ba211ea
2020-04-28Use plain H3 on master until BSP is readyJan-Simon Moeller1-1/+3
Use the plain h3ulcb dtb until the BSP for Kingfisher is back. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ieedf385a28ab3371c6d0f9d5fbd3d92999db90e3
2020-04-16SPEC-3210: qemu x86 need no_timer_checkCorentin LABBE1-1/+1
After upgraded our lab to 2020.02 and so upgraded to buster, the qemu version has increased. With this new version, the qemu x86 jobs fail with a kernel panic about IO APIC timer. This is a know issue and the simpliest fix is to add no_timer_check to the kernel cmdline. Change-Id: I75c2427e683690bfe961f482ad5267d1d957c36f Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-04-08Use qemu artefacts in the upsquare templatereleasenextJan-Simon Möller1-3/+3
Change-Id: Ia6050d0ec9d35cae442dc0979b4ea75f95e6e70b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-03-13raspberrypi4: set boot_type to bootiCorentin LABBE1-0/+1
The raspberrypi4 should use booti for booting Image. Bug-AGL: SPEC-3004 Change-Id: Ie241194eb4177f004b2f5c378a63db88e3293669 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-03-05SPEC-3210: Set the interface for the test deviceCorentin LABBE2-0/+2
By default LAVA set the test device on IDE. Stretch version of qemu doesnt care about this setting and was always using virtio. But buster qemu care now about this and fail with: machine type does not support if=ide,bus=0,unit=0 This patch adds the necessary to restore the use of virtio. Change-Id: If34194d82b6104b9b5be7118a5194bd3b61fc090 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-03-04Add kernel config option to mount rootfs rwJan-Simon Moeller3-3/+3
This is needed if we do not let systemd remount it. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I6f3ddbbc45844bff2a4adb423c7ecb8b57c0c0fd
2020-03-04Add fstab=no option in case of netbootJan-Simon Moeller3-3/+3
to avoid systemd fstab generator to mount partitions that do not exist in the netboot case. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4c08bd50690062202590d7aae8f6508798f29997
2020-03-02SPEC-3004: Add support for raspberrypi4flounderCorentin LABBE1-0/+23
This patch add the template for raspberrypi4. Like rpi3, the job need some custom parameters like console_device and extra_kernel_args. Unlike rpi3, we use directly extra_kernel_args as the device_type will permit to override it. Bug-AGL: SPEC-3004 Change-Id: Iac88f04e0954f77bc2e3a3daf0baf43aec3fa7c7 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-21Revert "SPEC-2921: AGL use only M3 with KingFisher"icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.4icefish/8.99.3icefish/8.99.2halibut_8.0.5halibut/8.0.58.99.48.99.38.99.28.0.5Corentin LABBE1-1/+1
The plan is to have: H3 with KF, M3 without KF. So let's revert to the right DTB for single M3. If we need later M3+KF the right releng templates are already present for it. This reverts commit 8a349e865441c277498a008ac4fd9f13893b5527. Change-Id: I2d2bcf0f3658804d98e06ca7f094aff8efaf2adf Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-20SPEC-2921: fix prompt for h3ulcb-kficefish_8.99.1icefish/8.99.18.99.1Corentin LABBE1-0/+1
The prompt for h3ulcb-kf is h3ulcb, so yocto_machine need to be set to it. Bug-AGL: SPEC-2921 Change-Id: I73b9606b7c9de5142619f531d6cced402763bb85 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-20SPEC-2921: add initrd path for h3ulcb-kfCorentin LABBE1-0/+2
The initrd path for h3ulcb-kf is the same as h3ulcb. Bug-AGL: SPEC-2921 Change-Id: Ieb6812bcb121d2334c94027e9049c45fdb536733 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-11-14SPEC-2921: adds M3/H3 with KingFisherCorentin LABBE2-0/+20
This patch adds M3ULCB+KF and H3ULCB+KF support to releng-scripts Change-Id: I97ef1d63f330f4aaf669ad33f770d4527c00a271 Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-10-24SPEC-2921: AGL use only M3 with KingFisherCorentin LABBE1-1/+1
Since AGL use only M3 with KingFisher, let's use the right DTB. Change-Id: I89bfe021b13f69f786d091b630f44f77ed20a3a0 Bug-AGL: SPEC-2921 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-09-26Add virtio-rng-pci device on qemux86-64Jan-Simon Möller1-1/+1
To fix the xmlsec ptest in https://gerrit.automotivelinux.org/gerrit/#/c/AGL/releng-scripts/+/22510/ we added the virtio-rng-pci to the qemuarm and qemuarm64 targets. Do this also to the x86-64 target. Change-Id: I3ab0a08371656137621120d7eb5356ba993c8b2b Bug-AGL: SPEC-2739 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-26SPEC-2739: Fix xmlsec1 ptest which timeoutCorentin LABBE2-2/+2
ptest-runner fail on xmlsec1 on ARM/ARM64. This is due to lack of randomness as the first test in doing a RSA signature. This patch adds a virtio-rng-pci device on qemuarm and qemuarm64 which adds enough randomness to permit this test to pass. Bug-AGL: SPEC-2739 Change-Id: I98dddd421572cecf2027793aad62a12853e07c59 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-07-23Remove debug from qemu cmdlinehalibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.08.0.48.0.38.0.28.0.18.0.0Jan-Simon Möller3-3/+3
This silences a lot of useless systemd messages. Change-Id: Icacd3bb09125ff4a16b57764490e570a1fc9258b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-17SPEC-2376: add qemu arm templateCorentin LABBE1-0/+19
This patch adds a template for qemuarm Bug-AGL: SPEC-2376 Change-Id: Ib0b9f44d96fc7f365f7da17ce3ce3461d0a3c6c0 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-05-24SPEC-2376: add qemu arm64 templateCorentin LABBE1-0/+19
This patch adds a template for qemuarm64 Bug-AGL: SPEC-2376 Change-Id: I2f8a5fbd1625df8fcb03ba4798c2d8329889408b Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
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>