Skip to content
Snippets Groups Projects

many: enable sysota for QEMU x86{,-64}

Merged Zygmunt Krynicki requested to merge zyga/oniro:feature/sysota-grub-support into kirkstone
All threads resolved!

This branch enables SysOTA for the currently supported QEMU targets. ARM is not supported only because we don't have bootable disk-images for QEMU, not because of any inherent incompatibility.

Apart from MACHINE-specific configuration files for RAUC (that, for the moment, encode block device names and the COMPATIBLE) and SysOTA (that encode the MACHINE string) everything is entirely generic wherever GRUB is supported.

I've tested this, including boot, update and rollback for qemux86 and qemux86-64 MACHINEs.

This does duplicate some of the other branches I had open but perhaps it would be easier to evaluate as one piece. It depends on !570 (for some edge cases in case grubenv is damaged) and !569 (on x86_64).

zstd support is only required to update, the system will boot a vanilla image without this patch.

Even with this landed there are some TODOs that I've left out for another wave:

  • Partition type UUIDs for SYS_A and SYS_B partitions in our wic images.
  • GRUB's partition type UUID support will allow our GRUB boot script to be platform independent and no longer machine specific.
  • Similar change to all the RAUC configuration files, so that they don't have to name block devices manually.
  • Extending this to SECO x86 systems (we need similar MACHINE-specific patches and a test on a real board that I don't have at the moment, CC @ektor5) (This is now #482 (closed))
  • Removing the kernel image from the EFI system partition - this is dead file that nothing references anymore. (This is now #483)

Closes: #70 (closed)

Edited by Zygmunt Krynicki

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Stefan Schmidt
  • Stefan Schmidt resolved all threads

    resolved all threads

  • Stefan Schmidt resolved all threads

    resolved all threads

  • Stefan Schmidt added 10 commits

    added 10 commits

    • dc2552ba - 1 commit from branch eclipse/oniro-core:kirkstone
    • 0321b4ff - sysota: disable shared linking
    • 2de727e6 - sysota: update to latest snapshot
    • b69f3ff2 - sysota: add configuration for QEMU x86 and x86-64
    • b4b958ca - sysota: enable reboot delay quirk
    • f17deb64 - grub: enable halt and echo modules
    • 320de28f - grub: replace stub boot script with sysota-compatible logic
    • cde1b177 - rauc: add configuration for QEMU x86 and x86-64
    • 34b27462 - rauc: remove stray spaces
    • e4268d9f - linux: enable CONFIG_SQUASH_ZSTD=y

    Compare with previous version

  • Stefan Schmidt approved this merge request

    approved this merge request

  • Zygmunt Krynicki resolved all threads

    resolved all threads

  • Zygmunt Krynicki added 10 commits

    added 10 commits

    • ab61e5cf - 1 commit from branch eclipse/oniro-core:kirkstone
    • 7eacf211 - sysota: disable shared linking
    • c51a40e6 - sysota: update to latest snapshot
    • dfe70c92 - sysota: add configuration for QEMU x86 and x86-64
    • cfa34723 - sysota: enable reboot delay quirk
    • 74575026 - grub: enable halt and echo modules
    • 0521adb8 - grub: replace stub boot script with sysota-compatible logic
    • 78e8c47e - rauc: add configuration for QEMU x86 and x86-64
    • a3c15a7d - rauc: remove stray spaces
    • 67c04896 - linux: enable CONFIG_SQUASH_ZSTD=y

    Compare with previous version

  • mentioned in issue #70 (closed)

  • Zygmunt Krynicki changed the description

    changed the description

  • Zygmunt Krynicki mentioned in issue #483

    mentioned in issue #483

  • Zygmunt Krynicki changed the description

    changed the description

  • Marta Rybczynska
  • Marta Rybczynska
  • Marta Rybczynska
  • Andrei Gherzan
  • Andrei Gherzan
  • Andrei Gherzan
  • Zygmunt Krynicki added 13 commits

    added 13 commits

    • 67c04896...c25bc186 - 4 commits from branch eclipse/oniro-core:kirkstone
    • 5a7e598c - sysota: disable shared linking
    • c16fd0ff - sysota: update to latest snapshot
    • e914d06c - sysota: add configuration for QEMU x86 and x86-64
    • f3ac4949 - sysota: enable reboot delay quirk
    • f015637c - grub: enable halt and echo modules
    • a6c09c23 - grub: replace stub boot script with sysota-compatible logic
    • 6850608a - rauc: add configuration for QEMU x86 and x86-64
    • fe2af29b - rauc: remove stray spaces
    • aa40df5e - linux: enable CONFIG_SQUASH_ZSTD=y

    Compare with previous version

  • Zygmunt Krynicki added 30 commits

    added 30 commits

    • aa40df5e...e55421a7 - 21 commits from branch eclipse/oniro-core:kirkstone
    • 3cb7bef6 - sysota: disable shared linking
    • bcfc878b - sysota: update to latest snapshot
    • 7e676903 - sysota: add configuration for QEMU x86 and x86-64
    • 3dc9b4b8 - sysota: enable reboot delay quirk
    • 8e855dd4 - grub: enable halt and echo modules
    • 35ad3506 - grub: replace stub boot script with sysota-compatible logic
    • 59835fc7 - rauc: add configuration for QEMU x86 and x86-64
    • dc0ed445 - rauc: remove stray spaces
    • 67fb11cd - linux: enable CONFIG_SQUASH_ZSTD=y

    Compare with previous version

  • Zygmunt Krynicki added 22 commits

    added 22 commits

    • 67fb11cd...8b00ce84 - 13 commits from branch eclipse/oniro-core:kirkstone
    • d19a715e - sysota: disable shared linking
    • c7fab769 - sysota: update to latest snapshot
    • 12903f20 - sysota: add configuration for QEMU x86 and x86-64
    • 97b173c1 - sysota: enable reboot delay quirk
    • c182be2c - grub: enable halt and echo modules
    • 521c0df2 - grub: replace stub boot script with sysota-compatible logic
    • f1412b02 - rauc: add configuration for QEMU x86 and x86-64
    • 9dfd6ed5 - rauc: remove stray spaces
    • 3c54c283 - linux: enable CONFIG_SQUASH_ZSTD=y

    Compare with previous version

  • Andrei Gherzan approved this merge request

    approved this merge request

  • Zygmunt Krynicki resolved all threads

    resolved all threads

  • Zygmunt Krynicki mentioned in issue #514

    mentioned in issue #514

  • Andrei Gherzan resolved all threads

    resolved all threads

  • Please register or sign in to reply
    Loading