An error occurred while fetching the assigned milestone of the selected merge_request.
device-types: base-uboot: Allow adding extra boot methods
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