aidaogu 发表于 2017-11-23 11:44:14

加载nfs文件系统出现Sending DHCP requests ...... timed out!错误

按照飞凌嵌入式Linux手册内容编译u-boot2009-08、内核和文件系统,通过下载工具装载3个
镜像至EMMC中,通过上电启动,u-boot正常运行,引导装载运行内核和文件系统。
u-boot的默认环境变量为:

MX6Q SABRESD U-Boot > printenv
bootdelay=3
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=(0x1300000)
netdev=eth0
ldb_mode=ldb=sin0
mxcfb0=video=mxcfb0:dev=lcd,AT070-WVGA,if=RGB24,bpp=32
mxcfb1=video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
codec_name=audio_codec=wm8960-24M
calibrate=Y
ethprime=FEC0
splashimage=0x30000000
splashpos=m,m
uboot=u-boot.bin
kernel=uImage
nfsroot=/opt/eldk/arm
bootargs_base=setenv bootargs console=ttymxc0,115200 ${mxcfb0} ${mxcfb1} ${ldb_mode} ${codec_name} video=mxcfb2:off calibrate=${calibrate}
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm
bootargs_mmc=setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1 rootwait
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2900; bootm
bootcmd=run bootcmd_mmc
wdtenable=disable
stdin=serial
stdout=serial
stderr=serial
ethact=FEC0

Environment size: 1023/8188 bytes------------------------------------------------------------------------------
执行:
1、setenv ethaddr 00:E0:C0:66:88:99
2、setenv nfsroot /nfs_rootfs
3、setenv bootcmd run bootcmd_net
按照以上命令配置好u-boot环境变量,更新ubuntu12.04宿主机IP为192.168.1.101,window10主机IP为192.168.1.102,
u-boot自身IP地址为192.168.1.103不变。各模块之间通过交换机链接。
重新上电启动后,能下载内核,但不能加载/nfs_rootfs文件夹下的文件系统,输出打印信息如下:




------------------------------------------------------------------------------------
U-Boot 2009.08 (Nov 21 2017 - 03:27:32)

CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Temperature:   46 C, calibration data 0x5bc52d69
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock   : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock   : 132000000Hz
axi clock   : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock   : 528000000Hz
usdhc1 clock: 198000000Hz
usdhc2 clock: 198000000Hz
usdhc3 clock: 198000000Hz
usdhc4 clock: 198000000Hz
nfc clock   : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63015
Boot Device: MMC
I2C:   ready
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
In:    serial
Out:   serial
Err:   serial
config_ipu_di_clk: freq = 108000000.
wait for pll5 lock.
config_ipu_di_clk: set pll5 clock to 216000000Hz.
Found PFUZE100! deviceid=10,revid=21
Net:   got MAC address from IIM: 00:00:00:00:00:00
FEC0
WatchDog is disabled
Hit any key to stop autoboot:0
PHY indentify @ 0x1 = 0x004dd074
FEC: Link is Up 796d
Using FEC0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.103
Filename 'uImage'.
Load address: 0x10800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############
done
Bytes transferred = 3992812 (3cecec hex)
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Linux-3.0.35-2666-gbdde708
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3992748 Bytes =3.8 MB
   Load Address: 10008000
   Entry Point:10008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-2666-gbdde708 (root@ubuntu) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Tue Nov 21 03:48:39 PST 2017
CPU: ARMv7 Processor revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, unknown revision
On node 0 totalpages: 196608
free_area_init_node: node 0, pgdat 80b074a0, node_mem_map 8b800000
DMA zone: 368 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 46736 pages, LIFO batch:15
Normal zone: 1680 pages used for memmap
Normal zone: 147824 pages, LIFO batch:31
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
pcpu-alloc: s5440 r8192 d15040 u32768 alloc=8*4096
pcpu-alloc: 0 1 2 3
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 194560
Kernel command line: console=ttymxc0,115200 video=mxcfb0:dev=lcd,AT070-WVGA,if=RGB24,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 ldb=sin0 audio_codec=wm8960-24M video=mxcfb2:off calibrate=Y root=/dev/nfs ip=dhcp nfsroot=192.168.1.101:/nfs_rootfs,v3,tcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512MB 256MB = 768MB total
Memory: 765676k/765676k available, 282900k reserved, 0K highmem
Virtual kernel memory layout:
    vector: 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA   : 0xf4600000 - 0xffe00000   ( 184 MB)
    vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
    lowmem: 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (14 MB)
      .init : 0x80008000 - 0x8003c000   ( 208 kB)
      .text : 0x8003c000 - 0x80aa5e80   (10664 kB)
      .data : 0x80aa6000 - 0x80b085c0   ( 394 kB)
       .bss : 0x80b085e4 - 0x80b5737c   ( 316 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=800MHz
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU2: Booted secondary processor
CPU3: Booted secondary processor
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: vmmc: 3300 mV
SCSI subsystem initialized
libata version 3.00 loaded.
spi_imx imx6q-ecspi.1: probed
usbcore: registered new inte**ce driver usbfs
usbcore: registered new inte**ce driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
i2c-gpio i2c-gpio.3: using pins 35 (SDA) and 169 (SCL)
mc_pfuze 1-0008: ID: 0,Full lay: 2 ,Metal lay: 1
mc_pfuze 1-0008: FAB: 0 ,FIN: 0
print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV
print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV
print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV
print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV
print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV
print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV
print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 1800 mV
print_constraints: PFUZE100_VREFDDR: at 750 mV
print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2800 mV
print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV
print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 3000 mV
print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
i2c-core: driver using legacy suspend method
i2c-core: driver using legacy resume method
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is enabled for i.MX6
cpaddr = c0880000 suspend_iram_base=c091c000
PM driver module loaded
IMX usb wakeup probe
the wakeup pdata is 0xbfd27080
add wake up source irq 75
IMX usb wakeup probe
the wakeup pdata is 0xbfd27300
cpu regulator mode:ldo_bypass
_regulator_get: get() with no identifier
mx6_cpu_regulator_init: failed to get pu regulator
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 1495
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver lcd
Console: switching to colour frame buffer device 100x30
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi
mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb mxc_sdc_fb.2: Can't get fb option for mxcfb2!
mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver mipi_dsi
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console enabled, bootconsole disabled
console enabled, bootconsole disabled
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
loop: module loaded
No sata disk.
GPMI NAND driver registered. (IMX)
vcan: Virtual CAN inte**ce driver
CAN device driver inte**ce
mcp251x spi1.0: MCP251x didn't enter in conf mode after reset
mcp251x spi1.0: Probe failed
mcp251x spi1.0: probe failed
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=c0a50000, irq=142)
FEC Ethernet Driver
fec_enet_mii_bus: probed
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new inte**ce driver asix
usbcore: registered new inte**ce driver cdc_ether
usbcore: registered new inte**ce driver net1080
usbcore: registered new inte**ce driver cdc_subset
usbcore: registered new inte**ce driver zaurus
cdc_ncm: 04-Aug-2011
usbcore: registered new inte**ce driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
add wake up source irq 72
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new inte**ce driver usb-storage
USB Mass Storage support registered.
usbcore: registered new inte**ce driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new inte**ce driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new inte**ce driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
ARC USBOTG Device Controller driver (1 August 2005)
mousedev: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
input: ft5x0x_ts as /devices/platform/imx-i2c.2/i2c-2/2-0038/input/input1
ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
ft5x0x_ts 2-0038: report rate = 0Hz
ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
ft5x0x_ts 2-0038: threshold read failed
ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
ft5x0x_ts 2-0038: ft5x06_ts_interrupt: read data fail
ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
ft5x0x_ts 2-0038: ft5x06_ts_interrupt: read data fail
usb 2-1: new high speed USB device number 2 using fsl-ehci
ft5x0x_ts: probe of 2-0038 failed with error -5
input: ft5326_ts as /devices/platform/i2c-gpio.3/i2c-3/3-0038/input/input2
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
ft5326_ts 3-0038: ft5x06_i2c_read: i2c read error.
ft5326_ts 3-0038: report rate = 0Hz
ft5326_ts 3-0038: ft5x06_i2c_read: i2c read error.
ft5326_ts 3-0038: threshold read failed<<-GTP-INFO->> GTP driver installing...
<<-GTP-INFO->> GTP Driver Version: V2.2<2014/01/14>
<<-GTP-INFO->> GTP Driver Built@03:42:32, Nov 21 2017
<<-GTP-INFO->> GTP I2C Address: 0x5d
<<-GTP-INFO->> Guitar reset
usb 2-1.3: new high speed USB device number 3 using fsl-ehci
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
USB Host suspend begins
will suspend roothub and its children
ehci_fsl_bus_suspend begins, DR
ehci_fsl_bus_suspend ends, DR
host suspend ends
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 1.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 2.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 3.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 4.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 5.
<<-GTP-ERROR->> I2C communication ERROR!
Goodix-TS: probe of 2-005d failed with error -5
i2c-core: driver using legacy suspend method
i2c-core: driver using legacy resume method
forlinx rx8010_probe
rtc-rx8010 2-0032: Update timer was detected
rtc-rx8010 2-0032: rtc core: registered rx8010 as rtc0
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc1
i2c /dev entries driver
Linux video capture inte**ce: v2.00
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
usbcore: registered new inte**ce driver uvcvideo
USB Video Class driver (v1.1.0)
i2c-core: driver using legacy suspend method
i2c-core: driver using legacy resume method
mma8451 0-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!
mma8451: probe of 0-001c failed with error -22
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new inte**ce driver btusb
sdhci: Secure Digital Host Controller Inte**ce driver
sdhci: Copyright(c) Pierre Ossman
mmc0: SDHCI controller on platform using DMA
mmc1: SDHCI controller on platform using DMA
mmc2: SDHCI controller on platform using DMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
mxc_asrc registered
Galcore version 4.6.9.6622
Thermal calibration data is 0x5bc52d69
Thermal sensor with ratio = 185
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
usbcore: registered new inte**ce driver usbhid
usbhid: USB HID core driver
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
Cirrus Logic CS42888 ALSA SoC Codec Driver
i2c-core: driver using legacy suspend method
i2c-core: driver using legacy resume method
wm8960-codec 0-001a: No platform data supplied
mmc0: new high speed DDR MMC card at address 0001
mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
mmcblk0: p1
mmcblk0boot1: unknown partition table
mmcblk0boot0: unknown partition table
www.forlinx.com modify wm8960 IC for OK_IMX6X v1.3
asoc: wm8960-hifi <-> imx-ssi.1 mapping ok
input: wm8960-audio HeadPhone Jack as /devices/platform/soc-audio.6/sound/card0/input3
imx_3stack asoc driver
asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
ALSA device list:
#0: wm8960-audio
#1: imx-hdmi-soc
NET: Registered protocol family 26
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'
lib80211_crypt: registered algorithm 'TKIP'
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
pwm_id = 0x1

jzw;pwm_backlight_update_status:s_bl_en=1
regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on
rtc-rx8010 2-0032: setting system clock to 2017-11-23 03:14:04 UTC (1511406844)
eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:01, irq=-1)
mmc2: new high speed SDHC card at address aaaa
mmcblk1: mmc2:aaaa SS16G 14.8 GiB
mmcblk1: unknown partition table
usb 2-1.4: new high speed USB device number 4 using fsl-ehci
PHY: 1:01 - Link is Up - 100/Full
cdc_ether 2-1.4:2.0: usb0: register 'cdc_ether' at usb-fsl-ehci.1-1.4, CDC Ethernet Device, 02:1e:10:1f:00:00
option 2-1.4:2.2: GSM modem (1-port) converter detected
usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
Sending DHCP requests .
option 2-1.4:2.3: GSM modem (1-port) converter detected
usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
option 2-1.4:2.4: GSM modem (1-port) converter detected
usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
option 2-1.4:2.5: GSM modem (1-port) converter detected
usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB3
option 2-1.4:2.6: GSM modem (1-port) converter detected
usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB4
..... timed out!
IP-Config: Retrying forever (NFS root)...
eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:01, irq=-1)
Sending DHCP requests .
PHY: 1:01 - Link is Up - 100/Full
..... timed out!
IP-Config: Retrying forever (NFS root)...
eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:01, irq=-1)
PHY: 1:01 - Link is Up - 100/Full
Sending DHCP requests ...... timed out!
IP-Config: Retrying forever (NFS root)...
eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:01, irq=-1)
PHY: 1:01 - Link is Up - 100/Full
Sending DHCP requests ...... timed out!
IP-Config: Retrying forever (NFS root)...
eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:01, irq=-1)
PHY: 1:01 - Link is Up - 100/Full
Sending DHCP requests ...... timed out!
IP-Config: Retrying forever (NFS root)...









