I'm not an expert but AFAIK it makes sense: he's using an AVR and that's Harvard architecture, meaning code and data use different buses so all you can run must be in the flash of the microprocessor.
So emulation is a way to workaround that "limitation".
Edit: on mobile, typos
Re:Linux on an 8-bit micro (2012)
by pantalaimon on Wednesday December 24, 2014 @12:07PM
(#8793518)
What about RIOT [1], Contiki [2] or TinyOS [3]?
[1] http://riot-os.de/ [2] http://www.contiki-os.org/ [3] http://www.tinyos.net/
Of those, it seems like only TinyOS would qualify (a full userland stack that you can develop from) under the same qualifications that netbsd might qualify....
To be clear, by "true os", I mean a posix runtime, preemptive multitasking with threads and processes, memory protection.
Still, cool links (I'll save that TinyOS for later this week), and I like the username.
Re:Linux on an 8-bit micro (2012)
by revelation on Wednesday December 24, 2014 @01:52PM
(#8794030)
Most 8 bit micros don't have an MMU, so you can't have memory protection or virtual memory. That's a hardware limitation.
> so you can't have memory protection
You can if you emulate all memory.... I had never considered that solution before, that was my original point :)
Re:Linux on an 8-bit micro (2012)
by pantalaimon on Friday December 26, 2014 @10:49AM
(#8799102)
I think you will like NuttX [1] even more :)
Well, you could run CP/M on an 8-bit system, which would have been called a "true OS" at the time it was written and sold ...
Hah, I've actually run CP/M on a DEC Robin! I wouldn't call that a "true os" by my (own, flawed, unspecified) definition because it doesn't have memory protection or preemptive multitasking.
Or if that's not "true" enough, Xenix was a Unix for 8-bit systems.
Xenix ran on 16-bit systems.
Oops! Yes. 16 bit. I was thinking of the 8 bit data bus of the 16 bit 8088.
What about Micronix? http://www.retrotechnology.com/herbs_stuff/mnix_micronix.htm... - "As far as I know, Micronix was the only Unix-like multiuser system ever to run on an 8 bit processor."
FUZIX and UZIX runs on an Z80
Cool! And it meets the 'multiuser' qualifier too: "UZI180 is a multi-tasking, multi-user operating for the Zilog Z180 family of microprocessors.", from https://github.com/EtchedPixels/FUZIX/tree/master/Kernel .
On top of that, a hand-wired linux computer with hand-written arm emulator? Ridiculous.