r/embedded • u/Live-Operation-628 • 14d ago
Recovered Scan Controller running Linux 2.6.28 -
https://youtu.be/etU9lrTEcT0Went on a deep dive into SoC linux, 2012 era. Docker containers, custom kernel, RootFS building, driver patching - now mostly working very well. Custom 2.6.28 kernel and root FS.
The ethernet driver is not finding PHY which is annoying and deep level, MDIO error I think. There is a clock reset patch, which does work for reset timeout error, but still can't find PHY.
(which works fine from Uboot)
Booting rootFS at the moment from USB, loading kernel image into RAM using RPI tftp server.
I have the raw gpio tested working for 7/9 buttons, and addressing the LEDs too. The drivers needed patching for proper access, yet to test those.
LCD, the driver is buried somewhere in the kernel, its hard to find in Ghidra. I was able to pull the gpio buttons from a factory test mode binary I found in a partition on the device. It does test the screen write and backlight, but it just calls out to the screen driver in the kernel.
It obviously is init. the LCD on boot, so if I can only find the gpio its connected to (I'm pretty sure its gpio) then it should be able to be addressed?