请问出现:
IP-Config: Retrying forever (NFS root)...
eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:01, irq=-1)
PHY: 1:01 - Link is Up - 100/Full
Sending DHCP requests ...... timed out!
错误的原因是什么?

aidaogu 发表于 2017-11-23 11:46:36

设置的u-boot2009-08环境变量为:
MX6Q SABRESD U-Boot > printenv
bootdelay=3
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=(0x1300000)
netdev=eth0
ldb_mode=ldb=sin0
mxcfb0=video=mxcfb0:dev=lcd,AT070-WVGA,if=RGB24,bpp=32
mxcfb1=video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
codec_name=audio_codec=wm8960-24M
calibrate=Y
ethprime=FEC0
splashimage=0x30000000
splashpos=m,m
uboot=u-boot.bin
kernel=uImage
bootargs_base=setenv bootargs console=ttymxc0,115200 ${mxcfb0} ${mxcfb1} ${ldb_mode} ${codec_name} video=mxcfb2:off calibrate=${calibrate}
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm
bootargs_mmc=setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1 rootwait
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2900; bootm
wdtenable=disable
ethact=FEC0
ethaddr=00:E0:C0:66:88:99
nfsroot=/nfs_rootfs
bootcmd=run bootcmd_net
stdin=serial
stdout=serial
stderr=serial

Environment size: 1048/8188 bytes

飞凌-chongzi 发表于 2017-11-23 11:56:07

aidaogu 发表于 2017-11-23 11:46
设置的u-boot2009-08环境变量为:

您好:
    http://bbs.witech.com.cn/forum.php?mod=viewthread&tid=69271&extra=

aidaogu 发表于 2017-11-23 12:27:31

飞凌-chongzi 发表于 2017-11-23 11:56
您好:
    http://bbs.witech.com.cn/forum.php?mod=viewthread&tid=69271&extra=

您好!这是两个问题。我已经恢复了默认的环境变量。在默认环境变量上修改。目前,能从宿主机上下载和加载/tftpboot/目录下的内核到emmc,并能正确解压运行。现在的问题是,为什么不能加载宿主机上/nfs_rootfs文件夹内的文件系统?是不是IP=DHCP不对?一直提示网络加载超时。

飞凌-chongzi 发表于 2017-11-23 13:21:09

aidaogu 发表于 2017-11-23 12:27
您好!这是两个问题。我已经恢复了默认的环境变量。在默认环境变量上修改。目前,能从宿主机上下载和加载 ...

您好:
    这对您nfs无法挂载的问题,我已经贴出了环境变量的设置命令,您可以尝试一下,我这之前测试,nfs是可以正常挂载的

aidaogu 发表于 2017-11-23 13:37:15

飞凌-chongzi 发表于 2017-11-23 13:21
您好:
    这对您nfs无法挂载的问题,我已经贴出了环境变量的设置命令,您可以尝试一下,我这之前测试 ...

------------------------------------------------------------------------------------
按照飞凌要求增加以下在一行的(重点)环境变量:

setenv bootargs_nfs setenv bootargs console=ttymxc0,115200 video=mxcfb0:dev=hdmi,1920x1080@60,if=RGB24,bpp=32 video=mxcfb1:dev=hdmi,1920x1080@60,if=RGB24,bpp=32 ldb=sin0 audio_codec=wm8960-24M video=mxcfb2:off calibrate=Y root=/dev/nfs ip=192.168.1.103:192.168.1.1:255.255.255.0 nfsroot=192.168.1.101:/nfs_rootfs,v3,tcp

完美解决。谢谢!

zka 发表于 2018-7-11 18:37:31

iMX6UL编译生成的只有zImage,而U-Boot中的bootm不支持zImage,该怎么修改bootargs_nfs进行nfs的挂载?
页: [1]
查看完整版本: 加载nfs文件系统出现Sending DHCP requests ...... timed out!错误