在ARM335X的环境下实现NFS加载根文件系统

  一直在用ARM335X开发板做项目,用的都是FLASH加载根文件系统的方式。这两天在看TI的SDK升级方面的有关文章都推荐采用

NFS加载根文件系统的方式来进行开发,所以决定在原来的系统上尝试一下。

   1. UBUNTU 18.04 虚拟机 NFS 服务器端的设置

       1)修改/etc/exports文件如下:

# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#

/home/eagleba/nfs/2000v2_rootfs *(rw,sync,no_root_squash,no_subtree_check)

       2) 重启NFS服务

            sudo /etc/init.d/nfs-kernel-server restart

2.  目标板上UBOOT的修改

       uboot上主要需要设置好bootargs, 这里比较容易出错,我改了很多次才正确。主要原因是出错是内核的错误比较简单,每次只是告诉你加载失败,所以这里的配置要反复检查和确认。

       最后调试通过的bootargs为:

setenv bootargs console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.2.223:/home/eagleba/nfs/2000v2_rootfs,nolock rw ip=192.168.2.125:192.168.2.223:192.168.2.100:255.255.255.0::eth0:off

     然后在uboot下输入tftp uImage  加载内核到内存后输入bootm 就会用bootargs的参数来加载根文件系统了。

3 init 

    根文件系统从NFS加载起来后并没有运行init,所以在根文件的根目录下加了如下的链接

    ln -s ./sbin/init init

4   现在系统就可以正常加载了。

U-Boot SPL 2013.01.01 (Aug 02 2017 - 12:01:55)


U-Boot 2013.01.01 (Aug 02 2017 - 12:01:55)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   cpsw
Press qw to cmdline...Sanway@335x->run eagle_bootcmd 
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.2.223; our IP address is 192.168.2.125
Filename 'uImage'.
Load address: 0x80200000
Loading: #################################################################
         ######################################T ###########################
         #################################################################
         #####################T ############################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################################
         94.7 KiB/s
