[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Smallest amount of memory to run a reasonable shell



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/