/Etc/init. d/RCS #! /Bin/sh
Path =/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/home/swordzj:
Runlevel = s
Prevlevel = N
Umask 022
Export path runlevel prevlevel
/Bin/Mount-T proc NONE/proc
/Bin/Mount-T tmpfs NONE/tmp
/Bin/Mount-T tmpfs NONE/var
/Bin/Mount-n-t sysfs/sys
/Bin/Mount-T yaffs/dev/mtdblock/3/usr/local
/Bin/mkdir-P/var/lib
/Bin/mkdir-P/var/run
/Bin/mkdir-P/var/log
/Etc/rc. d/init. d/netd start
/Etc/rc. d/init. d/httpd start
/Sbin/ifconfig lo 127.0.0.1
/Sbin/ifconfig eth0 192.168.0.2
/Bin/hostname-F/etc/sysconfig/hostname
/Etc/inittab
Console: sysinit:-/etc/init. d/RCS
Ttysac0: respawn:-/bin/sh
Ll/dev/
Drwxr-XR-x 1 Root 512 Jan 1 00:00 ADC
Drwxr-XR-x 1 Root 512 Jan 1 00:00 bon
CrW ------- 1 Root 232, 0 Jan 1 00:02 buttons
CrW ------- 1 Root 5, 1 Jan 1 Console
CrW ------- 1 Root 205, 5 Jan 1 cua0
CrW ------- 1 Root 205, 6 Jan 1 cua1
CrW ------- 1 Root 205, 7 Jan 1 00:02 cua2
Lrwxrwxrwx 1 Root 14 Jan 1 DSP->/dev/sound/DSP
Drwxr-XR-x 1 Root 512 Jan 1 00:00 FB
Lrwxrwxrwx 1 Root 9 Jan 1 00:02 fb0->/dev/FB/0
CrW-r -- 1 Root 1, 7 Jan 1 full
Drwxr-XR-x 1 Root 512 Jan 1 00:00 ide
CrW-r ----- 1 Root 1, 2 Jan 1 00:02 kmem
CrW-r ----- 1 Root 1, 1 Jan 1 mem
Drwxr-XR-x 1 Root 512 Jan 1 00:00 Misc
Lrwxrwxrwx 1 Root 16 Jan 1 00:02 mixer->/dev/sound/Mixer
Drwxr-XR-x 1 Root 512 Jun 30 2007 MTD
Drwxr-XR-x 1 Root 512 Jun 30 2007 mtdblock
CrW-r -- 1 Root 1, 3 Jan 1 null
CrW-r ----- 1 Root 1, 4 Jan 1 Port
CrW-r -- 1 Root 5, 2 Jan 1 00:02 ptmx
Drwxr-XR-x 1 Root 512 Jan 1 00:00 PTS
Drwxr-XR-x 1 Root 512 Jan 1 00:00 Pty
CrW-r -- 1 Root 1, 8 Jan 1 random
Lrwxrwxrwx 1 Root 10 Jan 1 00:02 root-> mtdblock/0
Drwxr-XR-x 1 Root 512 Jan 1 00:00 SCSI
Lrwxrwxrwx 1 Root 39 Jan 1 00:02 sda1->/dev/SCSI/host1/bus0/target0/lun0/Part1
Drwxr-XR-x 1 Root 512 Jan 1 00:00 SHM
Drwxr-XR-x 1 Root 512 Jan 1 00:00 sound
CrW-r -- 1 Root 5, 0 Jan 1 00:02 tty
Lrwxrwxrwx 1 Root 9 Jan 1 00:02 tty0->/dev/VC/0
Lrwxrwxrwx 1 Root 9 Jan 1 00:02 tty2->/dev/VC/2
CrW-r -- 1 Root 204, 64 Jan 1 00:27 ttysac0
CrW-r -- 1 Root 204, 65 Jan 1 ttysac1
CrW-r -- 1 Root 204, 66 Jan 1 00:02 ttysac2
CrW-r -- 1 Root 1, 9 Jan 1 urandom
Drwxr-XR-x 1 Root 512 Jan 1 00:00 USB
Drwxr-XR-x 1 Root 512 Jan 1 00:00 VC
Drwxr-XR-x 1 Root 512 Jan 1 00:00 VCC
CrW-r -- 1 Root 1, 5 Jan 1 zero
[Root @ swordzj/] $ LL
Drwxr-XR-x 1 Root 512 Jun 27 2007 Bin
-Rwxrwxrwx 1 Root 731160 Jan 1 00:06 busybox
Drwxr-XR-x 1 Root 512 Jun 30 2007 Dev
Drwxr-XR-x 1 Root 512 Jun 29 2007 etc
Drwxr-XR-x 1 Root 512 Jul 1 2007 home
Drwxr-XR-x 1 Root 512 Apr 1 2007 lib
Lrwxrwxrwx 1 Root 11 Jan 1 linuxrc-> bin/busybox
Drw-RW-1 Root 512 Sep 13 1988 lost + found
Drwxr-XR-x 1 Root 512 Dec 13 2001 mnt
Dr-XR-x 31 Root 0 Jan 1 00:00 proc
Drwxr-XR-x 1 Root 512 Mar 31 2006 Root
Drwxr-XR-x 1 Root 512 Jul 1 2007 sbin
Drwxr-XR-x 10 Root 0 Jan 1 00:00 sys
Drwxrwxrwt 2 root Root 40 Jan 1 00:00 TMP
Drwxr-XR-x 1 Root 512 Jun 27 2007 USR
Drwxrwxrwt 5 root Root 100 Jan 1 00:00 VaR
Drwxr-XR-x 1 Root 512 Dec 27 2006 WWW
NFS mounting command
Mount-T nfs-O nolock 192.168.0.1:/home/swordzj
Uboot startup parameters
NFS: Root =/dev/nfs RW nfsroot = 192.168.0.1:/home/swordzj/ARM/rootfs IP = 192.168.0.2: 192.168.0.1: 192.168.0.1: 255.255.255.0: swordzjj: eth0: off console = ttysac0 115200 ethaddr = 08: 00: 3E: 26: 0a: 5B mem = 32 m init =/linuxrc
Use NAND Flash (File System of yaffs): noinitrd root =/dev/mtdblock2 RW rootfstype = yaffs init =/linuxrc console = ttysac0 115200 ethaddr = 08: 00: 3E: 26: 0a: 5B mem = 32 m