Repository navigation
arm: apple: boot any T8152 board from RAM, not only the J873g - #56
RyanTheTide wants to merge 1 commit into
Conversation
The T8152 MMU map holds the SoC's DockChannel aperture and the RAM the boot loader describes. Neither depends on the board, but the map was picked only when the root was also compatible with apple,j873g. On any other T8152 board U-Boot panicked with "Unsupported SoC". Select the map from the SoC compatible alone, as for every other SoC. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Blockers: 1. The change is correct. The T8152 map (board.c:1001-1022) holds only the SoC's DockChannel aperture, plus RAM and framebuffer entries filled from the loader's FDT. Nothing in it depends on the board, and dropping
#58 moves this selection into HW row: J873g RAM boot of this head to the U-Boot prompt over DockChannel, unchanged. If an owner has a second T8152 board, the same boot there reaching the prompt instead of "Unsupported SoC". The second board is not needed to merge. Assisted-by: LLM (Claude:Opus 5.5) |
build_mem_map()picks the T8152 map only when the root is compatible withapple,t8152andapple,j873g. The map holds the SoC's DockChannel aperture plus the RAM and framebuffer from the boot loader's FDT, and none of that depends on the board. On every other T8152 board, U-Boot panics with "Unsupported SoC" before the console comes up.This picks the map from the SoC compatible alone, the same way as for every other SoC, and updates
doc/board/apple/j873g.rstto match. Nothing else changes: the storage-free RAM boot and the ESP-probe skip were already keyed onapple,t8152.Original target: 2d307fa by Acelogic.
Tests
apple_j873_defconfig, GCC 16.1 aarch64: builds with no warnings.test/py/tests/test_apple_*.pywith--noconftest: all pass.Hardware rows owed (draft until done)
j873g.rst: it should now reach the prompt instead of panicking.