summaryrefslogtreecommitdiffstats
path: root/templates/boot
AgeCommit message (Collapse)AuthorFilesLines
2019-04-18Permit to generate jobs for the upsquareCorentin LABBE1-0/+46
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>
2018-11-21templates: add job generation support for iPXE based boardsguppy_6.99.1guppy/6.99.16.99.1Liu Wenlong1-0/+46
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-06-14templates/boot: generic-base-boot: fix boot with NBDCorentin LABBE1-0/+9
Since the following commit: https://github.com/Linaro/lava-dispatcher/commit/b8e7dc1317e263884c2e10bcf4ff822857a545a5 LAVA jobs need to have a set_port action. This patch permit to generate a job with such action Change-Id: I34152d146f3deb6839c320da86a0b75187a93070 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Tested-on: m3ulcb
2017-12-04Relax the prompts by dropping the usernameJan-Simon Möller1-0/+1
This change relaxes the login match a little bit by removing the username. This will assist cases where we see not-recognized logins as well as tests with different usernames (non-root). Change-Id: Ied0ee9930f7804eb9883649495306e16964a75e6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-09New boot type definitionLoys Ollivier1-6/+7
Depending on the boot type (ramdisk or nbd), specify a boot method. This change helps defining the correct boot type automatically from the boot protocol (ramdisk or nbd). Tested with m3ulcb (nbd) and raspberrypi3 (ramdisk). Change-Id: I84845c2fa94b32cd53c91a5330b25505e7b60930 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-06Revert "Move boot type to kernel type"Kevin Hilman1-1/+1
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 Ollivier1-1/+1
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 Ollivier1-5/+4
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-05templates/boot: include basic root promptKevin Hilman1-1/+4
When testing with basic ramdisk support, we need to be able to detect a simple root prompt. Change-Id: I73302e2b7bed1d6e499fbdf3918ad3ed8dfdd03a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-20Merge "rootfs_type: remove nfs"Kevin Hilman1-5/+1
2017-09-19rootfs_type: remove nfsJerome Brunet1-5/+1
NFS is untested and not used at the moment. Remove it for now to avoid unnecessary issues Change-Id: Ide7f0663f3c31cde14dcda3c6e6694e22165bf49 Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2017-09-11templates: QEMU: use transfer_overlayKevin Hilman1-0/+3
Without transfer_overlay, LAVA will use libguestfs to insert the overlay into the rootfs. This will cause problems with rootfs that have security enabled, so use transfer_overlay to load the overlay after the rootfs has been booted. Tested with QEMU devices in lab-baylibre. Change-Id: Ib27e5e862c64e8b302fa486f113fed4fdc6f5e83 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman4-0/+91
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>