[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Smallest amount of memory to run a reasonable shell
- To: Microblaze uClinux <microblaze-uclinux@xxxxxxxxxxxxxx>
- Subject: [microblaze-uclinux] Smallest amount of memory to run a reasonable shell
- From: Steve Sanders <akasanders@xxxxxxxxx>
- Date: Tue, 14 Dec 2004 06:50:09 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=3bCoWihS7dmOWYJpD4rlS0T6N5yuvJaBFaufuYtWtJircz4fZYSo04cm+432pitOvRDGsIe+RoY/FddvTxoKwVoklmwE8tmASz62u47Yd1wJBMyqu0KwNgWpRNPWVQ1JvCGfID2IdhDN+BDBXm3uDViMb/LcTtWHwUW/b3frmI8= ;
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
What's the smallest amount of RAM that people have used to run a
reasonable shell with uClinux? I have 1MB of SRAM (and no flash), but
seem to be stuck unable to launch a shell at the tail end of init().
By "stuck" I mean that the program counterfu seems to be almost always
in one of the kmem_cache_... (e.g., kmem_cache_shrink) nctions.
I've #if'd out the attempts to "execve /*/init" - an old trick to
simplify kernel initialization and just execve /bin/sh directly.
I've cut to the bone features included in the kernel (including
networking).
I _do_ get character echo the console, but that's it.
I'm going with the smallest shell I can find in the build options -
nwsh.
I'm using blkmem to mount my RFS.
The RFS image I have down to about 40KB.
Kernel boot message indicates 312K free.
Any other hints to hopefully get me over this final hump?
Thanks.
Steve
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/