嵌入式爱好者

查看: 1086|回复: 6

[已解决] 加载nfs文件系统出现Sending DHCP requests ...... timed out!错误

[复制链接]

3

主题

8

帖子

31

积分

i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2017-11-23 11:44:14 | 显示全部楼层 |阅读模式
按照飞凌嵌入式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文件夹下的文件系统,输出打印信息如下:





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

  2. CPU: Freescale i.MX6 family TO1.5 at 792 MHz
  3. Temperature:   46 C, calibration data 0x5bc52d69
  4. mx6q pll1: 792MHz
  5. mx6q pll2: 528MHz
  6. mx6q pll3: 480MHz
  7. mx6q pll8: 50MHz
  8. ipg clock     : 66000000Hz
  9. ipg per clock : 66000000Hz
  10. uart clock    : 80000000Hz
  11. cspi clock    : 60000000Hz
  12. ahb clock     : 132000000Hz
  13. axi clock   : 264000000Hz
  14. emi_slow clock: 132000000Hz
  15. ddr clock     : 528000000Hz
  16. usdhc1 clock  : 198000000Hz
  17. usdhc2 clock  : 198000000Hz
  18. usdhc3 clock  : 198000000Hz
  19. usdhc4 clock  : 198000000Hz
  20. nfc clock     : 24000000Hz
  21. Board: i.MX6Q-SABRESD: unknown-board Board: 0x63015 [WDOG ]
  22. Boot Device: MMC
  23. I2C:   ready
  24. DRAM:   1 GB
  25. MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
  26. In:    serial
  27. Out:   serial
  28. Err:   serial
  29. config_ipu_di_clk: freq = 108000000.
  30. wait for pll5 lock.
  31. config_ipu_di_clk: set pll5 clock to 216000000Hz.
  32. Found PFUZE100! deviceid=10,revid=21
  33. Net:   got MAC address from IIM: 00:00:00:00:00:00
  34. FEC0 [PRIME]
  35. WatchDog is disabled
  36. Hit any key to stop autoboot:  0
  37. PHY indentify @ 0x1 = 0x004dd074
  38. FEC: Link is Up 796d
  39. Using FEC0 device
  40. TFTP from server 192.168.1.101; our IP address is 192.168.1.103
  41. Filename 'uImage'.
  42. Load address: 0x10800000
  43. Loading: #################################################################
  44.          #################################################################
  45.          #################################################################
  46.          #################################################################
  47.          ############
  48. done
  49. Bytes transferred = 3992812 (3cecec hex)
  50. ## Booting kernel from Legacy Image at 10800000 ...
  51.    Image Name:   Linux-3.0.35-2666-gbdde708
  52.    Image Type:   ARM Linux Kernel Image (uncompressed)
  53.    Data Size:    3992748 Bytes =  3.8 MB
  54.    Load Address: 10008000
  55.    Entry Point:  10008000
  56.    Verifying Checksum ... OK
  57.    Loading Kernel Image ... OK
  58. OK

  59. Starting kernel ...

  60. Uncompressing Linux... done, booting the kernel.
  61. 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
  62. CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
  63. CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
  64. Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
  65. Memory policy: ECC disabled, Data cache writealloc
  66. CPU identified as i.MX6Q, unknown revision
  67. On node 0 totalpages: 196608
  68. free_area_init_node: node 0, pgdat 80b074a0, node_mem_map 8b800000
  69.   DMA zone: 368 pages used for memmap
  70.   DMA zone: 0 pages reserved
  71.   DMA zone: 46736 pages, LIFO batch:15
  72.   Normal zone: 1680 pages used for memmap
  73.   Normal zone: 147824 pages, LIFO batch:31
  74. PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
  75. pcpu-alloc: s5440 r8192 d15040 u32768 alloc=8*4096
  76. pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  77. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 194560
  78. 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
  79. PID hash table entries: 4096 (order: 2, 16384 bytes)
  80. Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  81. Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  82. Memory: 512MB 256MB = 768MB total
  83. Memory: 765676k/765676k available, 282900k reserved, 0K highmem
  84. Virtual kernel memory layout:
  85.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  86.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  87.     DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
  88.     vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
  89.     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
  90.     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
  91.     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
  92.       .init : 0x80008000 - 0x8003c000   ( 208 kB)
  93.       .text : 0x8003c000 - 0x80aa5e80   (10664 kB)
  94.       .data : 0x80aa6000 - 0x80b085c0   ( 394 kB)
  95.        .bss : 0x80b085e4 - 0x80b5737c   ( 316 kB)
  96. SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  97. Preemptible hierarchical RCU implementation.
  98. NR_IRQS:624
  99. MXC GPIO hardware
  100. sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
  101. arm_max_freq=800MHz
  102. MXC_Early serial console at MMIO 0x2020000 (options '115200')
  103. bootconsole [ttymxc0] enabled
  104. Console: colour dummy device 80x30
  105. Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
  106. pid_max: default: 32768 minimum: 301
  107. Mount-cache hash table entries: 512
  108. CPU: Testing write buffer coherency: ok
  109. hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
  110. CPU1: Booted secondary processor
  111. CPU2: Booted secondary processor
  112. CPU3: Booted secondary processor
  113. Brought up 4 CPUs
  114. SMP: Total of 4 processors activated (6324.22 BogoMIPS).
  115. print_constraints: dummy:
  116. NET: Registered protocol family 16
  117. print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
  118. print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
  119. print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
  120. print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
  121. print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
  122. print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
  123. hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
  124. hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
  125. hw-breakpoint: maximum watchpoint size is 4 bytes.
  126. L310 cache controller enabled
  127. l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B
  128. bio: create slab <bio-0> at 0
  129. mxs-dma mxs-dma-apbh: initialized
  130. print_constraints: vmmc: 3300 mV
  131. SCSI subsystem initialized
  132. libata version 3.00 loaded.
  133. spi_imx imx6q-ecspi.1: probed
  134. usbcore: registered new inte**ce driver usbfs
  135. usbcore: registered new inte**ce driver hub
  136. usbcore: registered new device driver usb
  137. Freescale USB OTG Driver loaded, $Revision: 1.55 $
  138. i2c-gpio i2c-gpio.3: using pins 35 (SDA) and 169 (SCL)
  139. mc_pfuze 1-0008: ID: 0,Full lay: 2 ,Metal lay: 1
  140. mc_pfuze 1-0008: FAB: 0 ,FIN: 0
  141. print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV
  142. print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV
  143. print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV
  144. print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV
  145. print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV
  146. print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV
  147. print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV
  148. print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV
  149. print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 1800 mV
  150. print_constraints: PFUZE100_VREFDDR: at 750 mV
  151. print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV
  152. print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV
  153. print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2800 mV
  154. print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV
  155. print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 3000 mV
  156. print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV
  157. imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
  158. imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
  159. mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
  160. mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
  161. MIPI CSI2 driver module loaded
  162. Advanced Linux Sound Architecture Driver Version 1.0.24.
  163. Bluetooth: Core ver 2.16
  164. NET: Registered protocol family 31
  165. Bluetooth: HCI device and connection manager initialized
  166. Bluetooth: HCI socket layer initialized
  167. Bluetooth: L2CAP socket layer initialized
  168. Bluetooth: SCO socket layer initialized
  169. cfg80211: Calling CRDA to update world regulatory domain
  170. i2c-core: driver [max17135] using legacy suspend method
  171. i2c-core: driver [max17135] using legacy resume method
  172. Switching to clocksource mxc_timer1
  173. NET: Registered protocol family 2
  174. IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
  175. TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
  176. TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
  177. TCP: Hash tables configured (established 131072 bind 65536)
  178. TCP reno registered
  179. UDP hash table entries: 512 (order: 2, 16384 bytes)
  180. UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
  181. NET: Registered protocol family 1
  182. RPC: Registered named UNIX socket transport module.
  183. RPC: Registered udp transport module.
  184. RPC: Registered tcp transport module.
  185. RPC: Registered tcp NFSv4.1 backchannel transport module.
  186. PMU: registered new PMU device of type 0
  187. Static Power Management for Freescale i.MX6
  188. wait mode is enabled for i.MX6
  189. cpaddr = c0880000 suspend_iram_base=c091c000
  190. PM driver module loaded
  191. IMX usb wakeup probe
  192. the wakeup pdata is 0xbfd27080
  193. add wake up source irq 75
  194. IMX usb wakeup probe
  195. the wakeup pdata is 0xbfd27300
  196. cpu regulator mode:ldo_bypass
  197. _regulator_get: get() with no identifier
  198. mx6_cpu_regulator_init: failed to get pu regulator
  199. i.MXC CPU frequency driver
  200. JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
  201. msgmni has been set to 1495
  202. alg: No test for stdrng (krng)
  203. io scheduler noop registered
  204. io scheduler deadline registered
  205. io scheduler cfq registered (default)
  206. mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed
  207. MIPI DSI driver module loaded
  208. mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver lcd
  209. Console: switching to colour frame buffer device 100x30
  210. mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi
  211. mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
  212. fbcvt: 1920x1080@60: CVT Name - 2.073M9
  213. mxc_sdc_fb mxc_sdc_fb.2: Can't get fb option for mxcfb2!
  214. mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver mipi_dsi
  215. imx-sdma imx-sdma: loaded firmware 1.1
  216. imx-sdma imx-sdma: initialized
  217. Serial: IMX driver
  218. imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
  219. console [ttymxc0] enabled, bootconsole disabled
  220. console [ttymxc0] enabled, bootconsole disabled
  221. imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
  222. imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
  223. imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
  224. imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
  225. loop: module loaded
  226. No sata disk.
  227. GPMI NAND driver registered. (IMX)
  228. vcan: Virtual CAN inte**ce driver
  229. CAN device driver inte**ce
  230. mcp251x spi1.0: MCP251x didn't enter in conf mode after reset
  231. mcp251x spi1.0: Probe failed
  232. mcp251x spi1.0: probe failed
  233. flexcan netdevice driver
  234. flexcan imx6q-flexcan.0: device registered (reg_base=c0a50000, irq=142)
  235. FEC Ethernet Driver
  236. fec_enet_mii_bus: probed
  237. PPP generic driver version 2.4.2
  238. PPP Deflate Compression module registered
  239. PPP BSD Compression module registered
  240. PPP MPPE Compression module registered
  241. NET: Registered protocol family 24
  242. usbcore: registered new inte**ce driver asix
  243. usbcore: registered new inte**ce driver cdc_ether
  244. usbcore: registered new inte**ce driver net1080
  245. usbcore: registered new inte**ce driver cdc_subset
  246. usbcore: registered new inte**ce driver zaurus
  247. cdc_ncm: 04-Aug-2011
  248. usbcore: registered new inte**ce driver cdc_ncm
  249. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  250. fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
  251. fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
  252. fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
  253. fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
  254. hub 1-0:1.0: USB hub found
  255. hub 1-0:1.0: 1 port detected
  256. add wake up source irq 72
  257. fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
  258. fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
  259. fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
  260. fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
  261. hub 2-0:1.0: USB hub found
  262. hub 2-0:1.0: 1 port detected
  263. Initializing USB Mass Storage driver...
  264. usbcore: registered new inte**ce driver usb-storage
  265. USB Mass Storage support registered.
  266. usbcore: registered new inte**ce driver usbserial
  267. usbserial: USB Serial Driver core
  268. USB Serial support registered for GSM modem (1-port)
  269. usbcore: registered new inte**ce driver option
  270. option: v0.7.2:USB Driver for GSM modems
  271. USB Serial support registered for pl2303
  272. usbcore: registered new inte**ce driver pl2303
  273. pl2303: Prolific PL2303 USB to serial adaptor driver
  274. ARC USBOTG Device Controller driver (1 August 2005)
  275. mousedev: PS/2 mouse device common for all mice
  276. input: gpio-keys as /devices/platform/gpio-keys/input/input0
  277. input: ft5x0x_ts as /devices/platform/imx-i2c.2/i2c-2/2-0038/input/input1
  278. ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
  279. ft5x0x_ts 2-0038: report rate = 0Hz
  280. ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
  281. ft5x0x_ts 2-0038: threshold read failed
  282. ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
  283. ft5x0x_ts 2-0038: ft5x06_ts_interrupt: read data fail
  284. ft5x0x_ts 2-0038: ft5x06_i2c_read: i2c read error.
  285. ft5x0x_ts 2-0038: ft5x06_ts_interrupt: read data fail
  286. usb 2-1: new high speed USB device number 2 using fsl-ehci
  287. ft5x0x_ts: probe of 2-0038 failed with error -5
  288. input: ft5326_ts as /devices/platform/i2c-gpio.3/i2c-3/3-0038/input/input2
  289. hub 2-1:1.0: USB hub found
  290. hub 2-1:1.0: 4 ports detected
  291. ft5326_ts 3-0038: ft5x06_i2c_read: i2c read error.
  292. ft5326_ts 3-0038: report rate = 0Hz
  293. ft5326_ts 3-0038: ft5x06_i2c_read: i2c read error.
  294. ft5326_ts 3-0038: threshold read failed<<-GTP-INFO->> GTP driver installing...
  295. <<-GTP-INFO->> GTP Driver Version: V2.2<2014/01/14>
  296. <<-GTP-INFO->> GTP Driver Built@03:42:32, Nov 21 2017
  297. <<-GTP-INFO->> GTP I2C Address: 0x5d
  298. <<-GTP-INFO->> Guitar reset
  299. usb 2-1.3: new high speed USB device number 3 using fsl-ehci
  300. <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
  301. <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
  302. <<-GTP-INFO->> Guitar reset
  303. USB Host suspend begins
  304. will suspend roothub and its children
  305. ehci_fsl_bus_suspend begins, DR
  306. ehci_fsl_bus_suspend ends, DR
  307. host suspend ends
  308. <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
  309. <<-GTP-ERROR->> GTP i2c test failed time 1.
  310. <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
  311. <<-GTP-INFO->> Guitar reset
  312. <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
  313. <<-GTP-ERROR->> GTP i2c test failed time 2.
  314. <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
  315. <<-GTP-INFO->> Guitar reset
  316. <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
  317. <<-GTP-ERROR->> GTP i2c test failed time 3.
  318. <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
  319. <<-GTP-INFO->> Guitar reset
  320. <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
  321. <<-GTP-ERROR->> GTP i2c test failed time 4.
  322. <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
  323. <<-GTP-INFO->> Guitar reset
  324. <<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
  325. <<-GTP-ERROR->> GTP i2c test failed time 5.
  326. <<-GTP-ERROR->> I2C communication ERROR!
  327. Goodix-TS: probe of 2-005d failed with error -5
  328. i2c-core: driver [isl29023] using legacy suspend method
  329. i2c-core: driver [isl29023] using legacy resume method
  330. forlinx rx8010_probe
  331. rtc-rx8010 2-0032: Update timer was detected
  332. rtc-rx8010 2-0032: rtc core: registered rx8010 as rtc0
  333. snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc1
  334. i2c /dev entries driver
  335. Linux video capture inte**ce: v2.00
  336. mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
  337. mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
  338. mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
  339. mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
  340. mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
  341. usbcore: registered new inte**ce driver uvcvideo
  342. USB Video Class driver (v1.1.0)
  343. i2c-core: driver [mag3110] using legacy suspend method
  344. i2c-core: driver [mag3110] using legacy resume method
  345. mma8451 0-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!
  346. mma8451: probe of 0-001c failed with error -22
  347. imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
  348. Bluetooth: Virtual HCI driver ver 1.3
  349. Bluetooth: HCI UART driver ver 2.2
  350. Bluetooth: HCIATH3K protocol initialized
  351. Bluetooth: Generic Bluetooth USB driver ver 0.6
  352. usbcore: registered new inte**ce driver btusb
  353. sdhci: Secure Digital Host Controller Inte**ce driver
  354. sdhci: Copyright(c) Pierre Ossman
  355. mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA
  356. mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
  357. mmc2: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
  358. mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
  359. VPU initialized
  360. mxc_asrc registered
  361. Galcore version 4.6.9.6622
  362. Thermal calibration data is 0x5bc52d69
  363. Thermal sensor with ratio = 185
  364. Anatop Thermal registered as thermal_zone0
  365. anatop_thermal_probe: default cooling device is cpufreq!
  366. usbcore: registered new inte**ce driver usbhid
  367. usbhid: USB HID core driver
  368. mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
  369. Cirrus Logic CS42888 ALSA SoC Codec Driver
  370. i2c-core: driver [cs42888] using legacy suspend method
  371. i2c-core: driver [cs42888] using legacy resume method
  372. wm8960-codec 0-001a: No platform data supplied
  373. mmc0: new high speed DDR MMC card at address 0001
  374. mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
  375. mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
  376. mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
  377. mmcblk0: p1
  378. mmcblk0boot1: unknown partition table
  379. mmcblk0boot0: unknown partition table
  380. www.forlinx.com modify wm8960 IC for OK_IMX6X v1.3
  381. asoc: wm8960-hifi <-> imx-ssi.1 mapping ok
  382. input: wm8960-audio HeadPhone Jack as /devices/platform/soc-audio.6/sound/card0/input3
  383. imx_3stack asoc driver
  384. asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
  385. ALSA device list:
  386.   #0: wm8960-audio
  387.   #1: imx-hdmi-soc
  388. NET: Registered protocol family 26
  389. TCP cubic registered
  390. NET: Registered protocol family 17
  391. can: controller area network core (rev 20090105 abi 8)
  392. NET: Registered protocol family 29
  393. can: raw protocol (rev 20090105)
  394. can: broadcast manager protocol (rev 20090105 t)
  395. Bluetooth: RFCOMM TTY layer initialized
  396. Bluetooth: RFCOMM socket layer initialized
  397. Bluetooth: RFCOMM ver 1.11
  398. Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  399. Bluetooth: BNEP filters: protocol multicast
  400. Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
  401. lib80211: common routines for IEEE802.11 drivers
  402. lib80211_crypt: registered algorithm 'NULL'
  403. lib80211_crypt: registered algorithm 'WEP'
  404. lib80211_crypt: registered algorithm 'CCMP'
  405. lib80211_crypt: registered algorithm 'TKIP'
  406. VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
  407. Bus freq driver module loaded
  408. Bus freq driver Enabled
  409. mxc_dvfs_core_probe
  410. DVFS driver module loaded
  411. pwm_id = 0x1

  412. jzw;pwm_backlight_update_status:s_bl_en=1
  413. regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on
  414. regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on
  415. regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on
  416. regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on
  417. rtc-rx8010 2-0032: setting system clock to 2017-11-23 03:14:04 UTC (1511406844)
  418. eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
  419. mmc2: new high speed SDHC card at address aaaa
  420. mmcblk1: mmc2:aaaa SS16G 14.8 GiB
  421. mmcblk1: unknown partition table
  422. usb 2-1.4: new high speed USB device number 4 using fsl-ehci
  423. PHY: 1:01 - Link is Up - 100/Full
  424. 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
  425. option 2-1.4:2.2: GSM modem (1-port) converter detected
  426. usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
  427. Sending DHCP requests .
  428. option 2-1.4:2.3: GSM modem (1-port) converter detected
  429. usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
  430. option 2-1.4:2.4: GSM modem (1-port) converter detected
  431. usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
  432. option 2-1.4:2.5: GSM modem (1-port) converter detected
  433. usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB3
  434. option 2-1.4:2.6: GSM modem (1-port) converter detected
  435. usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB4
  436. ..... timed out!
  437. IP-Config: Retrying forever (NFS root)...
  438. eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
  439. Sending DHCP requests .
  440. PHY: 1:01 - Link is Up - 100/Full
  441. ..... timed out!
  442. IP-Config: Retrying forever (NFS root)...
  443. eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
  444. PHY: 1:01 - Link is Up - 100/Full
  445. Sending DHCP requests ...... timed out!
  446. IP-Config: Retrying forever (NFS root)...
  447. eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
  448. PHY: 1:01 - Link is Up - 100/Full
  449. Sending DHCP requests ...... timed out!
  450. IP-Config: Retrying forever (NFS root)...
  451. eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
  452. PHY: 1:01 - Link is Up - 100/Full
  453. Sending DHCP requests ...... timed out!
  454. IP-Config: Retrying forever (NFS root)...
