一直在用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-SANWAYImage Type:   ARM Linux Kernel Image (uncompressed)Data Size:    2886088 Bytes = 2.8 MiBLoad Address: 80008000Entry Point:  80008000Verifying Checksum ... OKLoading Kernel Image ... OK
OKStarting 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 <bio-0> 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 ttyO0Arago 2013.02 SWA3300-ZJZZ ttyO0SWA3300-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的环境下实现NFS加载根文件系统相关推荐

  1. 移植根文件系统到linux内核 s3c2440,u-boot-2011.06在基于s3c2440开发板的移植之引导内核与加载根文件系统...

    三.根文件系统的制作 我们利用busybox来制作根文件系统 1.在下列网站下载busybox-1.15.0.tar.bz2 在当前目录下解压busybox tar -jxvf busybox-1.1 ...

  2. u-boot-2011.06在基于s3c2440开发板的移植之引导内核与加载根文件系统

    http://www.linuxidc.com/Linux/2012-09/70510.htm  来源:Linux社区  作者:赵春江 uboot最主要的功能就是能够引导内核启动.本文就介绍如何实现该 ...

  3. php-fpm 无法运行cli,linux-怎样让php在cli与fpm环境下运行时加载不同的扩展?

    问题: 由于开启了 xdebug 扩展, 导致使用 composer 时提示: You are running composer with xdebug enabled. This has a maj ...

  4. 浏览器环境下JavaScript脚本加载与执行探析之defer与async特性

    defer和async特性相信是很多JavaScript开发者"熟悉而又不熟悉"的两个特性,从字面上来看,二者的功能很好理解,分别是"延迟脚本"和"异 ...

  5. linux内核加载根文件系统,根文件系统 - Linux 内核引导选项简介

    [KNL] root=字符串 指定根文件系统的所在位置.通常这是一个必须明确设置的选项. "字符串"可以使用如下几种形式: XXxx 一个16进制数,其中"XX" ...

  6. linux uboot nfs启动,uboot中利用TFTP和NFS加载镜像到ram运行

    主机说明: 主机guest 为虚拟机redhat9: IP: 59.64.155.122  网关 59.64.155.1 redhat9上已经配置好NFS服务(参考http://blog.chinau ...

  7. uboot中利用TFTP和NFS加载镜像到ram运行

    主机说明: 主机guest 为虚拟机redhat9: IP: 59.64.155.122  网关 59.64.155.1 redhat9上已经配置好NFS服务(参考http://blog.chinau ...

  8. uboot中利用TFTP和NFS加载内核镜像和根文件系统

    转载地址:http://blog.csdn.net/yazhouren/article/details/52003572 origin: http://www.cnblogs.com/cjjnjust ...

  9. windows下应用程序加载DLL动态链接库路径

    windows下应用程序加载动态链接库路径依次分别是: 举例D盘soft文件夹下存在了一个test.exe的执行文件,即d:\soft\test.exe,依赖test.dll动态链接库. ■程序的执行 ...

最新文章

  1. 速看!高校开学返校的40个最新信息
  2. Visual Studio 2005中web.sitemap 中扩展自定义属性的一些应用范例
  3. 同一个Spring-AOP的坑,我一天踩了两次,深坑啊
  4. 发布【规模化产品开发方法-产品线工程.pdf】
  5. 信息系统项目管理知识--项目管理一般知识
  6. attribute java c_属性别名(Attribute Aliasing)
  7. 【音效处理】Vibrato 简介
  8. router vue 回到顶部_小猿圈HTML5学习之基于iview的router常用控制方式
  9. java_web学习(六) request对象中的get和post差异
  10. 彻底理解js是单线程
  11. 关于富士通 T5220服务器故障处理
  12. Excel数据透视表怎么做
  13. 201771010102 常惠琢 《面向对象程序设计(java)》第十三周学习总结
  14. 消除LightGBM训练过程中出现的[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
  15. 【IDEA 教程系列第 3 篇】idea 设置代码提示不区分大小写
  16. 链传动运动仿真(motion分析)制作包含源文件
  17. Spooling技术简单熟悉
  18. c语言程序图书检索源代码,C语言程序设计(图书管理系统)源代码 倾情奉献
  19. 计算机网络 HTTP请求及响应首部字段
  20. 《IPv6技术精要》一1.3 IPv5

热门文章

  1. 数据科学技术与应用【中国大学MOOC】:期末考试_答案
  2. 使用CAD编辑器将dwg保存为CAD的办法
  3. 关于Minecraft Forge构建环境失败解决方法
  4. 手机备忘录误删恢复的操作方法
  5. linux iostat 时间戳,Linux基础命令---iostat显示设备状态
  6. 计算机在材料科学应用主要有,《计算机在材料科学与工程中的应用(专科)》武汉理工大学20春作业二...
  7. Python 三十而立
  8. c-语言嵌入式系统,C语言与嵌入式系统-中国大学mooc-题库零氪
  9. 工具 | 分享一份嵌入式软件工具清单
  10. mysql查询有什么意义,数据库中的查询到底有什么作用?