loody wrote: > BTW, I also find that if I want uclinux kernel to support ELF binary > file, I also have to enable the mmu option. > But the format of cross-compiled binary file like busybox is only ELF, > if there is option I can add to let busybox and other binary files > compiled in different format. On uClinux with no MMU, you have to use FLT format (all architectures support this I think) or FDPIC-ELF (just a few architectures support this, the advantage is proper shared libraries and loadable modules). To make FLT files, usually you add "-Wl,-elf2flt=-s32768" or something like that to the GCC command line. That option sets the stack size; the size needed is different for each application. Too small and the app will crash or worse, corrupt memory. Too large and it'll use a lot of memory, and won't start at all after the system has developed memory fragmentation. Enjoy :-) -- Jamie -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