Re: [Q] TinyLinux project status (resend)


Rob Landley
 

On 04/24/2012 10:21 PM, Greg Ungerer wrote:
On 04/25/2012 05:22 AM, Rob Landley wrote:
On 04/18/2012 10:25 AM, Gross, Mark wrote:
I'd like to see Linux fit in stuff that this too :
http://olimex.wordpress.com/2012/04/04/unix-on-pic32-meet-retrobsd-for-duinomite/
Linux in under 2 megabytes of RAM, even when running from ROM, is not a
realistic goal. For context: linux 0.0.1 was developed on a 4 megabyte
system in 1991. Swap support was added in december of that year so it
could run on a 2 megabyte system.
For further context. The first versions of Linux on ColdFire (so
uClinux, non-MMU) I ported and put together ran in 1MB of RAM on the
Arnewsh 5206 ColdFire boards. I still have the binary images I ram
online at http://www.uclinux.org/ports/coldfire/binary.html. (So that
was around year 2000).

That was a 2.0.38 kernel, with a serial driver and network driver
configured - and not much else. That 1MB also contained a RAM root
filesystem (ie it network loaded, didn't run from FLASH). Looking
at the image file the kernel load binary was about 305k and there
was a 75k ramdisk attached to it.

You couldn't really do a lot in userspace - but it ran, you had a
basic shell to operate. (And all this without shared libraries :-)

So it was once possible to have a Linux system in 1MB of RAM.
I'm impressed.

Rob
--
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation. Pick one.

Join Celinux-dev@lists.celinuxforum.org to automatically receive all group messages.