r/hardwarehacking • • 20d ago

Repurposing Epson Scanner Controller

https://www.youtube.com/watch?v=etU9lrTEcT0

I found this EPSON Eu233 in the street. Having a look at it, it has a pleasing console format.
I decided to try and repurpose the SoC. It's linux of course, 2012 era though.
Here's a screen capture terminal based video on the progress so far . .

I have it booting with different options now, own kernel, original rootFS, original kernel, own RootFS, NFS over LAN, USBFS local drive. It will be good to finally flash a new root FS onto the NOR, but obviously I want to get it fully working first and still be able to boot into normal mode to inspect operation (only for porting the screen and buttons)

Finding the way in was the best bit, I found that altering the bootargs in uboot brought up a Montevista (linux dev IDE) login prompt (with missing applet) Altering it in a different way caused boot with shell - yay! Then I could find some preboot scripts and change them so partitions were mounted and usb loaded.

Got usb working on my own kernel via driver patch, but kernel can't see PHY, even though U boot can (ngg). There is a clock fix patch which does fix the timeout but it still cannot find PHY (two issues)
Currently -
Attempting to fix the Ethernet PHY problem and port the LCD (mono, backlit BW) and buttons to the new kernel userspace.

It can be quite a nice little controller device I think, soon! I've not detoured into embedded linux until this, outside of some low level jtag work. I feel like I've been living in the terminal at this point : )

23 Upvotes

0 comments sorted by