a friend of mine just booted Linux on an Intel 4004! (yes, the first microprocessor)

http://dmitry.gr/?r=05.Projects&proj=35.%20Linux4004

Linux/4004 - Dmitry.GR

Dmitry.GR: Slowly booting full Linux on the intel 4004 for fun, art, and absolutely no profit

Dmitry.GR

@tubetime I had just finished reading that when I opened mastodon to see your message first in my feed  

It's very impressive, I remember back when I found Ryo Mukai's write up of their Intel 8080 emulator running on a 4004 (https://github.com/ryomuk/emu8080on4004) I wondered if it were possible to emulate something that could run a modern operating system and Dmitry answered that question in the most thorough way possible 

GitHub - ryomuk/emu8080on4004: Intel 8080 Emulator on 4004 Evaluation Board

Intel 8080 Emulator on 4004 Evaluation Board. Contribute to ryomuk/emu8080on4004 development by creating an account on GitHub.

GitHub
@carbontwelve
#PostOfTheWeek (season 1):
It booted Debian Linux on a 4-bit intel microprocessor from 1971 - the first microprocessor in the world - the 4004. It is not fast, but it is a real Linux kernel with a Debian rootfs on a real board whose only CPU is a real intel 4004 from the 1970s. The video is sped up at variable rates to demonstrate this without boring you. The clock and calendar in the video are accurate. A constant-rate video is linked below.
@tubetime oh of course it's Dmitry
@tubetime I am still sad his signature rubbed off my DC32 badge.
4-bit
No logic operators
Literally designed for calculators


Yep, the fact that this kernel ran at all is a miracle

@tubetime what an absolute gem of a blogpost, I will finish reading it later today, but I had no idea of just how limited the 4004 was, and I am even more amazed this project is even a thing
@tubetime this is awesome! I've always wanted to build a 4004-based computer, but the design and support chipset are so heckin' different and odd compared to stuff like the Z80 that it breaks my brain x.x o1 and o2 clock signals, what the heck are those!!!
@tubetime no he did not.

he booted a mips emulator that booted Mips debian, which is 1000x cooler :D

Dimitry never fails to disappoint!
@gorplop @tubetime huh. Now I'm wondering what the smallest amount of TTL (for just the processor, you'd still pretty much have to use something more modern for RAM) you can bootstrap into linux like this. (I suppose "run linux on a late-1980's MIT 6.004 nerd kit" is the equivalent challenge...)
@eichin @tubetime you can totally synthesize a minimal risc-v, the question is, how big (and therefore how slow) would the resulting card cage(s) of 74-series chips have to be.
@eichin @tubetime it would not have to be risc-v either, linux supported microblaze software core and I think another one, maybe Nios II?
@tubetime crazy, an operating system that started off as an OS designed to use the then cutting edge features of the i386...
@tubetime Seeing things like this always gives me chills (massive congrats to them!)... the sheer amount of "stuff" that has to happen for a single line of console output in modern systems is significant, but doing just that "tiny" bit of work on older / slower / smaller equipment is an impressive feat by itself, let alone everything else! 🤓
@tubetime It's equally useless as it is awesome. Seeing it take minutes to display each character and hours to run uptime had me grinning. I loved it.

@tubetime damn. I've read through the entire documentation and I'm thoroughly impressed.

I'm also tempted to build one if I can find a 4040 or a 4004 for a good price!

@DosFox @tubetime if only someone recently showed us that they had a tray of second-source 4004s 🤔
@anthony don't tell them that!
@tubetime had it emulate a 486?
@RueNahcMohr no a MIPS

@tubetime so, the 4004 emulates a MIPS that runs linux....

wow.

@tubetime
Is this not the very definition of virtuoso?

Wow.

Using a 2.5MB yes MB Linux kernel. I didn't think you could config Linux down that small.

Wow.