aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/wic
AgeCommit message (Collapse)AuthorFilesLines
2020-01-21Extend qemux86-64 images to support real hardwarePaul Barker1-1/+1
* Build wic images for qemux86-64 which can be written to a USB stick or SD card. * Support both virtual and physical displays for all qemu targets. * Use a wks file which works on both virtual and physical machines. EFI is now required to boot the VMDK image. * Drop inclusion of `microcode.cpio` in the boot partition in the wic file `systemd-intel-corei7-64-bootdisk.wks`. This file is not available for qemux86-64 images and is not strictly necessary. Bug-AGL: SPEC-2931 Change-Id: Ib3982906e52d3a964a921c9a2234cab697fe0551 Signed-off-by: Paul Barker <pbarker@konsulko.com>
2018-04-05Rework how we pass arguments to QEMU, provide a wks.in fileTom Rini1-0/+9
- The official hook for changing the resolution we tell QEMU is UVESA_MODE so change agl_qemux86-64.inc to set the value there rather than override the whole of QB_KERNEL_CMDLINE_APPEND. - Make agl_qemux86-64.inc further append what's needed to QB_KERNEL_CMDLINE_APPEND as APPEND isn't used in the filesystem images we create anymore. - Create a directdisk.wks.in file that will (a) use --use-uuid and not force /boot to be looked for on /dev/sda1 (when it will _NOT_ be) and (b) evaluate QB_KERNEL_CMDLINE_APPEND to determine what the bootargs to the kernel will be. Change-Id: I49894d70e6c0010e0907b72f19fcc8fb0917e34a Bug-AGL: SPEC-1301 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-04-03Make better use of UUIDs on Intel platform wks filesTom Rini2-4/+4
- Stop using --ondisk XXX in the wks files, that enforces using USB/SATA/etc as /etc/fstab will be referencing these devices. - Pass --use-uuid for the boot partition - Update mkefi-agl.sh and mkabl-agl.sh to modify the final fstab to use the PARTUUID they create rather than the PARTUUID of the resulting wic file. Change-Id: I450ba77805fdb83e31411ea48b25aad415fa8a69 Bug-AGL: SPEC-1300 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-03-08dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wicTom Rini1-0/+6
Introduce a new wks file, sdimage-bootpart-uuid.wks that differs from sdimage-bootpart.wks in that it uses --use-uuid rather than --ondisk as PARTUUID is more portable and we do not use busybox mount in our images. Bug-AGL: SPEC-1336 Change-Id: Ib98d1e49406f8b8ac13c3947f4efbc4360cf9865 Signed-off-by: Tom Rini <trini@konsulko.com>
2017-12-13meta-intel: Ensure we pass the microcode as initrd in wic imagesTom Rini2-2/+2
We need to ensure that the microcode is passed to the kernel as an initrd to allow for application of required updates. Bug-AGL: SPEC-1173 Change-Id: I37a2ca401df9a9c17cf2d3a60151af639a3aba28 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12451 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-10meta-intel: Switch to using WIC images onlyTom Rini2-0/+35
The hddimg format has a hard-stop at 4GB sized images. We can trigger this rather easily at this point under agl-demo-platform-crosssdk. WIC images do not have any such limitation, so we remove hddimg from the list of built images. The main impact of this is that whereas before we would modify the default kernel command line via APPEND in the conf file we would now modify it via the wks file we create for each platform and that mkefi-agl.sh is now redundant. These wks files are based on the systemd one but also reflect the design of mkefi-agl.sh in that they drop the swap partition. Much of the APPEND commentary is moved to the wks file and we remove some irrelevant comments as well. Bug-AGL: SPEC-963 Change-Id: If667e1f946e4b9793b63f6d7f572d56d73e35767 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12159 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-21R-Car Gen3: Add WIC supportTom Rini1-0/+5
Add a new wks file for the R-Car Gen3 platforms. Given that U-Boot is on-device and not updated by us, we just need to make a single partition that contains the rootfs. This matches the existing instructions. We need to include kernel-devicetree into the resulting image so that we have the device tree there to be loaded in. Bug-AGL: SPEC-899 Change-Id: Iad55ef0ed49e7a53846fa36393e71d16cd5e423d Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11391 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com>