复制代码










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

回复

使用道具 举报

3

主题

8

帖子

31

积分

i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2017-11-23 11:46:36 | 显示全部楼层
设置的u-boot2009-08环境变量为:
  1. MX6Q SABRESD U-Boot > printenv
  2. bootdelay=3
  3. baudrate=115200
  4. ipaddr=192.168.1.103
  5. serverip=192.168.1.101
  6. netmask=255.255.255.0
  7. loadaddr=0x10800000
  8. rd_loadaddr=(0x1300000)
  9. netdev=eth0
  10. ldb_mode=ldb=sin0
  11. mxcfb0=video=mxcfb0:dev=lcd,AT070-WVGA,if=RGB24,bpp=32
  12. mxcfb1=video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
  13. codec_name=audio_codec=wm8960-24M
  14. calibrate=Y
  15. ethprime=FEC0
  16. splashimage=0x30000000
  17. splashpos=m,m
  18. uboot=u-boot.bin
  19. kernel=uImage
  20. bootargs_base=setenv bootargs console=ttymxc0,115200 ${mxcfb0} ${mxcfb1} ${ldb_mode} ${codec_name} video=mxcfb2:off calibrate=${calibrate}
  21. bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
  22. bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm
  23. bootargs_mmc=setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1 rootwait
  24. bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2900; bootm
  25. wdtenable=disable
  26. ethact=FEC0
  27. ethaddr=00:E0:C0:66:88:99
  28. nfsroot=/nfs_rootfs
  29. bootcmd=run bootcmd_net
  30. stdin=serial
  31. stdout=serial
  32. stderr=serial

  33. Environment size: 1048/8188 bytes
