Skip to content

Integrate meta-seco-edgehog-things/ap/qemu

Commit: edgehog/layers/seco/meta-seco-edgehog-things@51bb1920

[QEMU] fix uboot environment

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@2e514b73

[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)

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@eba1ff07

[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.

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@8ddef31d

[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

Merge request reports