Hacker News new | ask | show | jobs
by bni 25 days ago
I think this is very impressive. I remember from eons ago people were running Linux on Amiga, but then it was the later models with 68040 processors with more RAM.

As far as I remember no one ran it on a 68000 with 2 megabytes of RAM.

Could Linux today run on an Amiga 500 with RAM expansion, in this same way?

3 comments

Hi! Glad you liked it.

In theory it should be possible I think?

I don't exactly recall the memory differences (Chip RAM vs Fast RAM and all that) but assuming you have enough Chip/Fast RAM and thereabout of a megabyte in a storage medium for the actual kernel binary; I don't see why it should not be possible.

If WHDLoad is a thing on base 500/500+ then you'd be able to fit more stuff on the "userspace" side of things, since 1.44 megs can't really hold much (And having to swap floppies in the way Workbench does it is not something I'm sure can be done on Linux).

The main issue I see is that you'd probably need to "free" up memory by unloading Workbench (If it's loaded) and possibly re-configuring the hardware (So it's in a known good state for Linux), but yeah; it should honestly be feasible.

The 68040 has a MMU, the original 68000 doesn't.

Linux can be built to not need a MMU, I have used that on Coldfire and Microblaze systems, I presume this Jaguar port is using it too.

I've been slowly working on getting fuzix working on my amiga 1200. It boots the kernel I just don't have a file system for it yet. Though my 1200 has ~10MB RAM.
Do you only have a RAM expansion? If you have an MMU normal m68k linux will work for you. I have an a4000 running linux with an nvidia gpu ;) The drivers for the amiga filesystem etc all still work.

If you have the stock 020 we (me and the other people messing with this stuff) can make that work. the 68000 support needs one tiny thing, fixing the stack frame differences between the 000 and the 010+, and it'll boot on basically anything.

I already have patches to do it.

An a4000..wow my dream machine. I have an ACA1221lc[0] in there. A firm believer in real hardware. I really want an easy way of swapping out the cf card so I can make my fuzix port bootable and easily reflash the card.

For the moment I have a floppy disk that loads my network card drivers and then copies the kernel over the network into ram. That makes debugging things way easier than having to burn a floppy with every code change.

[0] https://wiki.icomp.de/wiki/ACA1221lc