Skip to content

Integrate meta-seco-edgehog-things/kirkstone_next_2_0

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-edgehog-things/-/commit/6f87eb5b0254f5424686bb0440f023f6aa4fdc1d

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

[QEMU] fix uboot environment

--

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

[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/7953d4275136057db92172481b4e9b7de56527d9

[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/7b1873a59be1090e59a036e7a6ccbfa9c6224d15

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

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

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

--

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-edgehog-things/-/commit/307ae467adf080470a99e2d75796dc48cbfc3fe2

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

--

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

[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

Loading