Age | Commit message (Collapse) | Author | Files | Lines |
|
This will increase the speed of the test execution.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I279cc572afae783c84ee2c0a64f17a197ac5f128
|
|
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>
|
|
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>
|
|
This fits what we do when calling runqemu.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic5ffa2f2a65b5b55c820063300171cc31d3d878c
|
|
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>
|
|
Allow the tool to generate jobs against the prerelease location.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
|
|
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
|
|
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>
|
|
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>
|
|
{# ... #} is the proper comment style, otherwise we still assign.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I5b3f318d758825c30e6ec208d2eeaab51ba211ea
|
|
Use the plain h3ulcb dtb until the BSP for Kingfisher is back.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ieedf385a28ab3371c6d0f9d5fbd3d92999db90e3
|
|
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>
|
|
Change-Id: Ia6050d0ec9d35cae442dc0979b4ea75f95e6e70b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
The raspberrypi4 should use booti for booting Image.
Bug-AGL: SPEC-3004
Change-Id: Ie241194eb4177f004b2f5c378a63db88e3293669
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
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>
|
|
This is needed if we do not let systemd remount it.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I6f3ddbbc45844bff2a4adb423c7ecb8b57c0c0fd
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This silences a lot of useless systemd messages.
Change-Id: Icacd3bb09125ff4a16b57764490e570a1fc9258b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This patch adds a template for qemuarm
Bug-AGL: SPEC-2376
Change-Id: Ib0b9f44d96fc7f365f7da17ce3ce3461d0a3c6c0
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This patch adds a template for qemuarm64
Bug-AGL: SPEC-2376
Change-Id: I2f8a5fbd1625df8fcb03ba4798c2d8329889408b
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
See the qemu case.
Bug-AGL: SPEC-2449
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ib23bd4897e89d3eca1eaba33a37c256c932e2d36
|
|
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>
|
|
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>
|
|
Change-Id: Ieadfc20e9abbc01a272faf16f59d88ff0f1a3ff5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I207c8fef7d85dceb60c1da65c0c7f5f3405952ec
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
Add missing fields to machine templated. Needed for correct LAVA job
output.
Change-Id: Ia4d55dad0c3fee7d5b5faa4e756a13a5e91af86c
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
we now use the agl-imag-ivi-crosssdk everywhere.
Change-Id: I397f3338d554f6135ecd3b160fe4e095e5880fa4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ifdb704560d9391091d72458fa9742cc65d5eb2d8
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|
|
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>
|
|
|
|
The crosssdk image should be use for daily and for release builds.
Change-Id: I58f414d6c8bd7520d1ed3448ae87256ba4553e9e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
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>
|