Skip to content

Integrate meta-seco-edgehog-things/kirkstone_next_2_0

Commit: edgehog/layers/seco/meta-seco-edgehog-things@6f87eb5b

[QEMU] add support for qemux86 and qemux86-64

  • separate qemuarm and qemux86 WKS templates (different wic partitioning)
  • use cpio.gz as initramfs format instead of cpio.gz.u-boot for qemux86*
  • set grub as bootloader (PREFERRED_PROVIDER_virtual/bootloader has to be set in edgehog-base.inc otherwise it's empty and the utility grub-editenv doesn't get installed)
  • mount sda1 as /boot (needed by grub-editenv, therefore by rauc, to update the grub environment)
  • install grub.conf (rauc configuration)

To run Edgehog Things, you can't use the built-in QEMU legacy BIOS, SeaBIOS. You can download the OVMF bin (QEMU's UEFI bios) from here: https://www.kraxel.org/repos/jenkins/edk2/ Use ia32 for qemux86 and x64 for qemux86-64.

Use this command to run qemu:

BIOS=<path/to/OVMF.fd> runqemu [slirp] [nographic] [...]

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@251953df

[QEMU] fix uboot environment

--

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

[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@7953d427

[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@7b1873a5

[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)
  • load u-boot environment from virtio block device
  • 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> slirp nographic

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@287bf475

[RPI][UART] re-enable kernel boot messages and set correct console tty in the boot script

Remove "quiet" from the bootargs and set console=ttyS0 in the U-boot script for raspberryPi

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@0ca104ee

[RPI][SPLASH] add logo-pos, logo-count to bootargs

--

Commit: edgehog/layers/seco/meta-seco-edgehog-things@307ae467

[RPI][UART] remove redundant variable assignment (ENABLE_UART)

The UART on the raspberryPi was enabled by default in meta-seco-rpi for both Things and Embedded: edgehog/layers/seco/meta-seco-rpi@0884a0e3

--

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

[RPI] add support for raspberry pi

  • add wic
  • enable booting with u-boot
  • add boot script
  • add rauc config
  • add fw_env config
  • automatically mount edgehog boot partition on rpi (required to access u-boot.env)

Merge request reports