Skip to content
Snippets Groups Projects

device-types: base-uboot: Allow adding extra boot methods

Merged Alexander Sowarka requested to merge allow-extra-boot-methods-for-uboot into master

On system ready devices we usually boot from u-boot into grub. To be able to interact with such a chainloaded bootloader, a device can now use the extra_boot_methods variable.

E.g. to add grub support, you can now add the following to a device dict entry:

{% set extra_boot_methods %}
grub:
  parameters:
    bootloader_prompt: {{ bootloader_prompt|default('grub>') }}
    needs_interrupt: {{ grub_needs_interrupt|default(true) }}
grub-efi:
  parameters:
    bootloader_prompt: {{ bootloader_prompt|default('grub>') }}
    needs_interrupt: {{ grub_needs_interrupt|default(true) }}
{% endset %}
Edited by Rémi Duraffort

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
Please register or sign in to reply
Loading