Skip to content

Every 32-bit board's screen through simpledrm - #477

Merged
henrikklee merged 1 commit into
mainfrom
armv7-simpledrm
Dec 2, 2026
Merged

henrikklee merged 1 commit into
mainfrom
armv7-simpledrm

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

Every 32-bit iPhone and iPad now shows its screen through simpledrm, the driver the 64-bit boards use. The iPad 3 and iPad 4 come up upright in portrait, both console and desktop. The boot console still shows on every board.

What changes, by board family (kernel side: OrchardLinux/linux#110)

  • A5, iPad mini 1 (P105): 768 x 1024 portrait, as before.
  • A5, iPad 2 (K93): stays landscape, upright with the Home button on the left. Its touch and motion sensors are set up for that screen.
  • A5X, iPad 3 (J1, J2, J2A): simpledrm turns iBoot's 2048 x 1536 scanout to 1536 x 2048 portrait. The console is no longer turned separately.
  • A6, iPhone 5 (N41, N42): 640 x 1136 portrait, as before.
  • A6X, iPad 4 (P101, P102, P103): turned to portrait like the iPad 3, which has the same panel and display link. Not booted yet.

This pull request

  • tools/kernel-tree/take moves the armv7 lock to linux#110's merge. The expanded config differs in exactly two lines: DRM_SIMPLEDRM=y, and FB_SIMPLE gone.
  • Device notes for J1, J2A, N42 and P101-P103 name simpledrm. Their generated pages were regenerated with tools/catalog/generate matrix. No status changes.
  • Changelog entry under Devices.

Checked: nothing here depends on simplefb's /dev/fb0

  • No initramfs, RAM payload or recovery script opens /dev/fb0. They only pass fbcon=map:…, which works with any framebuffer.
  • The splash is m1n1's, drawn before Linux starts.
  • simpledrm's fbdev emulation still provides fb0 and fbcon.
  • Omarchy A: the A5 boards (P105, K93) now have two display cards on one screen, simpledrm's and the GPU's (apple-sgx). The desktop runs on the GPU's card. The session now picks that card explicitly (Open the A5 GPU's display card only omarchy-a#249, merged).

Half-size desktop (simpledrm.zoom): off everywhere. It needs a turned scanout, so only the iPad 3 and iPad 4 could use it: simpledrm.zoom=2 on the command line gives a 768 x 1024 desktop, with a quarter of the pixels to draw.

What the first 32-bit boot should check: the screen comes up, the console is visible, and the kernel log has the simpledrm and fb0: simpledrmdrmfb lines. On the iPad 3, the log should say scanout 2048x1536 turned 90 degrees: presenting 1536x2048, and the console and desktop should be portrait with the Home button at the bottom. On the P105 and K93, the desktop should come up on the apple-sgx card with a single output.

The armv7 kernel drives the boot framebuffer with simpledrm instead of
simplefb (DRM_SIMPLEDRM=y, FB_SIMPLE off); the config differs in exactly
those two lines. The iPad 3 and, now, the iPad 4 are turned upright by
simpledrm (rotation = <90>), so the iPad 3's command line no longer turns
fbcon itself. Device notes and their generated pages name simpledrm.

Assisted-by: LLM
Signed-off-by: Henrik Klee <henrik@goat-code.com>
@henrikklee
henrikklee merged commit cad0666 into main Dec 2, 2026
11 checks passed
@henrikklee
henrikklee deleted the armv7-simpledrm branch December 2, 2026 21:37
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