arm embeded linux nfs boot configure

1.> 配置kernel

     1.>  Enable nfs support and nfs root,if Root file system on NFS  is invisible,please check whether enable "IP_PNP" option.Note: red part

  │ │                                  --- Network File Systems    
  │ │                                  <*>   NFS client support     
  │ │                                  [*]     NFS client support for NFS version 3 
  │ │                                  [ ]       NFS client support for the NFSv3 ACL protocol extension  
  │ │                                  [ ]     NFS client support for NFS version 4 (EXPERIMENTAL)  
  │ │                                  [*]     Root file system on NFS

                                          Networking options  

                                          [*] TCP/IP networking    
  │ │                                  [*]   IP: multicasting     
  │ │                                  [ ]   IP: advanced router       
  │ │                                  [*]   IP: kernel level autoconfiguration 


2.>modify u-boot bootargs

setenv bootargs console=ttyS0,115200 reserved_fb=1 mem=256M rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.110.60:/home/victor/nfs,tcp,nfsvers=3,nolock,rsize=8192 init=/init kernel=0 ip=192.168.110.73:192.168.110.60:192.168.110.254:255.255.255.0::eth0:on

         这部分有些参数,每个platform存在差异,与NFS有关的主要是红色部分。

3.>configure pc server nfs service

如果是UBUNTU,请安装sudo apt-get install nfs-kernel-server.确认是否可以在其它PC mount 成功,mount -t nfs 192.168.110.60:/home/victor/nfs /mnt

4.>let's go....


=============================boot info=====================

bootehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fotg2xx fotg2xx.0: usb_hcd_fotg2xx_probe:306 hcd cb8e7000
fotg2xx fotg2xx.0: ioremap c1e00000 => d0a00000
$$ Set 0x1C4, BIT24 !!
Enter Device A
otg int sts = 00000340
otg int sts = 00000000
Drive Vbus because of ID pin shows Device A
fotg2xx fotg2xx.0: Faraday USB2.0 OTG Controller
fotg2xx fotg2xx.0: new USB bus registered, assigned bus number 1
fotg2xx fotg2xx.0: irq 12, io mem 0xc1e00000
fotg2xx fotg2xx.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
$$ USB driver: hub
Set eof1 timing: 00000b99
fotg2xx fotg2xx.1: usb_hcd_fotg2xx_probe:306 hcd cb8c6800
fotg2xx fotg2xx.1: ioremap c1b00000 => d0c00000
$$ Set 0x1C4, BIT24 !!
Enter Device A
otg int sts = 00000340
otg int sts = 00000000
Drive Vbus because of ID pin shows Device A
fotg2xx fotg2xx.1: Faraday USB2.0 OTG Controller
fotg2xx fotg2xx.1: new USB bus registered, assigned bus number 2
fotg2xx fotg2xx.1: irq 14, io mem 0xc1b00000
fotg2xx fotg2xx.1: USB 2.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
$$ USB driver: hub
Set eof1 timing: 00000b99
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
DVB: registering new adapter (sv886x-dvb)
zl10353_attach: chip_id = 0x7f
sv886x-dvb sv886x-dvb: skydvb_register: No frontend attach with ts-dmx !!
skydvb_hwinit :External TS Demuxer Reset Assert !!
sk_mmc_probe:1009 buf_ctl=0xd08bec00
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
sk88xx_i2s_init...
sk88xx_i2s_probe::AKM4420
SK88XX_I2S: Bufsize is 76032, Nmfrags 18, Fragsize 4224, Fragsamples 2112
I2S buffer at 0xcb980000 (logical), 0x0b980000 (physical)availfrags = 17
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ata1: SATA link down (SStatus 0 SControl 300)
ax88180: using GMAC polling
ax88180: cable connected
ax88180: BMCR=0x1000, BMSR=0x796d
ax88180: media resolved ok
ax88180: Set to 100Mbps Full-duplex mode.
IP-Config: Complete:
     device=eth0, addr=192.168.110.73, mask=255.255.255.0, gw=192.168.110.254,
     host=192.168.110.73, domain=, nis-domain=(none),
     bootserver=192.168.110.60, rootserver=192.168.110.60, rootpath=
Looking up port of RPC 100003/3 on 192.168.110.60
Looking up port of RPC 100005/3 on 192.168.110.60
VFS: Mounted root (nfs filesystem) on device 0:12.

Freeing init memory: 108K
mkdir: can't create directory '/dev/pts': File exists
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd: driver 8.5 (NTFS4LINUX_U85_005_S[2011-05-28-20:33:48]) LBD=ON with delayalloc with ioctl loaded at bf000000
NTFS read/write support included
Hfs+/HfsX read/write support included
For 'skyviia_sv8860'
udev: starting version 144


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值