新闻  |   论坛  |   博客  |   在线研讨会
nfs 加载根文件系统成功
mayer | 2009-05-23 20:04:35    阅读:2417   发布文章

nfs 加载根文件系统成功

 

VIVI version 0.1.4 (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release)) #0.1.4 Wed Sep 13 21:06:12 EDT 2006
MMU table base address = 0x33FBC000
Succeed memory mapping.
+---------------------------------------------+
|  YC2410  USB Downloader ver R2.00  06-12-08 |
+---------------------------------------------+
FCLK=200MHz,DMA mode
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX/Wince now, any other key for vivi
type "help" for help.
vivi>          
vivi>
vivi> param set linux_cmd_line "console=ttySAC0 root="/dev/nfs" nfsroot="192".168.0.6:/nfs ip="192".168.0.55:192.168.0.1:192.168.0.1:255.255.255.0:QIU:eth0:off"
Change linux command line to "console=ttySAC0 root="/dev/nfs" nfsroot="192".168.0.6:/nfs ip="192".168.0.55:192.168.0.1:192.168.0.1:255.255.255.0:QIU:eth0:off"
vivi> boot
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "console=ttySAC0 root="/dev/nfs" nfsroot="192".168.0.6:/nfs ip="192".168.0.55:192.168.0.1:192.168.0.1:255.255.255.0:QIU:eth0:off"
MACH_TYPE = 193
NOW, Booting Linux......
Uncompressing Linux....................................................................................... done, booting the kernel.
Linux version 2.6.14 (root@localhost.localdomain) (gcc version 3.4.1) #35 Wed Mar 25 02:42:19 CST 2009
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
USB Control, (c) 2006 s3c2410
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: console="ttySAC0" root="/dev/nfs" nfsroot="192".168.0.6:/nfs ip="192".168.0.55:192.168.0.1:192.168.0.1:255.255.255.0:QIU:eth0:off
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon="00000000", tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62080KB available (2163K code, 494K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
S3C2410: Initialising architecture
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
yaffs Mar 20 2009 22:17:07 Installing.
Initializing Cryptographic API
Console: switching to colour frame buffer device 40x30
fb0: s3c2410fb frame buffer device
fb1: Virtual frame buffer device, using 1024K of video memory
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
usbcore: registered new driver ub
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev E at 0xe0000300 irq="53", no eeprom , addr: 08: 0:3E:26:0A:5B
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v1.2.3
Since in-kernel colorspace conversion is not allowed, it is disabled by default now. Users should fix the applications in case they don't work without conversion reenabled by setting the 'colorspace_conv' module parameter to 1<6>USB driver for Vision CPiA based cameras v1.2.3
usbcore: registered new driver cpia
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4980000
s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00030000 : "bootloader"
0x00030000-0x00230000 : "kernel"
0x00230000-0x03ffc000 : "root"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver ov511
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
usbcore: registered new driver spca5xx
drivers/usb/media/spca5xx/spca_core.c: spca5xx driver 00.57.06LE registered
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
IP-Config: Complete:
      device="eth0", addr="192".168.0.55, mask="255".255.255.0, gw="192".168.0.1,
     host="QIU", domain=, nis-domain=(none),
     bootserver="192".168.0.1, rootserver="192".168.0.6, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.6
Looking up port of RPC 100005/1 on 192.168.0.6
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing init memory: 104K
init started: BusyBox v1.9.2 (2009-03-19 21:06:33 CST)
starting pid 700, tty '': '/etc/init.d/rcS'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^     Welcome to YAFFS root filesystem!   ^
^                    Qiu                  ^
^^^^^^^^^^^^^^^^09-3-18^^^^^^^^^^^^^^^^^^^^
# mount all...........
# Starting mdev.........
[01/Jan/1970:00:00:08 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:08 +0000] boa: server built Mar 24 2009 at 21:32:50.
[01/Jan/1970:00:00:08 +0000] boa: starting server pid="707", port 80
route: SIOCADDRT: File exists
[01/Jan/1970:00:00:08 +0000] caught SIGHUP, restarting
[01/Jan/1970:00:00:08 +0000] re-reading configuration files
[01/Jan/1970:00:00:08 +0000] successful restart
starting pid 711, tty '': '/bin/sh'
[root@Qiu /]# ls
bin      etc      lib      mnt      root     sys      usr      www
dev      home     linuxrc  proc     sbin     tmp      var
[root@Qiu /]# ls
bin      etc      home     linuxrc  proc     sbin     tmp      var
dev      hello    lib      mnt      root     sys      usr      www
[root@Qiu /]# rm hello
[root@Qiu /]#

 

hoho^^^那个SAC弄错了,搞一会儿,其实最好先在系统能挂上nfs再来试挂根文件系统。

*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。

参与讨论
登录后参与讨论
推荐文章
最近访客