done
Bytes transferred = 2886152 (2c0a08 hex)
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-3.2.0-SANWAY
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2886088 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 3.2.0-SANWAY (jiang@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #622 Fri Nov 23 10:06:20 CST 2018
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335x_zjzz
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.2.223:/home/eagleba/nfs/2000v2_rootfs,nolock rw ip=192.168.2.125:192.168.2.223:192.168.2.100:255.255.255.0::eth0:off
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 513840k/513840k available, 10448k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc050b000   (5132 kB)
[    0.000000]       .init : 0xc050b000 - 0xc0544000   ( 228 kB)
[    0.000000]       .data : 0xc0544000 - 0xc059bb20   ( 351 kB)
[    0.000000]        .bss : 0xc059bb44 - 0xc05c5dbc   ( 169 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000091] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.058929] pid_max: default: 32768 minimum: 301
[    0.059051] Security Framework initialized
[    0.059173] Mount-cache hash table entries: 512
[    0.059539] CPU: Testing write buffer coherency: ok
[    0.060272] devtmpfs: initialized
[    0.080291] omap_hwmod: pruss: failed to hardreset
[    0.081359] print_constraints: dummy: 
[    0.081634] NET: Registered protocol family 16
[    0.083648] OMAP GPIO hardware version 0.1
[    0.085815] omap_mux_init: Add partition: #1: core, flags: 0
[    0.087646]  omap_i2c.1: alias fck already exists
[    0.088714]  omap2_mcspi.1: alias fck already exists
[    0.088928]  omap2_mcspi.2: alias fck already exists
[    0.089447]  edma.0: alias fck already exists
[    0.089447]  edma.0: alias fck already exists
[    0.089477]  edma.0: alias fck already exists
[    0.108703] bio: create slab  at 0
[    0.110595] SCSI subsystem initialized
[    0.112121] usbcore: registered new interface driver usbfs
[    0.112396] usbcore: registered new interface driver hub
[    0.112579] usbcore: registered new device driver usb
[    0.112884] registerd cppi-dma Intr @ IRQ 17
[    0.112915] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[    0.112915] Cppi41 Init Done
[    0.112945] musb-ti81xx musb-ti81xx: musb0, board_mode=0x11, plat_mode=0x1
[    0.113250] musb-ti81xx musb-ti81xx: musb1, board_mode=0x11, plat_mode=0x1
[    0.128997] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.130584] tps65910 1-002d: JTAGREVNUM 0x0
[    0.132904] print_constraints: VRTC: 
[    0.134338] print_constraints: VIO: at 1500 mV 
[    0.136596] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
[    0.138854] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
[    0.139862] print_constraints: VDD3: 5000 mV 
[    0.141235] print_constraints: VDIG1: at 1800 mV 
[    0.142639] print_constraints: VDIG2: at 1800 mV 
[    0.144012] print_constraints: VPLL: at 1800 mV 
[    0.145385] print_constraints: VDAC: at 1800 mV 
[    0.146789] print_constraints: VAUX1: at 1800 mV 
[    0.148193] print_constraints: VAUX2: at 3300 mV 
[    0.149566] print_constraints: VAUX33: at 3300 mV 
[    0.150939] print_constraints: VMMC: at 3300 mV 
[    0.151397] tps65910 1-002d: No interrupt support, no core IRQ
[    0.153411] Switching to clocksource gp timer
[    0.169952] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.170104] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.170379] MUSB0 controller's USBSS revision = 4ea20800
[    0.170410] musb0: Enabled SW babble control
[    0.170898] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    0.170989] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    0.171112] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.171142] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.171142] usb usb1: Product: MUSB HDRC host driver
[    0.171173] usb usb1: Manufacturer: Linux 3.2.0-SANWAY musb-hcd
[    0.171173] usb usb1: SerialNumber: musb-hdrc.0
[    0.172027] hub 1-0:1.0: USB hub found
[    0.172088] hub 1-0:1.0: 1 port detected
[    0.172607] musb-hdrc musb-hdrc.0: USB Host mode controller at e083c000 using DMA, IRQ 18
[    0.172790] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[    0.173095] MUSB1 controller's USBSS revision = 4ea20800
[    0.173126] musb1: Enabled SW babble control
[    0.173614] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.173675] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[    0.173767] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.173797] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.173797] usb usb2: Product: MUSB HDRC host driver
[    0.173797] usb usb2: Manufacturer: Linux 3.2.0-SANWAY musb-hcd
[    0.173828] usb usb2: SerialNumber: musb-hdrc.1
[    0.174682] hub 2-0:1.0: USB hub found
[    0.174682] hub 2-0:1.0: 1 port detected
[    0.175231] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19
[    0.175659] NET: Registered protocol family 2
[    0.175842] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.176147] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.176452] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.176635] TCP: Hash tables configured (established 16384 bind 16384)
[    0.176635] TCP reno registered
[    0.176666] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.176666] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.176879] NET: Registered protocol family 1
[    0.177124] RPC: Registered named UNIX socket transport module.
[    0.177124] RPC: Registered udp transport module.
[    0.177154] RPC: Registered tcp transport module.
[    0.177154] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.177368] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.197174] exFAT: Version 1.2.9
[    0.197479] msgmni has been set to 1003
[    0.200408] alg: No test for stdrng (krng)
[    0.201141] io scheduler noop registered (default)
[    0.202178] Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
[    0.205047] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.894531] console [ttyO0] enabled
[    0.898834] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.906707] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.914520] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.922271] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.930084] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.938354] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[    0.945526] ker_rw driver, to read/write all registers, V1.00
[    0.951538] Complite time: Nov 19 2018 13:45:50
[    0.956634] mdio_ops driver, to read/write all mdio registers, V1.00
[    0.963256] Complite time: Nov 19 2018 13:45:50
[    0.977478] brd: module loaded
[    0.985504] loop: module loaded
[    0.988861] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.054290] The board is general purpose EVM in profile 0
[    1.061309] omap-gpmc omap-gpmc: GPMC revision 6.0
[    1.066375] Registering NAND on CS0
[    1.070312] gpmc cpld init.
[    1.073211] CONFIG_MACH_AM335X_WeeQ_ARM.
[    1.077331] CONFIG_MACH_AM335X_WeeQ_ARM.
[    1.081451] CONFIG_MACH_AM335X_WeeQ_ARM.
[    1.085540] gpmc cs0[1] reg: 0x00000800
[    1.089538] gpmc cs0[2] reg: 0x00050500
[    1.093536] gpmc cs0[3] reg: 0x00050401
[    1.097534] gpmc cs0[4] reg: 0x04010601
[    1.101531] gpmc cs0[5] reg: 0x00070909
[    1.105560] gpmc cs0[6] reg: 0x04000f80
[    1.109527] gpmc cs0[7] reg: 0x00000f48
[    1.113525] gpmc cs0, base: 0x08000000, size: 0x01000000
[    1.119079] 
[    1.120635] gpmc cs1[1] reg: 0x00611001
[    1.124633] gpmc cs1[2] reg: 0x00121000
[    1.128631] gpmc cs1[3] reg: 0x00040401
[    1.132629] gpmc cs1[4] reg: 0x11061006
[    1.136627] gpmc cs1[5] reg: 0x020f1212
[    1.140625] gpmc cs1[6] reg: 0x0f070080
[    1.144622] gpmc cs1[7] reg: 0x00000050
[    1.148620] gpmc cs1, base: 0x10000000, size: 0x10000000
[    1.154174] 
[    1.155731] gpmc cs2[1] reg: 0x00611001
[    1.159698] gpmc cs2[2] reg: 0x00121000
[    1.163696] gpmc cs2[3] reg: 0x00040401
[    1.167724] gpmc cs2[4] reg: 0x11061006
[    1.171691] gpmc cs2[5] reg: 0x020f1212
[    1.175720] gpmc cs2[6] reg: 0x0f070080
[    1.179718] gpmc cs2[7] reg: 0x00000f41
[    1.183685] gpmc cs2, base: 0x01000000, size: 0x01000000
[    1.189239] 
[    1.190795] gpmc cs3[1] reg: 0x00611001
[    1.194793] gpmc cs3[2] reg: 0x00121000
[    1.198791] gpmc cs3[3] reg: 0x00040401
[    1.202789] gpmc cs3[4] reg: 0x11061006
[    1.206787] gpmc cs3[5] reg: 0x020f1212
[    1.210784] gpmc cs3[6] reg: 0x0f070080
[    1.214782] gpmc cs3[7] reg: 0x00000f42
[    1.218780] gpmc cs3, base: 0x02000000, size: 0x01000000
[    1.224334] 
[    1.225860] GPMC_CONFIG 0x210.
[    1.229522]  omap_hsmmc.0: alias fck already exists
[    1.235900] Detected MACID=74:e1:82:b8:25:c6
[    1.241302] cpsw: Detected MACID = 74:e1:82:b8:25:c8
[    1.247131] rtl8211 reset.
[    1.275848] registered am33xx_sr device
[    1.282012] omap2-nand driver initializing
[    1.286590] nand maf_id=c2, dev_id=dc
[    1.290466] ONFI flash detected
[    1.293884] ONFI param page 0 valid
[    1.297546] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xdc (Unknown MX30LF4G18AC)
[    1.305999] Creating 9 MTD partitions on "omap2-nand.0":
[    1.311553] 0x000000000000-0x000000020000 : "SPL"
[    1.317932] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.324798] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.331573] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.338470] 0x000000080000-0x000000260000 : "U-Boot"
[    1.345581] 0x000000260000-0x000000280000 : "U-Boot Env"
[    1.352325] 0x000000280000-0x000000780000 : "Kernel"
[    1.360748] 0x000000780000-0x000008780000 : "File System"
[    1.420532] 0x000008780000-0x000020000000 : "App"
[    1.583465] CAN device driver interface
[    1.587524] CAN bus driver for Bosch D_CAN controller 1.0
[    1.634094] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    1.640533] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
[    1.647918] davinci_mdio.0: probed
[    1.651489] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver RTL821x Gigabit Ethernet
[    1.660400] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver RTL821x Gigabit Ethernet
[    1.669433] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.676422] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.683044] Initializing USB Mass Storage driver...
[    1.688446] usbcore: registered new interface driver usb-storage
[    1.694732] USB Mass Storage support registered.
[    1.700073] mousedev: PS/2 mouse device common for all mice
[    1.706695] rtc-pcf8563 1-0051: chip found, driver version 0.4.3
[    1.714569] rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
[    1.722717] rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.729919] i2c /dev entries driver
[    1.736022] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.744567] cpuidle: using governor ladder
[    1.749298] cpuidle: using governor menu
[    1.758178] usbcore: registered new interface driver usbhid
[    1.763977] usbhid: USB HID core driver
[    1.768280] TCP cubic registered
[    1.771667] NET: Registered protocol family 17
[    1.776336] can: controller area network core (rev 20090105 abi 8)
[    1.782928] NET: Registered protocol family 29
[    1.787597] can: raw protocol (rev 20090105)
[    1.792022] can: broadcast manager protocol (rev 20090105 t)
[    1.798004] Registering the dns_resolver key type
[    1.803009] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    1.811004] ThumbEE CPU extension supported.
[    1.815521] mux: Failed to setup hwmod io irq -22
[    1.821105] Power Management for AM33XX family
[    1.825988] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    1.832641] Copied the M3 firmware to UMEM
[    1.837005] Cortex M3 Firmware Version = 0x181
[    1.843444] create_regulator: VDD1: Failed to create debugfs directory
[    1.851806] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[    1.864532] clock: disabling unused clocks to save power
[    1.885559] rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
[    1.893310] rtc-pcf8563 1-0051: setting system clock to 2019-08-14 06:12:37 UTC (1565763157)
[    1.906402] net eth0: CPSW phy found : id is : 0x1cc914
[    4.909118] PHY: 0:01 - Link is Up - 100/Full
[    4.934844] IP-Config: Complete:
[    4.938232]      device=eth0, addr=192.168.2.125, mask=255.255.255.0, gw=192.168.2.100,
[    4.946350]      host=192.168.2.125, domain=, nis-domain=(none),
[    4.952606]      bootserver=192.168.2.223, rootserver=192.168.2.223, rootpath=
[    4.967529] VFS: Mounted root (nfs filesystem) on device 0:14.
[    4.974090] devtmpfs: mounted
[    4.977569] Freeing init memory: 228K
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
[    5.609558] udev[823]: starting version 164
[    8.970855] rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
[    8.986999] yaffs: dev is 32505864 name is "mtdblock8" rw
[    8.992706] yaffs: passed flags ""
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
mount: mounting 192.168.2.223:/home/eagleba/nfs/2000v2_rootfs/ on / failed: Invalid argument
[    9.679504] rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
[   10.014587] rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
Starting syslogd/klogd: done
Error: Module TEST is not currently loaded
rm: can't remove '/dev/fpga': No such file or directory
[   10.686126] Disabling lock debugging due to kernel taint
[   10.692352] CS1 old GPMC_CS_CONFIG1 611001
[   10.696655] CS1 old GPMC_CS_CONFIG6 f070080
[   10.701019] CS1 new GPMC_CS_CONFIG1 611001
[   10.705291] CS1 old GPMC_CS_CONFIG6 f0704c4
[   10.709686] Failed request for GPMC mem for init
[   10.714477] Got CS1, address = 0
[   10.717864] GPMC revision 6.0
[   10.720947] GPMC config 210
[   10.729827] CS2 old GPMC_CS_CONFIG1 611001
[   10.734100] CS2 old GPMC_CS_CONFIG6 f070080
[   10.738525] CS2 new GPMC_CS_CONFIG1 611001
[   10.742797] CS2 old GPMC_CS_CONFIG6 f0704c4
[   10.747161] Failed request for GPMC mem for init
[   10.751983] Got CS2, address = 0x0
[   10.755554] GPMC revision 6.0
[   10.758636] GPMC config 210
Error: Module PS_FPGAUpgrad is not currently loaded
rm: can't remove '/dev/PS_FPGA': No such file or directory
[   11.318389] PS-FPGA Init 
Load Binary File Size: 3571462 Bytes.
FPGA COnfig Success.
[   29.478088] CS1 old GPMC_CS_CONFIG1 611001
[   29.482391] CS1 old GPMC_CS_CONFIG6 f0704c4
[   29.486785] CS1 new GPMC_CS_CONFIG1 611001
[   29.491058] CS1 old GPMC_CS_CONFIG6 f0704c4
[   29.495422] Got CS1, address = 10000000
[   29.499450] GPMC revision 6.0
[   29.502532] GPMC config 210
[   29.511444] CS2 old GPMC_CS_CONFIG1 611001
[   29.515716] CS2 old GPMC_CS_CONFIG6 f0704c4
[   29.520080] CS2 new GPMC_CS_CONFIG1 611001
[   29.524353] CS2 old GPMC_CS_CONFIG6 f0704c4
[   29.528717] Got CS2, address = 0x1000000
[   29.532806] GPMC revision 6.0
[   29.535888] GPMC config 210
Stopping Bootlog daemon: bootlogd.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org SWA3300-ZJZZ ttyO0

Arago 2013.02 SWA3300-ZJZZ ttyO0

SWA3300-ZJZZ login: 

5 遗留问题

系统起来后还是报了一个错误:

mount: mounting 192.168.2.223:/home/eagleba/nfs/2000v2_rootfs/ on / failed: Invalid argument

但我发现系统运行正常,所以暂时先不管它了。

 

6 参考文档

NFS挂载失败 https://blog.csdn.net/ltc844139730/article/details/51591941

Linux学习之路——NFS挂载根文件系统 https://blog.csdn.net/qq_24835087/article/details/84578111

目标板通过nfs挂载根文件系统 https://www.cnblogs.com/youthshouting/p/4541727.html

嵌入式linux之NFS启动根文件系统http://blog.sina.com.cn/s/blog_70e0d0a30102uztl.html

从NFS起根文件系统http://blog.chinaunix.net/uid-25737580-id-3979248.html

 

 

 

 

你可能感兴趣的:(ARM335X)