Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uboot qemuarm64 improvements #103

Conversation

vasilvas99
Copy link
Contributor

@vasilvas99 vasilvas99 commented Jan 24, 2023

Description

  1. Add bootmenu for QEMUARM64 (uboot) that allows the user to short-circuit the rauc slot counting and directly boot one of the images:

image

  1. Remove the qemuarm64.cfg as it's redundant now.

  2. Add fallback_bootargs (empty) for when fdt fails to obtain the bootargs from the qemu "hardware"

Notes on behavior:

  1. The user is given 3 seconds to press a key before uboot proceeds with the normal boot process (Autoboot)
  2. The Boot SDV Image Full and Boot SDV Image Minimal change the bootargs at the end of the boot script, thus booting from the specified image and setting the rauc slot, but they do not change the boot order. This variable is still managed by rauc from userspace.
  3. From 3) => If the last automated boot was from slot SDV_A, the user booted manually with Boot SDV Image Minimal (SLOT_B) from the uboot menu and restarts, the autoboot will still be from slot SDV_A.
  4. Reset and Power off are convenient fast reset/shutdown since the kernel is not yet booted at this point.

@mikehaller mikehaller merged commit 3831feb into eclipse-leda:main Jan 24, 2023
@mikehaller mikehaller deleted the uboot-qemuarm64-improvements branch January 24, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants