天嵌 ARM开发社区

 找回密码
 注册
查看: 1609|回复: 0

移植中出现的问题

[复制链接]
飞影 发表于 2013-10-22 11:38:58 | 显示全部楼层 |阅读模式
本帖最后由 飞影 于 2013-10-29 19:07 编辑

本人在按照天嵌的linux移植step by step学习到第12章还没问题,接着第13章,烧写内核和文件系统到开发板,重启开发板后SecureCRT出现以下代码执行不下去。这个问题之前出现过,好像是内核的配置单上出现的问题,文件系统好像是行的,但是我按照教程重新做了两边还是存在这个问题,忘高手能指导一下,谢谢!!!
  1. #####    Boot for Nor Flash Main Menu   #####
  2. #####     EmbedSky USB download mode     #####
  3. [8] Boot the system
  4. Enter your selection: 8
  5. Start Linux ...
  6. Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
  7. Uncompressing Linux......................................................................................................................... done, booting the kernel.
  8. Linux version 2.6.30.4-EmbedSky (root@Zhang) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #5 Mon Oct 21 10:19:23 CST 2013
  9. CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
  10. CPU: VIVT data cache, VIVT instruction cache
  11. Machine: SMDK2440
  12. ATAG_INITRD is deprecated; please update your bootloader.
  13. Memory policy: ECC disabled, Data cache writeback
  14. CPU S3C2440A (id 0x32440001)
  15. S3C24XX Clocks, (c) 2004 Simtec Electronics
  16. S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
  17. CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
  18. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  19. Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
  20. NR_IRQS:85
  21. irq: clearing pending ext status 00080000
  22. irq: clearing subpending status 00000003
  23. irq: clearing subpending status 00000002
  24. PID hash table entries: 256 (order: 8, 1024 bytes)
  25. Console: colour dummy device 80x30
  26. console [ttySAC0] enabled
  27. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  28. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  29. Memory: 64MB = 64MB total
  30. Memory: 60876KB available (3484K code, 364K data, 112K init, 0K highmem)
  31. SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  32. Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
  33. Mount-cache hash table entries: 512
  34. CPU: Testing write buffer coherency: ok
  35. net_namespace: 296 bytes
  36. NET: Registered protocol family 16
  37. ------------[ cut here ]------------
复制代码
。。。中间省略
  1. S3C2440: Initialising architecture
  2. S3C2440: IRQ Support
  3. S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  4. DMA channel 0 at c4808000, irq 33
  5. DMA channel 1 at c4808040, irq 34
  6. DMA channel 2 at c4808080, irq 35
  7. DMA channel 3 at c48080c0, irq 36
  8. S3C244X: Clock Support, DVS off
  9. bio: create slab <bio-0> at 0
  10. SCSI subsystem initialized
  11. usbcore: registered new interface driver usbfs
  12. usbcore: registered new interface driver hub
  13. usbcore: registered new device driver usb
  14. s3c2440-i2c s3c2440-i2c: slave address 0x10
  15. s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
  16. s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
  17. cfg80211: Calling CRDA to update world regulatory domain
  18. NET: Registered protocol family 2
  19. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  20. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  21. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  22. TCP: Hash tables configured (established 2048 bind 2048)
  23. TCP reno registered
  24. NET: Registered protocol family 1
  25. msgmni has been set to 119
  26. alg: No test for stdrng (krng)
  27. io scheduler noop registered (default)
  28. Console: switching to colour frame buffer device 30x20
  29. fb0: s3c2410fb frame buffer device
  30. s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
  31. s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
  32. s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
  33. loop: module loaded
  34. Driver 'sd' needs updating - please use bus_type methods
  35. dm9000 Ethernet Driver, V1.31
  36. Now use the default MAC address:10:23:45:67:89:ab
  37. eth0 (dm9000): not using net_device_ops yet
  38. eth0: dm9000e at c4810000,c4814004 IRQ 51 MAC: 10:23:45:67:89:ab (EmbedSky)
  39. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  40. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  41. s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
  42. s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
  43. s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
  44. usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
  45. usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  46. usb usb1: Product: S3C24XX OHCI
  47. usb usb1: Manufacturer: Linux 2.6.30.4-EmbedSky ohci_hcd
  48. usb usb1: SerialNumber: s3c24xx
  49. usb usb1: configuration #1 chosen from 1 choice
  50. hub 1-0:1.0: USB hub found
  51. hub 1-0:1.0: 2 ports detected
  52. usbcore: registered new interface driver usbserial
  53. usbserial: USB Serial Driver core
  54. USB Serial support registered for pl2303
  55. usbcore: registered new interface driver pl2303
  56. pl2303: Prolific PL2303 USB to serial adaptor driver
  57. s3c2410_udc: debugfs dir creation failed -19
  58. mice: PS/2 mouse device common for all mice
  59. S3C24XX RTC, (c) 2004,2006 Simtec Electronics
  60. Linux video capture interface: v2.00
  61. zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
  62. usbcore: registered new interface driver zc0301
  63. gspca: main v2.5.0 registered
  64. usbcore: registered new interface driver uvcvideo
  65. USB Video Class driver (v0.1.0)
  66. S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
  67. s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
  68. usbcore: registered new interface driver usbhid
  69. usbhid: v2.6:USB HID core driver
  70. Advanced Linux Sound Architecture Driver Version 1.0.20.
  71. No device for DAI UDA134X
  72. No device for DAI s3c24xx-i2s
  73. ALSA device list:
  74.   No soundcards found.
  75. TCP cubic registered
  76. RPC: Registered udp transport module.
  77. RPC: Registered tcp transport module.
  78. lib80211: common routines for IEEE802.11 drivers
  79. drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
  80. Root-NFS: No NFS server available, giving up.
  81. VFS: Unable to mount root fs via NFS, trying floppy.
  82. VFS: Cannot open root device "mtdblock2" or unknown-block(2,0)
  83. Please append a correct "root=" boot option; here are the available partitions:
  84. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
  85. Backtrace:
  86. [<c0028fd4>] (dump_backtrace+0x0/0x10c) from [<c02afb04>] (dump_stack+0x18/0x1c)
  87. r7:c38090db r6:c03b5720 r5:c3809000 r4:c381df40
  88. [<c02afaec>] (dump_stack+0x0/0x1c) from [<c02afb54>] (panic+0x4c/0x124)
  89. [<c02afb08>] (panic+0x0/0x124) from [<c0008e30>] (mount_block_root+0x178/0x234)
  90. r3:00000000 r2:c3831cec r1:c381df40 r0:c0339048
  91. [<c0008cb8>] (mount_block_root+0x0/0x234) from [<c0008f9c>] (mount_root+0xb0/0xf4)
  92. [<c0008eec>] (mount_root+0x0/0xf4) from [<c00090d8>] (prepare_namespace+0xf8/0x18c)
  93. r7:c03b5104 r6:c001e83c r5:c001e83c r4:c001e84c
  94. [<c0008fe0>] (prepare_namespace+0x0/0x18c) from [<c0008478>] (kernel_init+0xc8/0xf4)
  95. r7:00000000 r6:c001d938 r5:c001d5d0 r4:c001d938
  96. [<c00083b0>] (kernel_init+0x0/0xf4) from [<c0039f3c>] (do_exit+0x0/0x620)
  97. r7:00000000 r6:00000000 r5:00000000 r4:00000000
复制代码
后面就一直卡在这里执行不下去,找不到问题出在哪里,希望能人高手指点,谢谢!!


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

本版积分规则

关闭

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

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

GMT+8, 2024-10-6 09:24 , Processed in 1.020443 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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