Skip to content

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

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-edgehog-things/-/commit/51bb1920e9d5dc20d156bb28a94c18782b184124

[QEMU] fix uboot environment

--

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-edgehog-things/-/commit/2e514b73ed63ab5143f598470aad1a38ce2875f7

[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: https://git.seco.com/edgehog/layers/seco/meta-seco-edgehog-things/-/commit/eba1ff07fadfa43a81a4d9f568a2326253f9368b

[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: https://git.seco.com/edgehog/layers/seco/meta-seco-edgehog-things/-/commit/8ddef31d411f60a95619dcf82dd0b19ac34a3848

[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

Loading