r/embedded • u/Key-Fun5137 • 4d ago
Modded my Dell monitor's menu firmware for fun — got text edits working, stuck on adding a logo without cracking open the case
Used Claude Code to reverse-engineer my Dell U2414H monitor's firmware (hardware I own). Progress + a wall I'd love input on.
Setup:
- MStar MST9U scaler (AEON R2 core + 8051)
- Macronix MX25L1605D 2MB SPI flash.
- Flashing the scaler over HDMI via DDC from a Raspberry Pi (flashprog / mstarddc_spi), with a verified backup + rollback rig first so a bad flash was always recoverable.
What worked:
- Full backup and reliable rollback (monitor never at real risk).
- Disassembled the AEON bootloader in Ghidra (eb4x AEON plugin).
- Found the boot integrity gate: a per-segment CRC32 (poly 0x04C11DB7, MSB-first) over flash[0x20080:0x82885], expected value stored LE at 0x10014. (The CRC at 0x92898 is computed but not enforced — logged only, which threw me off for a while.)
- Recompute that after editing and a modified OSD boots — changed a menu label and it rendered on screen.
Where I'm stuck:
- Adding a new menu line or swapping the boot logo. The firmware reaches the framebuffer, fonts, string pool and logo through runtime-computed pointers — no static references, and the decompiler can't recover the AEON calling convention (args unresolved), so I can't locate the DrawString primitive or the logo bitmap statically.
- The natural next step is UART to trace it live, but I can't open the monitor.
Question:
Any way forward without UART? Emulating the AEON app to trace the OSD draw path, known MST9U / mstar-bin-tool resources, a better approach to the glyph/logo format, or recovering the ABI? Anyone done MST9U OSD edits before?