复制代码
点评回复 支持 反对

使用道具 举报

2

主题

3265

帖子

2817

积分

发表于 2017-11-23 11:56:07 | 显示全部楼层
aidaogu 发表于 2017-11-23 11:46
设置的u-boot2009-08环境变量为:

您好:
    http://bbs.witech.com.cn/forum.p ... id=69271&extra=

点评

您好!这是两个问题。我已经恢复了默认的环境变量。在默认环境变量上修改。目前,能从宿主机上下载和加载/tftpboot/目录下的内核到emmc,并能正确解压运行。现在的问题是,为什么不能加载宿主机上/nfs_rootfs文件夹  详情 回复 发表于 2017-11-23 12:27
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

3

主题

8

帖子

31

积分

i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 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不对?一直提示网络加载超时。
点评回复 支持 反对

使用道具 举报

2

主题

3265

帖子

2817

积分

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

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

点评

------------------------------------------------------------------------------------ 按照飞凌要求增加以下在一行的(重点)环境变量: setenv bootargs_nfs setenv bootargs console=ttymxc0,115200 video=m  详情 回复 发表于 2017-11-23 13:37
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

3

主题

8

帖子

31

积分

i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 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

完美解决。谢谢!
点评回复 支持 反对

使用道具 举报

0

主题

2

帖子

15

积分

i.MX6UL通行证

发表于 2018-7-11 18:37:31 | 显示全部楼层
iMX6UL编译生成的只有zImage,而U-Boot中的bootm不支持zImage,该怎么修改bootargs_nfs进行nfs的挂载?
点评回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|飞凌嵌入式 ( 冀ICP备12004394号-1

GMT+8, 2018-9-20 12:30

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表