Skip to content

configs: apple_m1: boot without a serial console - #17

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
fix/apple-no-serial-console
Oct 28, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
fix/apple-no-serial-console

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

U-Boot panicked with "No serial driver found" before printing anything when m1n1's tree described no usable UART. The J616s trees from linux integration/aurora disable both the s5l UART and the DockChannel UART, so a Stage 2 carrying them stopped right after m1n1's logo: no USB, no network, GRUB never ran, and the PMU panic counter read 1.

CONFIG_REQUIRE_SERIAL_CONSOLE defaults to y. Its help text says to turn it off on boards with no debug serial port, which is every Mac. This disables it in apple_m1_defconfig. U-Boot then runs without a console when the tree has none, and still uses the UART when one is described.

Testing on the J616s, the ESP chain driven by a RAM-vectored Stage 1 that loads a side-file Stage 2, with KIS captured:

Stage 2 U-Boot Result
m1n1 1bf9ec57 + batch5 tree, DockChannel UART re-enabled d032fb2 U-Boot, GRUB, Linux
m1n1 1bf9ec57 + batch5 tree as built d032fb2 stops after m1n1 vectors to U-Boot

Over the tether, U-Boot with the batch5 tree boots with both m1n1 32e60029 and 1bf9ec57. The hang only happened with no serial device in the tree.

Build: apple_m1_defconfig, NR_DRAM_BANKS=16, aarch64-linux-gnu, no warnings. The untethered J616s boot with this U-Boot is next.

🤖 Generated with Claude Code

Apple Macs have no debug UART that U-Boot can rely on. The serial ports
in the tree m1n1 hands over are optional: the J616s device trees from
linux integration/aurora disable both the s5l UART and the DockChannel
UART. REQUIRE_SERIAL_CONSOLE (default y) then makes U-Boot panic with
"No serial driver found" before it prints anything, so a Stage 2 built
with such a tree stopped after m1n1's logo: no USB, no network, GRUB
never ran, and the PMU panic counter read 1.

Disable REQUIRE_SERIAL_CONSOLE, as its help text advises for boards
with no debug serial port. U-Boot runs without a console when the tree
has none and keeps using the UART when one is described.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Scope: this only changes what happens when the tree has no serial device. The Neo shares this U-Boot and its tree keeps its UART, so the Neo boots exactly as before. The gate is J616s ESP-chain boots: untethered through the installed Stage 1, then warm and cold reboots.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Untethered J616s results with this U-Boot (Stage 2 b4e62e9e: m1n1 1bf9ec57, the integration/aurora J616s tree with both UARTs disabled, U-Boot 2a03f0c). The chain runs from the installed Stage 1 through the AURORA ESP Stage 2, U-Boot and GRUB to 7.3.0-aurora-j616s-aoplid2.

  • First untethered boot: 0 WARN, user4k granule, eDP and DP-1 up, DP-1 EDID 128 bytes (QG270 S3), GPU on Vulkan, Wi-Fi connected.
  • 5 warm reboots: 5/5 pass on the same checks, 45 to 58 s to ssh.
  • Cold boots are pending (they need the power button).

@RyanTheTide
RyanTheTide merged commit fa3af56 into aurora-wip Oct 28, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the fix/apple-no-serial-console branch October 28, 2026 09:23
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.

1 participant