天嵌 ARM开发社区

 找回密码
 注册
查看: 2053|回复: 2

求助:TQ2440内核启动无法挂载根文件系统

[复制链接]
xuyuefei1988 发表于 2013-3-19 15:35:35 | 显示全部楼层 |阅读模式
本帖最后由 xuyuefei1988 于 2013-3-19 15:39 编辑
  1. 说明:TQ2440的板子,Nand 是256M的
  2. 内核是:linux-2.6.30.4
  3. 用的是:busybox-1.21.0
  4. 生成文件系统的命令是:
  5. mkyaffs2image  /home/xuyuefei/MyLinux/rootfs/    /home/xuyuefei/MyLinux/root_fs.bin
  6. 烧写的u-boot是u-boot-1.1.6_W3520100601.bin
  7. 用提供的内核和文件系统都能起来;
  8. 用自己的内核和提供的文件系统也能起来;
  9. 自己的内核自己的文件系统错误信息下面贴出来了;
  10. 文件系统起不来,也没有出现:“Please press Enter to activate this console. ”
  11. 部分作出的修改如下制作后文件系统大小是90M
  12. Linux version 2.6.30.4-EmbedSky (xuyuefei@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite
  13. 2009q1-203) ) #7 Tue Mar 19 14:39:36 CST 2013
  14. CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
  15. CPU: VIVT data cache, VIVT instruction cache
  16. Machine: SMDK2440
  17. ATAG_INITRD is deprecated; please update your bootloader.
  18. Memory policy: ECC disabled, Data cache writeback
  19. CPU S3C2440A (id 0x32440001)
  20. S3C24XX Clocks, (c) 2004 Simtec Electronics
  21. S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
  22. CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
  23. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  24. Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
  25. NR_IRQS:99
  26. irq: clearing pending ext status 00080000
  27. irq: clearing subpending status 00000003
  28. irq: clearing subpending status 00000002
  29. PID hash table entries: 256 (order: 8, 1024 bytes)
  30. Console: colour dummy device 80x30
  31. console [ttySAC0] enabled
  32. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  33. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  34. Memory: 64MB = 64MB total
  35. Memory: 61096KB available (3148K code, 391K data, 132K init, 0K highmem)
  36. SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  37. Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
  38. Mount-cache hash table entries: 512
  39. CPU: Testing write buffer coherency: ok
  40. net_namespace: 936 bytes
  41. NET: Registered protocol family 16
  42. S3C Power Management, Copyright 2004 Simtec Electronics
  43. S3C2440: Initialising architecture
  44. S3C2440: IRQ Support
  45. S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  46. DMA channel 0 at c4808000, irq 33
  47. DMA channel 1 at c4808040, irq 34
  48. DMA channel 2 at c4808080, irq 35
  49. DMA channel 3 at c48080c0, irq 36
  50. S3C244X: Clock Support, DVS off

  51. bio: create slab <bio-0> at 0
  52. SCSI subsystem initialized
  53. usbcor
  54. e: registered new interface driver usbfs
  55. usbcore: registered new interface driver hub
  56. usbcore: registered new device driver usb
  57. s3c2440-i2c s3c2440-i2c: slave address 0x10
  58. s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
  59. s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
  60. NET: Registered protocol family 2
  61. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  62. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  63. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  64. TCP: Hash tables configured (established 2048 bind 2048)
  65. TCP reno registered
  66. NET: Registered protocol family 1
  67. NetWinder Floating Point Emulator V0.97 (extended precision)
  68. JFFS2 version 2.2. (NAND) (SUMMARY)  \0xc2\0xa9 2001-2006 Red Hat, Inc.
  69. ROMFS MTD (C) 2007 Red Hat, Inc.
  70. yaffs Mar 16 2013 11:14:24 Installing.
  71. msgmni has been set to 119
  72. io scheduler noop registered
  73. io scheduler anticipatory registered (default)
  74. io scheduler deadline registered
  75. io scheduler cfq registered
  76. Console: switching to colour frame buffer device 30x40
  77. fb0: s3c2410fb frame buffer device

  78. lp: driver loaded but no devices found
  79. ppdev: user-space parallel port driver
  80. Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

  81. s3c2440-uart.0: xuyuefei_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
  82. s3c2440-uart.1: xuyuefei_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
  83. s3c2440-uart.2: xuyuefei_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440

  84. brd: module loaded
  85. loop: module loaded
  86. Uniform Multi-Platform E-IDE driver
  87. ide-gd driver 1.18
  88. ide-cd driver 5.
  89. 00
  90. Driver 'sd' needs updating - please use bus_type methods
  91. dm9000 Ethernet Driver, V1.31
  92. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  93. s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
  94. NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
  95. NAND_ECC_NONE selected by board driver. This is not recommended !!
  96. Scanning device for bad blocks
  97. Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
  98. 0x000000000000-0x000000040000 : "uboot"
  99. 0x000000200000-0x000000500000 : "kernel"
  100. 0x000000500000-0x000010000000 : "yaffs2"
  101. usbmon: debugfs is not available
  102. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  103. s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
  104. s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
  105. s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
  106. usb usb1: configuration #1 chosen from 1 choice
  107. hub 1-0:1.0: USB hub found
  108. hub 1-0:1.0: 2 ports detected
  109. usbcore: registered new interface driver libusual
  110. usbcore: registered new interface driver usbserial
  111. USB Serial support registered for generic
  112. usbcore: registered new interface driver usbserial_generic
  113. usbserial: USB Serial Driver core
  114. USB Serial support registered for FTDI USB Serial Device
  115. usbcore: registered new interface driver ftdi_sio
  116. ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
  117. USB Serial support registered for pl2303
  118. usbcore: registered new interface driver pl2303
  119. pl2303: Prolific PL2303 USB to serial adaptor driver
  120. mice: PS/2 mouse device common for all mice
  121. S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
  122. s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
  123. TCP cubic registered
  124. NET: Registered protocol family 17
  125. RPC: Registered udp transport module.
  126. RPC: Registered tcp transport module.
  127. yaffs: dev is 32505858 name is "mtdblock2"
  128. yaffs: passed flags ""
  129. yaffs: Attempting MTD mount on 31.2, "mtdblock2"
  130. yaffs: auto selecting yaffs2
  131. yaffs_read_super: isCheckpointed 0
  132. VFS: Mounted root (yaffs filesystem) on device 31:2.
  133. Freeing init memory: 132K
  134. hwclock: can't open '/dev/misc/rtc': No such file or directory
  135. mac80211: Unknown symbol cfg80211_scan_done
  136. mac80211: Unknown symbol regulatory_hint_11d
  137. mac80211: Unknown sy
  138. mbol cfg80211_wext_giwscan
  139. rt73usb: Unknown symbol crc_itu_t
  140. rt73usb: Unknown symbol rt2x00usb_uninitialize
  141. rt73usb: Unknown symbol rt2x00usb_initialize
  142. rt73usb: Unknown symbol rt2x00mac_bss_info_changed
  143. insmod: cannot insert '/lib/rt73usb.ko': unknown symbol in module, or unknown parameter
  144. initializing s3c2440 camera interface......

  145. s3c2440 camif init done
  146. Loading OV9650 driver.........

  147. OV9650 address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
  148. OV9650 address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
  149. No OV9650 found!!!
  150. ifconfig: SIOCGIFFLAGS: No such device
  151. ifconfig: SIOCSIFHWADDR: No such device
  152. ifconfig: SIOCSIFADDR: No such device
  153. route: SIOCADDRT: Network is unreachable

  154. open device leds: No such file or directory
  155. [01/Jan/1970:00:00:10 +0000] boa: server version Boa/0.94.13
  156. [01/Jan/1970:00:00:10 +0000]
  157. boa: server built Jul 29 2009 at 14:27:34.
  158. [01/Jan/1970:00:00:10 +0000] boa: starting server pid=981, port 80

  159. \0x1b[9;0]\0x1b[?33l\0x1b[?25l\0x00
复制代码


TQ-ZQL 发表于 2013-3-19 17:40:43 | 显示全部楼层

回帖奖励 +5

应该是挂成功了,只是可能文件系统做得不好,报了不小错
回复

使用道具 举报

阳光梦 发表于 2013-5-26 20:56:38 | 显示全部楼层
hhh
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-5-6 20:26 , Processed in 2.035779 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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