Integrate meta-seco-edgehog-things/ap/qemu
requested to merge integrate/meta-seco-edgehog-things/ap/qemu/into/kirkstone_next_2_0 into kirkstone_next_2_0
[QEMU] fix uboot environment
- enable preboot command to load uboot environment from virtio, since U-boot doesn't support virtio as a native environment interface (see here: https://stackoverflow.com/questions/78490686/custom-u-boot-writes-to-environment-file-but-cannot-read-from-it)
- fix environment size in fw_env config template
--
[QEMU] use wic image by default in Things
In Things, configure runqemu to use the WIC image as filesystem (as opposed to the default ext4 image in Embedded)
--
[QEMU] fix uboot script (zImage for arm, Image for aarch64)
Load and boot a zImage in qemuarm and an Image in qemuarm64. This requires making two different boot scripts for qemuarm/qemuarm64.
--
[QEMU] add support for qemuarm and qemuarm64
Add support to build Edgehog Things for QEMU virt ARMv7/8 with poky BSP.
- build U-boot (which is not built by default for QEMU)
- build initramfs
- add WKS template file for QEMU
- exclude grub and u-boot-seco* from build (uses upstream u-boot)
- add cfg fragment to load u-boot environment from virtio block device (NOT WORKING)
- build boot.scr in a dedicated recipe (u-boot-default-script-rpi renamed to u-boot-default-script-edgehog) - the other boards build the script in the u-boot-seco* recipe
- add fw_env configuration (like for raspberrypi, the U-boot environment is in the uboot.env file in the first FAT partition)
- add rauc configuration
Command to run the image in qemu: BIOS=<path/to/u-boot.bin> runqemu <path/to/qemuboot.conf> wic slirp nographic