15 Commits
Author SHA1 Message Date
Baptiste MOINE 6782304549 Model the radios, the PCIe root port and the audio hub
Enough of the T210 to run the whole hwtest sweep. Before this the run died
partway through the audio pages, so Display, Inputs, Raw state and the
Diagnostics verdict never executed at all - 30 pages of 42.

Bluetooth: the CYW4356 as a state machine behind UART-D, with the strap and
power-on sequencing the real part needs, plus the PINMUX, GPIO port H and
UART plumbing it hangs off. Selectable healthy / faulty / absent, so the
failure paths a working console will not produce can still be exercised.

PCIe: MSELECT, the XUSB pad controller and the root port, with the WLAN
endpoint answering config reads. The apertures sit below every other
peripheral, so they need their own hook range.

Audio: the APE hub - I2S, ADMAIF and ADMA - and the ALC5639 codec on I2C_1.
Three details matter. ADMAIF was not dispatched at all, so the ~224k PIO
sample writes of one melody each fell through to the logging arm and the run
drowned in its own output. I2S registers returned 0 rather than what was
programmed, which turned "64 bclk/frame, fs 23437 Hz" into "2 bclk/frame,
fs 750000 Hz". And the codec is big-endian on the wire while bdk packs the
buffer little-endian, so its registers are byte-swapped on the way out.

I2C now NAKs addresses with nothing behind them. Answering every address
made a bus census report all 112 as populated, and made a headphone amp that
is not fitted on this board look present - hwtest then decoded its zeroed
registers as real readings. An emulator that says yes to everything cannot
test a probe whose job is deciding what is there.
2026-08-20 09:18:54 +02:00
Baptiste MOINE accdad8965 Match the ODM7 burnt-fuse default to the bundled BOOT0 2026-08-08 00:20:56 +02:00
Baptiste MOINE 7693df269a Model measured Erista identity, rails, clocks and PLLs 2026-08-08 00:20:56 +02:00
Baptiste MOINE 7ee0c52763 Model the BH1730 ambient light sensor on I2C2 2026-08-08 00:20:56 +02:00
Baptiste MOINE 265ca5404c Serve measured MAX77620 CID3 and CID5 as whole bytes 2026-08-08 00:20:55 +02:00
Baptiste MOINE 16cbccde47 Map DRAM as one contiguous window 2026-08-04 01:17:52 +02:00
Baptiste MOINE 1efbc945cf Resume BPMP on timed FLOW_CTLR halts 2026-08-04 01:17:52 +02:00
Baptiste MOINE e527872acb Track per-port UART TX log and host-injected RX FIFO 2026-05-03 09:42:42 +02:00
Baptiste MOINE 8559909f2d Populate fuse defaults and unblock Dump fuses 2026-05-03 09:42:42 +02:00
Baptiste MOINE d0f0f67247 Add display + touch panel info to HW & Fuses screen 2026-05-03 09:42:42 +02:00
Baptiste MOINE 91b85f2b57 Add DRAM info to HW & Fuses screen 2026-05-03 09:42:42 +02:00
Baptiste MOINE 1bb615e00f Add --oem flag for Erista / Mariko SoC selection 2026-05-02 15:55:18 +02:00
Baptiste MOINE 412bbf6a2c Add SD and eMMC tweaking (CID, eject, reboot) 2026-05-02 15:26:08 +02:00
Baptiste MOINE 1cd49f667a Add live hardware-tweak config window (M key) 2026-05-02 14:11:04 +02:00
Baptiste MOINE d0d7a38fa3 Initial commit 2026-05-02 00:52:26 +02:00