天嵌 ARM开发社区

 找回密码
 注册
查看: 4039|回复: 3

郁闷啊,Failed to execute /linuxrc

[复制链接]
nbzwt 发表于 2012-4-29 09:09:23 | 显示全部楼层 |阅读模式
本帖最后由 nbzwt 于 2012-4-29 09:37 编辑

已解决,手册上说256MBNAND要开Hardware ECC,不开就可以了

说明一下,我在移植linux3.3.4到TQ2440上,卡在Failed to execute /linuxrc这一步了,用出厂的2.6.30内核可启动。

完整启动信息
  1. Start Linux ...
  2. Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
  3. Uncompressing Linux... done, booting the kernel.
  4. Booting Linux on physical CPU 0
  5. Linux version 3.3.4-nbzwt (root@nbzwt-x61t) (gcc version 4.4.3 (ctng-1.6.1) ) #6 Sun Apr 29 08:57:55 CST 2012
  6. CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
  7. CPU: VIVT data cache, VIVT instruction cache
  8. Machine: SMDK2440
  9. ATAG_INITRD is deprecated; please update your bootloader.
  10. Memory policy: ECC disabled, Data cache writeback
  11. CPU S3C2440A (id 0x32440001)
  12. S3C24XX Clocks, Copyright 2004 Simtec Electronics
  13. S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
  14. CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
  15. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  16. Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0,115200
  17. PID hash table entries: 256 (order: -2, 1024 bytes)
  18. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  19. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  20. Memory: 64MB = 64MB total
  21. Memory: 60228k/60228k available, 5308k reserved, 0K highmem
  22. Virtual kernel memory layout:
  23.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  24.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  25.     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
  26.     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
  27.     modules : 0xbf000000 - 0xc0000000   (  16 MB)
  28.       .text : 0xc0008000 - 0xc0423700   (4206 kB)
  29.       .init : 0xc0424000 - 0xc0442000   ( 120 kB)
  30.       .data : 0xc0442000 - 0xc04694c0   ( 158 kB)
  31.        .bss : 0xc04694e4 - 0xc0491914   ( 162 kB)
  32. NR_IRQS:85
  33. irq: clearing pending ext status 00080000
  34. irq: clearing subpending status 00000003
  35. irq: clearing subpending status 00000002
  36. Console: colour dummy device 80x30
  37. Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
  38. pid_max: default: 32768 minimum: 301
  39. Mount-cache hash table entries: 512
  40. CPU: Testing write buffer coherency: ok
  41. Setting up static identity map for 0x303245d8 - 0x30324630
  42. gpiochip_add: registered GPIOs 0 to 23 on device: GPIOA
  43. gpiochip_add: registered GPIOs 32 to 47 on device: GPIOB
  44. gpiochip_add: registered GPIOs 64 to 79 on device: GPIOC
  45. gpiochip_add: registered GPIOs 96 to 111 on device: GPIOD
  46. gpiochip_add: registered GPIOs 128 to 143 on device: GPIOE
  47. gpiochip_add: registered GPIOs 160 to 167 on device: GPIOF
  48. gpiochip_add: registered GPIOs 192 to 207 on device: GPIOG
  49. gpiochip_add: registered GPIOs 224 to 234 on device: GPIOH
  50. gpiochip_add: registered GPIOs 256 to 271 on device: GPIOJ
  51. NET: Registered protocol family 16
  52. S3C Power Management, Copyright 2004 Simtec Electronics
  53. S3C2440: Initialising architecture
  54. S3C2440: IRQ Support
  55. S3C244X: Clock Support, DVS off
  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. Advanced Linux Sound Architecture Driver Version 1.0.24.
  62. NET: Registered protocol family 2
  63. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  64. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  65. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  66. TCP: Hash tables configured (established 2048 bind 2048)
  67. TCP reno registered
  68. UDP hash table entries: 256 (order: 0, 4096 bytes)
  69. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  70. NET: Registered protocol family 1
  71. RPC: Registered named UNIX socket transport module.
  72. RPC: Registered udp transport module.
  73. RPC: Registered tcp transport module.
  74. RPC: Registered tcp NFSv4.1 backchannel transport module.
  75. NetWinder Floating Point Emulator V0.97 (extended precision)
  76. JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
  77. ROMFS MTD (C) 2007 Red Hat, Inc.
  78. msgmni has been set to 117
  79. io scheduler noop registered
  80. io scheduler deadline registered
  81. io scheduler cfq registered (default)
  82. Console: switching to colour frame buffer device 30x40
  83. fb0: s3c2410fb frame buffer device
  84. Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  85. s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
  86. console [ttySAC0] enabled
  87. s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
  88. s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
  89. lp: driver loaded but no devices found
  90. ppdev: user-space parallel port driver
  91. brd: module loaded
  92. loop: module loaded
  93. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  94. s3c24xx-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns
  95. s3c24xx-nand s3c2440-nand: NAND hardware ECC
  96. NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
  97. Scanning device for bad blocks
  98. Bad eraseblock 1111 at 0x000008ae0000
  99. Bad eraseblock 1274 at 0x000009f40000
  100. Bad eraseblock 1361 at 0x00000aa20000
  101. Bad eraseblock 1988 at 0x00000f880000
  102. Creating 3 MTD partitions on "NAND":
  103. 0x000000000000-0x000000040000 : "UBoot"
  104. 0x000000200000-0x000000500000 : "Kernel"
  105. 0x000000500000-0x000010000000 : "Yaffs2"
  106. dm9000 Ethernet Driver, V1.31
  107. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  108. s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
  109. s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
  110. s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
  111. hub 1-0:1.0: USB hub found
  112. hub 1-0:1.0: 2 ports detected
  113. usbcore: registered new interface driver libusual
  114. usbcore: registered new interface driver usbserial
  115. USB Serial support registered for generic
  116. usbcore: registered new interface driver usbserial_generic
  117. usbserial: USB Serial Driver core
  118. USB Serial support registered for FTDI USB Serial Device
  119. usbcore: registered new interface driver ftdi_sio
  120. ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
  121. USB Serial support registered for pl2303
  122. usbcore: registered new interface driver pl2303
  123. pl2303: Prolific PL2303 USB to serial adaptor driver
  124. mousedev: PS/2 mouse device common for all mice
  125. S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
  126. s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
  127. ALSA device list:
  128.   No soundcards found.
  129. TCP cubic registered
  130. NET: Registered protocol family 17
  131. drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
  132. end_request: I/O error, dev mtdblock2, sector 256
  133. isofs_fill_super: bread failed, dev=mtdblock2, iso_blknum=64, block=128
  134. yaffs: dev is 32505858 name is "mtdblock2" rw
  135. yaffs: passed flags ""
  136. VFS: Mounted root (yaffs filesystem) on device 31:2.
  137. Freeing init memory: 120K
  138. Failed to execute /linuxrc.  Attempting defaults...
  139. Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
  140. [<c001a33c>] (unwind_backtrace+0x0/0xf4) from [<c0322188>] (panic+0x70/0x1b8)
  141. [<c0322188>] (panic+0x70/0x1b8) from [<c0008724>] (init_post+0x7c/0xcc)
  142. [<c0008724>] (init_post+0x7c/0xcc) from [<c0424288>] (kernel_init+0xe8/0x118)
复制代码


cepoly 发表于 2012-4-29 17:22:02 | 显示全部楼层
先把压缩文件复制到虚拟机linux下 再解压 这样make就没问题了  。。。。
stary 发表于 2012-11-26 10:11:08 | 显示全部楼层
我也遇到同样问题,求解
亚瑟王 发表于 2012-11-26 11:37:43 | 显示全部楼层
stary 发表于 2012-11-26 10:11
我也遇到同样问题,求解

亲,你是怎么做的呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-8 21:23 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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