It’s Linux. On An ESP32

By today’s standards, the necessities for running a Linux-based operating system are surprisingly meagre in terms of RAM and processor power. Back in the day we ran earlier Linux versions on Intel 386 and 486 machines with tiny quantities of memory compared to the multi-gigabyte many-core powerhouses we do today.

So it stands to reason that many of the more powerful microcontrollers should also run Linux, but of course they are often unable because the lack a memory management unit. The original ESP32 is just such a candidate, plenty of power but unable to run Linux. Not so fast, because [Dror Gluska] has managed to boot a Linux kernel on Espressif’s dual-core chip. How on earth? By emulating a RISC-V processor on it and booting a RISC-V version of the kernel.

The emulator in question is [Fabrice Belard]’s TinyEMU, a piece of software that brings both RISC-V and x86 to limited-spec platforms, and the write-up describes the extensive optimization and tracing of ESP32 bottlenecks which was finally able to get a Linux kernel booting in 1 minute and 35 seconds. Of course it’s simply an exercise to prove it can be done and we won’t be seeing Linux-based ESP projects any time soon, but it’s still an impressive piece of work.

This isn’t the lowest-spec microcontroller we’ve seen run Linux, back in 2012 we saw it on emulated ARM running on an 8-bit AVR.

Game Boy Repurposed Solely As A Camera

As much as we all love the Game Boy Camera, it’s really just an add-on to the popular handheld console. Twitter user [@thegameboycam] decided to build a dedicated camera platform using the hardware, and the result was the Game Boy DSLR.

Camera pedants will note that it’s not really a DSLR, but that’s not really the point. It’s a Game Boy with the camera accessory built into a proper camera-like housing. There’s a CS/C mount for the lens, and it’s got a custom shell with leatherette, just like the cameras of last century. It’s also got a cold shoe, and a 1/4″ screw thread for tripod mounting. Oh, and strap lugs! So you can really rock that old-school aesthetic with your tweed suit on.

More practical modern features include a 1800 mAh battery that charges over USB Type C and a backlit IPS display. The screen has been turned through 90 degrees, and the cartridge port and buttons are relocated to create a more traditional camera-like form factor. If you really want, though, you can still play it like a regular Game Boy. Just swap out the modified camera cart with the lens mount for a regular Game Boy Camera or another game cartridge.

It’s a fun hack that scores big on style points. No longer can you be the cool kid just by rocking a Game Boy with a big ol’ lens hanging off the back. Now you gotta compete with this!

Our tipsline is waiting for when you’ve got the next big thing in Game Boy Camera hacks. Video after the break.

Continue reading “Game Boy Repurposed Solely As A Camera”