U-Boot not detecting nvme after upgrade to Fedora 40

Hi Everyone

After seeing the Fedora 40 Announcement, i upgraded my Fedora Asahi Remix 40 (Gnome) using the official instructions. Unfortunately, this left me with an unbootable system.

I then continued to try booting a wild mix of disk images and OSes from usb, updating m1n1 from macos and chrooting into the disks from alpine linux… however I still didn’t manage to make my asahi partition boot.

I now found a few ways how to boot it, all requiring manual intervention in u-boot:

  • bootflow scan automatically boots after a little delay I think
  • nvme scan followed by bootmenu also works
  • bootd boots pretty straight into fedora

With a bootable usb disk attached, auto boot (to that disk) works.

Any tips on how to getting this to boot directly without manual intervention again?

Output of the asahi installer:

Collecting system information...
  Product name: MacBook Pro (14-inch, 2021)
  SoC: Apple M1 Pro
  Device class: j314sap
  Product type: MacBookPro18,3
  Board ID: 0x8
  Chip ID: 0x6000
  System firmware: iBoot-10151.121.1
  Boot UUID: 378992EE-6FF8-4900-B480-86E2E1017F23
  Boot VGID: 378992EE-6FF8-4900-B480-86E2E1017F23
  Default boot VGID: 378992EE-6FF8-4900-B480-86E2E1017F23
  Boot mode: macOS
  OS version: 14.5 (23F79)
  OS restore version: 23.6.79.0.0,0
  Main firmware version: 14.5 (23F79)
  No Fallback System Firmware / rOS
  SFR version: 23.6.79.0.0,0
  SystemRecovery version: 23.4.56.0.0,0 (14.3 23D56)
  Login user: *******

Collecting partition information...
  System disk: disk0

Collecting OS information...

Partitions in system disk (disk0):
  1: APFS [Macintosh HD] (874.66 GB, 6 volumes)
    OS: [B*] [Macintosh HD] macOS v14.5 [disk4s1s1, 378992EE-6FF8-4900-B480-86E2E1017F23]
  2: APFS [Fedora Linux with GNOME] (2.50 GB, 4 volumes)
    OS: [  ] [Fedora Linux with GNOME] m1n1 v1.4.14 (macOS 13.5 stub) [disk3s2, A10A5C04-D8F3-425B-8E46-C7CBF82588FE]
  3: EFI (524.29 MB)
  4: Linux Filesystem (1.05 GB)
  5: Linux Filesystem (115.93 GB)
  6: APFS (System Recovery) (5.37 GB, 2 volumes)
    OS: [  ] recoveryOS v14.5 [Primary recoveryOS]

  [B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
  [ *] = Default boot volume

Using OS 'Macintosh HD' (disk4s1s1) for machine authentication.
No actions available on this system.
No partitions have enough free space to be resized, and there is
nothing else to be done.

Output of u-boot version command:

U-Boot 2024.04 (Apr 03 2024 – 00:00:00 +0000)

So, after updating today, it seems like the auto-boot got restored.

I’m speculating that the update of uboot-images-armv8 would have had something to do with it, but there where other packages updated with it… so I can’t say for sure.