The msh that is included with busybox works fine.

Regards,
Erwin

Am Montag, den 17.09.2007, 21:09 +0800 schrieb Darwin Chen:
> Dear all,
> 
> In the Linux kernel 2.6.22-uc0, sys_fork returns -EINVAL if the CONFIG_MMU 
> are not set, so, how to fix the problem when the user applications are 
> executed by calling fork()? Should I replace the fork() by vfork() ? 
> 
> Thanks for any suggestions!
> 
> Darwin Chen 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darwin Chen
> Sent: Monday, September 17, 2007 4:27 AM
> To: 'uClinux development list'
> Subject: RE: [uClinux-dev] Need help about msh.
> 
> This cpu has no MMU, so the msh.c call fork() to execute a typed command. How 
> to build the msh shell for this type CPU?
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darwin Chen
> Sent: Monday, September 17, 2007 3:45 AM
> To: uClinux development list
> Subject: [uClinux-dev] Need help about msh.
> 
> Hi, All, 
> My kernel can be booted, but the shell has some problems, it doesn't output 
> any messages, for example, there is nothing after the "ls /bin" typed. I 
> don't know what the problem is, is there anyone could help me? 
> 
> Thanks.
> Darwin Chen ([EMAIL PROTECTED])
> 
> Uncompressing Linux to 0x00008000....................................... 
> done, booting the kernel.
> Linux version 2.6.22-uc0 ([EMAIL PROTECTED]) (gcc version 3.4.3) #163 Mon Sep 
> 17 00:17:45 CST 2007
> CPU: Winbond-W90N740 [32103201] revision 1 (ARMvundefined/unknown), 
> cr=00000000
> Machine: W90N740
> W90N740 cache init
> Built 1 zonelists.  Total pages: 4064
> Kernel command line: init=/linuxrc console=ttyS0,115200 root=31:2
> PID hash table entries: 64 (order: 6, 256 bytes)
> Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
> Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
> Memory:1 banks
>          16MB = 16MB total
> Memory: 14916KB available (1040K code, 223K data, 44K init)
> Mount-cache hash table entries: 512
> W90N740 init: platform add devices(w90n740_devices)
> NetWinder Floating Point Emulator V0.97 (double precision)
> NTFS driver 2.1.28 [Flags: R/W].
> io scheduler noop registered
> io scheduler cfq registered (default)
> Serial: W90N740 driver $Revision: 1.00 $
> loop: module loaded
> uclinux[mtd]: RAM probe address=0x7f000000 size=0x200000
> Creating 5 MTD partitions on "cramfs":
> 0x00000000-0x00010000 : "uBoot"
> 0x00010000-0x000d0000 : "Kernel"
> 0x000e0000-0x001e0000 : "Cramfs"
> 0x001e0000-0x001f0000 : "ParamA"
> 0x001f0000-0x00200000 : "ParamB"
> uclinux[mtd]: set Cramfs to be root filesystem
> VFS: Mounted root (cramfs filesystem) readonly.
> Freeing init memory: 44K
> Open an initial console succeed.
> Try to execute /linuxrc
> / $ 
> / $ ls
> / $ clear
> / $ ls
> / $ cat /etc/motd
> / $ cd /bin
> /bin $ ls
> /bin $ cat /proc/meminfo
> /bin $ cd /proc
> /proc $ cat /proc/meminfo
> /proc $ ls /bin
> /proc $
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
-- 
Dipl.-Ing. Erwin Authried
Softwareentwicklung und Systemdesign

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to