Update research/uboot status to latest

This commit is contained in:
vhaudiquet
2026-09-03 23:25:16 +02:00
parent 31ea66070f
commit 5e4f13c69a
2 changed files with 1320 additions and 4 deletions
+1303
View File
File diff suppressed because it is too large Load Diff
+17 -4
View File
@@ -88,15 +88,28 @@ Then: reboot → depthcharge dev menu → "Internal storage".
- pmOS still boots from the USB stick (sda) via the depthcharge menu. - pmOS still boots from the USB stick (sda) via the depthcharge menu.
- pmOS chroot lives on `mmcblk0p3`. - pmOS chroot lives on `mmcblk0p3`.
## U-Boot tree state (branch `krane`, on top of mainline 527115ef) ## U-Boot tree state (branch `krane-updates`, on top of mainline 527115ef)
Kept features (upstreamable): Kept features (upstreamable):
- `drivers/video/mt8183_scanout.c` — UCLASS_VIDEO scanout driver on - `drivers/video/mt8183_scanout.c` — UCLASS_VIDEO scanout driver on
the upstream `ovl0@14008000` node: revives the depthcharge scanout the upstream `ovl0@14008000` node: revives the depthcharge scanout
(OVL_EN/OVL0_2L_EN + backlight GPIOs), parses the coreboot table (OVL_EN/OVL0_2L_EN + backlight GPIOs 43/176), parses the coreboot
LBIO at `0xffed9000`, falls back to `OVL_L0_ADDR` (0x14008f40), table LBIO at `0xffed9000`, falls back to `OVL_L0_ADDR` (0x14008f40),
sets `uc_priv->rot = 3` (270° CW landscape console). sets `uc_priv->rot = 3` (270° CW landscape console). The shared
handoff code lives in `mt8183_disp.c` / `mt8183_disp.h`.
- `drivers/video/mt8183_display.c` — full cold bring-up driver
(Kconfig choice `VIDEO_MT8183_DISPLAY`, now the defconfig default;
`VIDEO_MT8183_SCANOUT` keeps the old behavior): MMSYS display gates,
SMI LARB0, panel init via `drivers/video/mtk_dsi.c` +
`drivers/phy/phy-mtk-mipi-tx.c` + `drivers/video/panel_boe_tv101wum.c`,
overlay scanout of a framebuffer at 0xFC000000 (FDT memreserve +
LMB), backlight. Falls back to the handoff revival, logging the
stage. Serial prints: `[dsi] phase 0/9/F`.
- `drivers/gpio/mt8183_gpio.c` — minimal MT8183 GPIO driver (dir/dout/
din; pinmux left to firmware) for the panel reset / supply-enable pads.
- `drivers/clk/mediatek/clk-mt8183.c` — now also models the MMSYS
display gates (CLK_MM_*) as a clock provider on `mmsys@14000000`.
- `board/mediatek/mt8183/mt8183.c``get_page_table_size()` override - `board/mediatek/mt8183/mt8183.c``get_page_table_size()` override
(0x40000): the fb and coreboot-table dynamic mappings exhaust the (0x40000): the fb and coreboot-table dynamic mappings exhaust the
default page-table budget (Round 31). Any new post-reloc default page-table budget (Round 31). Any new post-reloc