当前位置: 代码迷 >> 驱动开发 >> mini4020 nfs文件系统挂载不下
  详细解决方案

mini4020 nfs文件系统挂载不下

热度:16   发布时间:2016-04-28 10:50:42.0
mini4020 nfs文件系统挂载不上
我把内核移植好之后,挂载nfs出错,我的板子是mini4020.
我的uboot环境变量如下
bootdelay=1
baudrate=115200
ethaddr=00:50:c2:1e:af:fb
filesize=80d570
fileaddr=31000000
gatewayip=192.168.0.3
ipaddr=192.168.0.2
serverip=192.168.0.1
bootcmd=nand read 0x30007fc0 0x00100000 0x00200000;bootm 0x30007fc0
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/nfs rw nfsroot=192.168.0.1:/nfs ip=192.168.0.2:192.168.0.1:192.168.0.3:255.255.255.0:sep4020:eth0:off console=ttyS0,115200

Environment size: 428/16380 bytes
但是启动之后出现如下信息
Starting kernel ...

Linux version 2.6.16 ([email protected]) (gcc version 3.4.1) #1101 Wed Mar 11 17:16:50 CST 2009
CPU: ARM720T [41807202] revision 2 (ARMv4T)
Machine: 4020 board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.1:/nfs/root ip=192.168.0.2:192.168.0.1:192.168.0.3:255.255.255.0:sep4020:eth0:off console=ttyS0,115200
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 29500KB available (2192K code, 568K data, 116K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
sep_ether: sepether_probe!
platform_device_register sep4020_fb_set_platdata
Generic PHY: Registered new driver
SCSI subsystem initialized
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.26 [Flags: R/O].
fuse init (API version 7.6)
yaffs Mar 11 2009 17:11:10 Installing. 
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
The 320*240 LCD is install------------------------------------------>
Console: switching to colour frame buffer device 40x30
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x10005000 (irq = 24) is a 16450
serial8250.0: ttyS1 at MMIO 0x10006000 (irq = 23) is a 16450
serial8250.0: ttyS2 at MMIO 0x10007000 (irq = 22) is a 16450
serial8250.0: ttyS3 at MMIO 0x10008000 (irq = 21) is a 16450
RAMDISK driver initialized: 16 RAM disks of 200000K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
dm9000 Ethernet Driver
sepether_init,platform_driver_register!
eth%d: The ether is working under RMII mode
eth0: Link now 10-HalfDuplex
eth0: sep ethernet at 0xe1003000 int=28 10M-HalfDuplex (00:50:c2:1e:af:fb)
eth0: Davicom 9196 PHY (Copper)
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
SCSI Media Changer driver v0.25 
blkmtd: version $Revision: 1.27 $
blkmtd: error: missing `device' name

block2mtd: version $Revision: 1.30 $
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00100000 : "U-boot"
0x00100000-0x00600000 : "linux 2.6.16 kernel"
0x00600000-0x01e00000 : "root"
0x01e00000-0x04000000 : "user"
sep4020sdi_probe........................
the resource num is 2
MMC/SD initialisation done.the irq num is 12
UDA1341 audio driver initialized
NET: Registered protocol family 2
sep4020_mci: IRQ clear imask.
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
  相关解决方案