September 24th, 2024

Linux boots in 4,76 days on Intel 4004

Dmitry Grinberg booted Linux on the Intel 4004 using an emulator, taking 4.76 days. He may offer kits for enthusiasts, with project details available on his website.

Read original articleLink Icon
Linux boots in 4,76 days on Intel 4004

Dmitry Grinberg has successfully booted Linux on the Intel 4004, the first commercial microprocessor, which originally debuted in 1971. This achievement is notable due to the 4004's limitations, including only 2,300 transistors and a clock speed of 740 kHz, making it incapable of running Linux directly. Instead, Grinberg developed an emulator that mimics a MIPS R3000 processor, allowing a minimal version of Debian Linux to boot to a command prompt. The boot process takes approximately 4.76 days, showcasing the extreme limitations of the hardware. Grinberg's project involved overcoming significant challenges, such as the 4004's restricted ROM and RAM, and the absence of basic logical operations. The final setup includes an overclocked 4004, period-correct support chips, and a custom circuit board designed for aesthetic appeal. Although the project serves no practical purpose, it highlights the versatility of Linux and the potential of emulation. Grinberg is contemplating offering kits or assembled boards for enthusiasts interested in experiencing this unique implementation of Linux. The project details, including schematics and source code, are available on his website, appealing to vintage computing fans and those intrigued by unconventional uses of technology.

- Dmitry Grinberg booted Linux on the Intel 4004, taking 4.76 days to complete.

- The 4004 is too limited to run Linux directly; an emulator mimicking a MIPS R3000 was used.

- The project showcases the flexibility of Linux and the challenges of using primitive hardware.

- Grinberg may offer kits or assembled boards for those interested in this unique experience.

- Full project details, including schematics, are available on Grinberg's website.

Link Icon 7 comments
By @sethammons - 7 months
> If you're skeptical that this feat is possible with a raw 4004, you're right: The 4004 itself is far too limited to run Linux directly. Instead, Grinberg created a solution that is equally impressive: an emulator that runs on the 4004 and emulates a MIPS R3000 processor—the architecture used in the DECstation 2100 workstation that Linux was originally ported to. This emulator, along with minimal hardware emulation, allows a stripped-down Debian Linux to boot to a command prompt.

That's cool

By @ChrisArchitect - 7 months
By @hsfzxjy - 7 months
I mistakenly think the guy took over a year to boot Linux/4004 due to the comma in the post title.

(I was aware that comma represents decimal point in some regions, just didn't get this in the first place.)

By @voxadam - 7 months
Linux/4004: booting Linux on Intel 4004 for fun, art, and no profit | 159 comments | https://news.ycombinator.com/item?id=41600756
By @belter - 7 months
Let's try again on 03:14:07 UTC 19 January 2038...
By @smudgy - 7 months
Somewhere in the US Midwest, Jeff Geerling suddenly decides "nah, I don't wanna recompile the kernel."