by dpw on 11/18/14, 6:44 AM with 36 comments
by josteink on 11/18/14, 8:01 AM
I remember when I was a kid, trying to just get a pre-made Linux-image boot on my Amiga. I had a 68020 CPU, but due to no MMU and no FPU (neither being "normal" accessories at the time) I just couldn't get the thing to boot at all. Later, when I acquired a 68030 CPU, I at least had the MMU covered, but I was still a kid and didn't have a budget for a FPU. So I still couldn't get things booting.
Granted, back then I wouldn't know my way around Unix if I had been handed a booting system, but I was curious about this "Linux" thing which was supposed to be superior if you wanted to run BBSes, multitask and do stuff like that.
But despite all those resources I had, I couldn't get things going. And here this guy gets Linux running on a home-built 68008-based system of all things.
That is seriously cool!
Edit: I may be mixing up my 68k models. I also had a plain 68000 earlier, which was definitely not up for the task. If I'm mixing things up, please forgive me. It was a long time ago :)
by segmondy on 11/18/14, 2:41 PM
by diydsp on 11/18/14, 2:31 PM
I smile at the use of a 555 as an interrupt timer... I did the same thing in my 8088 senior project in 1996... Typically one wants the interrupts to be accurate and periodic (hence hardware dividers to adjust the rate), but the 555 is (typically) based on RC time constants and as such is subject to heat changes :)
So your operating system runs differently at different times of the day :)
Also, mine had potentiometers to control the two external interrupts (556), so you could change the interrupt rate in hardware and there was plenty of pot noise which was easily detectable in the output audio stream... tee hee memories.
by mutagen on 11/18/14, 8:45 AM
>Schematics? Forget it. Everything was built incrementally, one wire at a time, while staring at chip datasheets. It’s an organic creation.
Yeah, that's real hardware hacking right there.
by zurn on 11/18/14, 8:00 AM
The full Linux kernel does have m68k support, but it needs a 68020 or better CPU. This gets you real memory protection, VM etc.
by lovelearning on 11/18/14, 9:28 AM
He must be a true genius, to be able to infer the second from the first.
by pjc50 on 11/18/14, 9:51 AM
by unwind on 11/18/14, 8:18 AM
I dug up this link: http://git.uclibc.org/uClibc/tree/libc/stdlib/setenv.c?id=30... which I believe is the relevant function.
Unsurprisingly for this level of library code, it's not 100% super-obvious or easy to understand. Especially the details on the in-library memory management are unknown to me, but I thought it might be interesting.
by Theodores on 11/18/14, 11:07 AM
Anyway I am impressed that someone can get a distro working on 68008, getting to the start line of that project is a big deal, going the extra miles - very impressive!
by bayesianhorse on 11/18/14, 1:52 PM
by kubiiii on 11/18/14, 10:11 AM
by chubot on 11/18/14, 9:16 AM
I wonder if you could do this with a modern CPU and RAM. What would it look like?
by adamman on 11/18/14, 3:41 PM
by lectrick on 11/23/14, 7:25 PM