Skip to content

Uefi-only boot improvements - #440

Open
jannau wants to merge 2 commits into
AsahiLinux:mainfrom
jannau:uefi-boot-improvements
Open

jannau wants to merge 2 commits into
AsahiLinux:mainfrom
jannau:uefi-boot-improvements

Conversation

@jannau

@jannau jannau commented Sep 11, 2026

Copy link
Copy Markdown
Member

Override the version and increase boot delay and show a hint on how to show a boot menu

Copying the kernel's dts to u-boot will result in u-boot reporting a
modified worktree. This is unintended for release binaries. Use the
asahi u-boot tag instead.

Signed-off-by: Janne Grunau <j@jannau.net>
The UEFI only boot option might be co-installed with a regular install.
Increase the bootdelay to 10 seconds and show a hint on how to invoke a
bootmenu to ensure a USB storage device is used as boot target.

Signed-off-by: Janne Grunau <j@jannau.net>
echo "CONFIG_LOCALVERSION_AUTO=n" >> configs/apple_m1_defconfig
export LOCALVERSION=-${{ vars.UEFI_UBOOT_TAG }}
echo 'bootdelay=10' >> board/apple/mac/mac.env
echo 'preboot=usb start; echo; echo "Welcome to AsahiLinux UEFI boot"; echo "Enter `bootmenu -e` for boot menu"; echo' >> board/apple/mac/mac.env

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo 'preboot=usb start; echo; echo "Welcome to AsahiLinux UEFI boot"; echo "Enter `bootmenu -e` for boot menu"; echo' >> board/apple/mac/mac.env
echo 'preboot=usb start; echo; echo "Welcome to Asahi Linux UEFI boot"; echo "Enter `bootmenu -e` for boot menu"; echo' >> board/apple/mac/mac.env

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