Linux on an 8-bit micro
31–40 of 80 posts
Re: Linux on an 8-bit micro
#32And slightly on topic, here is Windows 95 on a 25Mhz 386 with 4 meg of RAM http://everything2.com/title/25+MHz+386+running+Windows+95
Re: Linux on an 8-bit micro
#33Re: Linux on an 8-bit micro
#34That's impressive! I remember when "getting linux working on a laptop" was thought to be tricky.[1] ELKS was a linux distribution for old small machines. It was supposed to run on an 8086, and use just 512 KB (not MB) for ram. ( http://web.archive.org/web/19990117003949/http://www.uk.linu... ) ( http://en.wikipedia.org/wiki/Embeddable_Linux_Kernel_Subset ) Wow, still sort of live. ( http://elks.sourceforge.net/ ) [1]…
Re: Linux on an 8-bit micro
#35All that's left is that pesky 32-bit CPU & MMU requirement. Well the AVR has no MMU and is 8-bit. To conquer this obstacle, I wrote an ARM emulator. So technically it's Linux running on a 32-bit "macro", just one which happens to be implemented in some seriously inefficient manner. There are some real ports of Linux for "limited" architectures, like uClinux (supporting few 32-bit micros, including some MMU-less ones)…
reginaldo (a guy who posted his emulator (jslm32) last time this was on HN) actually uses uClinux on LatticeMico32.
[1]: https://github.com/ubercomp/jslm32
I'm considering trying to get this to compile on Emscripten. It's so self-contained that I think it will be fairly unproblematic. Emscripten's 64-bit math emulation surely won't be needed.
Does anyone know if a ARM emulator in JavaScript exists already?
Re: Linux on an 8-bit micro
#36[1]: https://github.com/ysangkok/linux-on-an-8-bit-microcontrolle...
Re: Linux on an 8-bit micro
#37Next Challenge get this working on my Z80
Re: Linux on an 8-bit micro
#38And slightly on topic, here is Windows 95 on a 25Mhz 386 with 4 meg of RAM http://everything2.com/title/25+MHz+386+running+Windows+95
Re: Linux on an 8-bit micro
#39Re: Linux on an 8-bit micro
#40All that's left is that pesky 32-bit CPU & MMU requirement. Well the AVR has no MMU and is 8-bit. To conquer this obstacle, I wrote an ARM emulator. So technically it's Linux running on a 32-bit "macro", just one which happens to be implemented in some seriously inefficient manner. There are some real ports of Linux for "limited" architectures, like uClinux (supporting few 32-bit micros, including some MMU-less ones)…
> There are some real ports of Linux for "limited" architectures, like uClinux reginaldo (a guy who posted his emulator (jslm32) last time this was on HN) actually uses uClinux on LatticeMico32. [1]: https://github.com/ubercomp/jslm32 I'm considering trying to get this to compile on Emscripten. It's so self-contained that I think it will be fairly unproblematic. Emscripten's 64-bit math emulation surely won't be need…