天嵌 ARM开发社区

 找回密码
 注册
查看: 2720|回复: 4

root filesystem on NFS

[复制链接]
伏波将军 发表于 2014-7-3 22:31:54 | 显示全部楼层 |阅读模式
大家好,我在使用NFS作为linux根文件系统启动的时候遇到问题,开发板程序运行正常,但是串口无法工作,如下是串口打印出来的信息,之后串口就死掉了
  1. ##### EmbedSky BIOS for SKY2416/TQ2416 #####
  2. This Board: SDRAM is 64MB; LCD display size is: 480 X 272
  3. Press Space key to Download Mode.!
  4. SD:File System init failed!
  5. Start Linux ...

  6. NAND read: device 0 offset 0x300000, size 0x400000
  7. 4194304 bytes read: OK
  8. Boot with zImage

  9. Starting kernel ...

  10. Uncompressing Linux... done, booting the kernel.
  11. Linux version 3.1.0-EmbedSky (root@EmbedSky) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #2 Wed Jun 27 20:07:42 CST 2012
  12. CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
  13. CPU: VIVT data cache, VIVT instruction cache
  14. Machine: TQ2416
  15. Memory policy: ECC disabled, Data cache writeback
  16. CPU S3C2416/S3C2450 (id 0x32450003)
  17. S3C24XX Clocks, Copyright 2004 Simtec Electronics
  18. CPU: MPLL on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHz
  19. CPU: EPLL on 96.000 MHz, usb-bus 48.000 MHz
  20. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  21. Kernel command line: noinitrd init=/linuxrc console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.24:/opt/NFS/root_nfs ip=192.168.1.6:192.168.1.24:192.168.1.6:255.255.255.0:www.embedsky.net:eth0:off
  22. PID hash table entries: 256 (order: -2, 1024 bytes)
  23. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  24. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  25. Memory: 64MB = 64MB total
  26. Memory: 56996k/56996k available, 8540k reserved, 0K highmem
  27. Virtual kernel memory layout:
  28.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  29.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  30.     DMA     : 0xff600000 - 0xffe00000   (   8 MB)
  31.     vmalloc : 0xc4800000 - 0xf6000000   ( 792 MB)
  32.     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
  33.     modules : 0xbf000000 - 0xc0000000   (  16 MB)
  34.       .text : 0xc0008000 - 0xc06fc8e0   (7123 kB)
  35.       .init : 0xc06fd000 - 0xc073f000   ( 264 kB)
  36.       .data : 0xc0740000 - 0xc0784bc0   ( 275 kB)
  37.        .bss : 0xc0784be4 - 0xc07ba34c   ( 214 kB)
  38. NR_IRQS:99
  39. irq: clearing subpending status 00000002
  40. Console: colour dummy device 80x30
  41. Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
  42. pid_max: default: 32768 minimum: 301
  43. Mount-cache hash table entries: 512
  44. CPU: Testing write buffer coherency: ok
  45. NET: Registered protocol family 16
  46. S3C Power Management, Copyright 2004 Simtec Electronics
  47. S3C2416: Initializing architecture
  48. S3C2416: IRQ Support
  49. S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
  50. DMA channel 0 at c4804000, irq 88
  51. DMA channel 1 at c4804100, irq 89
  52. DMA channel 2 at c4804200, irq 90
  53. DMA channel 3 at c4804300, irq 91
  54. DMA channel 4 at c4804400, irq 92
  55. DMA channel 5 at c4804500, irq 93
  56. bio: create slab <bio-0> at 0
  57. SCSI subsystem initialized
  58. usbcore: registered new interface driver usbfs
  59. usbcore: registered new interface driver hub
  60. usbcore: registered new device driver usb
  61. s3c-i2c s3c2410-i2c: slave address 0x10
  62. s3c-i2c s3c2410-i2c: bus frequency set to 65 KHz
  63. s3c-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
  64. Advanced Linux Sound Architecture Driver Version 1.0.24.
  65. cfg80211: Calling CRDA to update world regulatory domain
  66. NET: Registered protocol family 2
  67. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  68. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  69. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  70. TCP: Hash tables configured (established 2048 bind 2048)
  71. TCP reno registered
  72. UDP hash table entries: 256 (order: 0, 4096 bytes)
  73. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  74. NET: Registered protocol family 1
  75. RPC: Registered named UNIX socket transport module.
  76. RPC: Registered udp transport module.
  77. RPC: Registered tcp transport module.
  78. RPC: Registered tcp NFSv4.1 backchannel transport module.
  79. NetWinder Floating Point Emulator V0.97 (extended precision)
  80. s3c-adc s3c24xx-adc: attached adc driver
  81. NTFS driver 2.1.30 [Flags: R/O].
  82. fuse init (API version 7.17)
  83. msgmni has been set to 111
  84. io scheduler noop registered (default)
  85. io scheduler deadline registered
  86. io scheduler cfq registered
  87. Console: switching to colour frame buffer device 120x45
  88. s3c-fb s3c-fb: window 0: fb
  89. s3c-fb s3c-fb: LCD type is T43 480*272, default_bpp=16, pixclock=7
  90. s3c2416-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
  91. console [ttySAC0] enabled
  92. s3c2416-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
  93. s3c2416-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
  94. s3c2416-uart.3: ttySAC3 at MMIO 0x5000c000 (irq = 94) is a S3C2440
  95. led initialized
  96. beep tq2416-beep initialized done...
  97. bkl tq2416-backlight initialized done...
  98. TQ2416 ADC driver
  99. TQ2416 ADC driver successfully probed.
  100. brd: module loaded
  101. loop: module loaded
  102. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  103. info->cpu_type=3, tacls_max=8
  104. s3c24xx-nand s3c2416-nand: Tacls=3, 22ns Twrph0=7 52ns, Twrph1=3 22ns
  105. s3c24xx-nand s3c2416-nand: System booted from NAND
  106. s3c24xx-nand s3c2416-nand: NAND ECC disabled
  107. NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
  108. NAND_ECC_NONE selected by board driver. This is not recommended !!
  109. Scanning device for bad blocks
  110. Bad eraseblock 109 at 0x000000da0000
  111. Bad eraseblock 262 at 0x0000020c0000
  112. Bad eraseblock 674 at 0x000005440000
  113. Bad eraseblock 836 at 0x000006880000
  114. Bad eraseblock 1882 at 0x00000eb40000
  115. Creating 4 MTD partitions on "NAND":
  116. 0x000000000000-0x000000100000 : "Bootloader"
  117. 0x000000100000-0x000000300000 : "LOGO"
  118. 0x000000300000-0x000000700000 : "Kernel"
  119. 0x000000700000-0x000010000000 : "ROOTFS"
  120. PPP generic driver version 2.4.2
  121. PPP Deflate Compression module registered
  122. PPP BSD Compression module registered
  123. PPP MPPE Compression module registered
  124. NET: Registered protocol family 24
  125. dm9000 Ethernet Driver, V1.31
  126. eth%d: Invalid ethernet MAC address. using default config,  Please set using ifconfig
  127. eth0: dm9000b at c480e300,c4810308 IRQ 48 MAC: 10:23:45:67:89:ab (platform data)
  128. usbcore: registered new interface driver zd1211rw
  129. usbcore: registered new interface driver rt2500usb
  130. usbcore: registered new interface driver rt73usb
  131. usbcore: registered new interface driver rt2800usb
  132. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  133. s3c2416-ohci s3c2416-ohci: S3C24XX OHCI
  134. s3c2416-ohci s3c2416-ohci: new USB bus registered, assigned bus number 1
  135. s3c2416-ohci s3c2416-ohci: irq 42, io mem 0x49000000
  136. hub 1-0:1.0: USB hub found
  137. hub 1-0:1.0: 2 ports detected
  138. usbcore: registered new interface driver cdc_acm
  139. cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
  140. usbcore: registered new interface driver usblp
  141. usbcore: registered new interface driver cdc_wdm
  142. usbcore: registered new interface driver uas
  143. Initializing USB Mass Storage driver...
  144. usbcore: registered new interface driver usb-storage
  145. USB Mass Storage support registered.
  146. usbcore: registered new interface driver libusual
  147. usbcore: registered new interface driver usbserial
  148. USB Serial support registered for generic
  149. usbcore: registered new interface driver usbserial_generic
  150. usbserial: USB Serial Driver core
  151. USB Serial support registered for FTDI USB Serial Device
  152. usbcore: registered new interface driver ftdi_sio
  153. ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
  154. USB Serial support registered for navman
  155. usbcore: registered new interface driver navman
  156. USB Serial support registered for GSM modem (1-port)
  157. usbcore: registered new interface driver option
  158. option: v0.7.2:USB Driver for GSM modems
  159. USB Serial support registered for pl2303
  160. usbcore: registered new interface driver pl2303
  161. pl2303: Prolific PL2303 USB to serial adaptor driver
  162. mousedev: PS/2 mouse device common for all mice
  163. input: tq2416-keys as /devices/platform/tq2416-keys/input/input0
  164. s3c2416-ts s3c2416-ts: driver attached, registering input device
  165. input: S3C24XX TouchScreen as /devices/virtual/input/input1
  166. S3C24XX RTC, (c) 2004,2006 Simtec Electronics
  167. s3c-rtc s3c2416-rtc: rtc core: registered s3c as rtc0
  168. i2c /dev entries driver
  169. lirc_dev: IR Remote Control driver registered, major 252
  170. IR NEC protocol handler initialized
  171. IR RC5(x) protocol handler initialized
  172. IR RC6 protocol handler initialized
  173. IR JVC protocol handler initialized
  174. IR Sony protocol handler initialized
  175. IR RC5 (streamzap) protocol handler initialized
  176. IR MCE Keyboard/mouse protocol handler initialized
  177. IR LIRC bridge handler initialized
  178. Linux video capture interface: v2.00
复制代码
 楼主| 伏波将军 发表于 2014-7-3 22:33:02 | 显示全部楼层
求大神解答一下
天嵌_support1 发表于 2014-7-4 09:08:42 | 显示全部楼层
文件系统和内核是不是我们光盘上的?
天嵌_support1 发表于 2014-7-4 09:08:46 | 显示全部楼层
文件系统和内核是不是我们光盘上的?
 楼主| 伏波将军 发表于 2014-7-4 11:41:36 | 显示全部楼层
天嵌_support1 发表于 2014-7-4 09:08
文件系统和内核是不是我们光盘上的?

文件系统是光盘里面的,内核是我自己编译的3.10.4,内核在启动flash里的UBIFS没有问题。串口打印信息还有一部分,昨晚记得贴出来了,不知怎么没了。。。下班回家补上
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-23 15:36 , Processed in 1.046869 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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