• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : tiny6410移植2.6.39内核问题 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 19229
精华: 0
发帖: 88
金钱: 455 两
威望: 91 点
综合积分: 176 分
注册时间: 2010-04-17
最后登录: 2021-10-20
楼主  发表于: 2011-07-28 11:30

 tiny6410移植2.6.39内核问题

这两天想学学内核的移植,下了最新版的内核2.6.39.3,先修改了makefile里的ARCH =arm和CROSS_COMPILE =arm-linux-,发现/arch/arm/mach-s3c64xx目录下有mach-mini6410.c文件,里面平台时钟已经是12M了,分区表改成了友善的2.6.38里的,设备表我看它自带的已经很齐全了也没改。然后make menuconfig ,load s3c6400_defconfig,仿照友善的2.6.38内核配置文件config_mini6410_n43改了一通,当然里面有一些选项并不完全一样,但是一样的选项我都配置成相同的了。然后make zimage,下载启动得到以下启动信息,希望各位能指点一下,顺便说一下我用的uboot是MLC NAND Flash的u-boot-2011-06-02。
复制代码
  1. Uncompressing Linux... done, booting the kernel.
  2. Initializing cgroup subsys cpu
  3. Linux version 2.6.39.3 (root@localhost.localdomain) (gcc version 4.5.1 (ctng-1.8.1-FA) ) #4 PREEMPT Thu Jul 28 11:07:54 CST 2011
  4. CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
  5. CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
  6. Machine: MINI6410
  7. Memory policy: ECC disabled, Data cache writeback
  8. CPU S3C6410 (id 0x36410101)
  9. S3C24XX Clocks, Copyright 2004 Simtec Electronics
  10. camera: no parent clock specified
  11. S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
  12. S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
  13. mout_apll: source is fout_apll (1), rate is 532000000
  14. mout_epll: source is epll (1), rate is 24000000
  15. mout_mpll: source is mpll (1), rate is 532000000
  16. mmc_bus: source is mout_epll (0), rate is 24000000
  17. mmc_bus: source is mout_epll (0), rate is 24000000
  18. mmc_bus: source is mout_epll (0), rate is 24000000
  19. usb-bus-host: source is clk_48m (0), rate is 48000000
  20. uclk1: source is dout_mpll (1), rate is 66500000
  21. spi-bus: source is mout_epll (0), rate is 24000000
  22. spi-bus: source is mout_epll (0), rate is 24000000
  23. audio-bus: source is mout_epll (0), rate is 24000000
  24. audio-bus: source is mout_epll (0), rate is 24000000
  25. audio-bus: source is mout_epll (0), rate is 24000000
  26. irda-bus: source is mout_epll (0), rate is 24000000
  27. camera: no parent clock specified
  28. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
  29. Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.103:/opt/FriendlyARM/mini6410/linux/rootfs_qtopia_qt4 ip=192.168.1.200:192.168.1.103:192.168.1.1:255.255.255.0:mini6410.arm9.net:eth0:off
  30. PID hash table entries: 1024 (order: 0, 4096 bytes)
  31. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  32. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  33. Memory: 256MB = 256MB total
  34. Memory: 255572k/255572k available, 6572k reserved, 0K highmem
  35. Virtual kernel memory layout:
  36. vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  37. fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
  38. DMA : 0xff600000 - 0xffe00000 ( 8 MB)
  39. vmalloc : 0xd0800000 - 0xf6000000 ( 600 MB)
  40. lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
  41. modules : 0xbf000000 - 0xc0000000 ( 16 MB)
  42. .init : 0xc0008000 - 0xc002a000 ( 136 kB)
  43. .text : 0xc002a000 - 0xc03ceb58 (3731 kB)
  44. .data : 0xc03d0000 - 0xc03f8600 ( 162 kB)
  45. SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  46. Preemptable hierarchical RCU implementation.
  47. NR_IRQS:246
  48. VIC @f6000000: id 0x00041192, vendor 0x41
  49. VIC @f6010000: id 0x00041192, vendor 0x41
  50. Console: colour dummy device 80x30
  51. console [ttySAC0] enabled
  52. Calibrating delay loop... 528.79 BogoMIPS (lpj=2643968)
  53. pid_max: default: 32768 minimum: 301
  54. Mount-cache hash table entries: 512
  55. CPU: Testing write buffer coherency: ok
  56. NET: Registered protocol family 16
  57. MINI6410: Option string mini6410=0
  58. MINI6410: selected LCD display is 480x272
  59. S3C6410: Initialising architecture
  60. bio: create slab <bio-0> at 0
  61. usbcore: registered new interface driver usbfs
  62. usbcore: registered new interface driver hub
  63. usbcore: registered new device driver usb
  64. NET: Registered protocol family 2
  65. IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
  66. TCP established hash table entries: 8192 (order: 4, 65536 bytes)
  67. TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
  68. TCP: Hash tables configured (established 8192 bind 8192)
  69. TCP reno registered
  70. UDP hash table entries: 128 (order: 0, 6144 bytes)
  71. UDP-Lite hash table entries: 128 (order: 0, 6144 bytes)
  72. NET: Registered protocol family 1
  73. RPC: Registered udp transport module.
  74. RPC: Registered tcp transport module.
  75. RPC: Registered tcp NFSv4.1 backchannel transport module.
  76. NetWinder Floating Point Emulator V0.97 (double precision)
  77. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  78. msgmni has been set to 499
  79. io scheduler noop registered (default)
  80. io scheduler cfq registered
  81. start plist test
  82. end plist test
  83. s3c-fb s3c-fb: window 0: fb
  84. s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
  85. s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
  86. s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
  87. s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
  88. loop: module loaded
  89. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  90. s3c24xx-nand s3c6400-nand: Tacls=4, 30ns Twrph0=8 60ns, Twrph1=6 45ns
  91. s3c24xx-nand s3c6400-nand: NAND hardware ECC
  92. NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
  93. No oob scheme defined for oobsize 436
  94. kernel BUG at drivers/mtd/nand/nand_base.c:3271!
  95. Unable to handle kernel NULL pointer dereference at virtual address 00000000
  96. pgd = c0004000
  97. [00000000] *pgd=00000000
  98. Internal error: Oops: 805 [#1] PREEMPT
  99. last sysfs file:
  100. Modules linked in:
  101. CPU: 0 Not tainted (2.6.39.3 #4)
  102. PC is at __bug+0x1c/0x28
  103. LR is at __bug+0x18/0x28
  104. pc : [<c00376d8>] lr : [<c00376d4>] psr: 60000013
  105. sp : cf82ded0 ip : 00003f00 fp : cf85a1f0
  106. r10: 00000000 r9 : 00000001 r8 : c01d9eb8
  107. r7 : 00000000 r6 : cf84e3e0 r5 : cf85a000 r4 : cf85a1f0
  108. r3 : 00000000 r2 : cf82dec4 r1 : c0369e03 r0 : 00000037
  109. Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
  110. Control: 00c5387d Table: 50004008 DAC: 00000017
  111. Process swapper (pid: 1, stack limit = 0xcf82c268)
  112. Stack: (0xcf82ded0 to 0xcf82e000)
  113. dec0: 00002480 c01d4ab0 cf85a000 cfa344e0
  114. dee0: cf84e3e0 c01daa80 00000000 00000003 cf850000 00000000 c03d9358 c03d9358
  115. df00: c03d9358 c03f0510 c03f0510 00000000 00000000 00000000 00000000 c01c5740
  116. df20: c01c572c c01c462c 00000000 c03d9358 c03d938c c03f0510 00000000 c01c473c
  117. df40: c03f0510 cf82df50 c01c46dc c01c3914 cf803c48 cf84f280 c03f0510 c03f0510
  118. df60: cfa34480 c03ed0d0 00000000 c01c3fb0 c038725d c038725d cf82df68 c03f0510
  119. df80: c00223c4 c00355b4 c001a940 00000000 00000000 c01c4c90 00000000 c00222ec
  120. dfa0: c00223c4 c00355b4 c001a940 00000000 00000000 c002a4b8 00000000 c0030000
  121. dfc0: 00000013 000000f5 c03e3e68 c00222ec c00223c4 c00355b4 00000013 00000000
  122. dfe0: 00000000 c000899c 00000000 00000000 c000890c c00355b4 ffffffff ffefffff
  123. [<c00376d8>] (__bug+0x1c/0x28) from [<c01d4ab0>] (nand_scan_tail+0x138/0x5ec)
  124. [<c01d4ab0>] (nand_scan_tail+0x138/0x5ec) from [<c01daa80>] (s3c24xx_nand_probe+0x3c4/0x4f0)
  125. [<c01daa80>] (s3c24xx_nand_probe+0x3c4/0x4f0) from [<c01c5740>] (platform_drv_probe+0x14/0x18)
  126. [<c01c5740>] (platform_drv_probe+0x14/0x18) from [<c01c462c>] (driver_probe_device+0xa8/0x158)
  127. [<c01c462c>] (driver_probe_device+0xa8/0x158) from [<c01c473c>] (__driver_attach+0x60/0x84)
  128. [<c01c473c>] (__driver_attach+0x60/0x84) from [<c01c3914>] (bus_for_each_dev+0x4c/0x78)
  129. [<c01c3914>] (bus_for_each_dev+0x4c/0x78) from [<c01c3fb0>] (bus_add_driver+0xa8/0x224)
  130. [<c01c3fb0>] (bus_add_driver+0xa8/0x224) from [<c01c4c90>] (driver_register+0xa8/0x12c)
  131. [<c01c4c90>] (driver_register+0xa8/0x12c) from [<c002a4b8>] (do_one_initcall+0x9c/0x16c)
  132. [<c002a4b8>] (do_one_initcall+0x9c/0x16c) from [<c000899c>] (kernel_init+0x90/0x13c)
  133. [<c000899c>] (kernel_init+0x90/0x13c) from [<c00355b4>] (kernel_thread_exit+0x0/0x8)
  134. Code: e59f0010 e1a01003 eb0a2f3e e3a03000 (e5833000)
  135. ---[ end trace f3151ebc0449e209 ]---
  136. Kernel panic - not syncing: Attempted to kill init!
  137. [<c00397e0>] (unwind_backtrace+0x0/0xe4) from [<c02c32b4>] (panic+0x58/0x174)
  138. [<c02c32b4>] (panic+0x58/0x174) from [<c004ba4c>] (do_exit+0xac/0x640)
  139. [<c004ba4c>] (do_exit+0xac/0x640) from [<c0037be0>] (die+0x190/0x1c0)
  140. [<c0037be0>] (die+0x190/0x1c0) from [<c003a758>] (__do_kernel_fault+0x64/0x84)
  141. [<c003a758>] (__do_kernel_fault+0x64/0x84) from [<c003a940>] (do_page_fault+0x1c8/0x1e4)
  142. [<c003a940>] (do_page_fault+0x1c8/0x1e4) from [<c002a218>] (do_DataAbort+0x30/0x98)
  143. [<c002a218>] (do_DataAbort+0x30/0x98) from [<c003428c>] (__dabt_svc+0x4c/0x80)
  144. Exception stack(0xcf82de88 to 0xcf82ded0)
  145. de80: 00000037 c0369e03 cf82dec4 00000000 cf85a1f0 cf85a000
  146. dea0: cf84e3e0 00000000 c01d9eb8 00000001 00000000 cf85a1f0 00003f00 cf82ded0
  147. dec0: c00376d4 c00376d8 60000013 ffffffff
  148. [<c003428c>] (__dabt_svc+0x4c/0x80) from [<c00376d8>] (__bug+0x1c/0x28)
  149. [<c00376d8>] (__bug+0x1c/0x28) from [<c01d4ab0>] (nand_scan_tail+0x138/0x5ec)
  150. [<c01d4ab0>] (nand_scan_tail+0x138/0x5ec) from [<c01daa80>] (s3c24xx_nand_probe+0x3c4/0x4f0)
  151. [<c01daa80>] (s3c24xx_nand_probe+0x3c4/0x4f0) from [<c01c5740>] (platform_drv_probe+0x14/0x18)
  152. [<c01c5740>] (platform_drv_probe+0x14/0x18) from [<c01c462c>] (driver_probe_device+0xa8/0x158)
  153. [<c01c462c>] (driver_probe_device+0xa8/0x158) from [<c01c473c>] (__driver_attach+0x60/0x84)
  154. [<c01c473c>] (__driver_attach+0x60/0x84) from [<c01c3914>] (bus_for_each_dev+0x4c/0x78)
  155. [<c01c3914>] (bus_for_each_dev+0x4c/0x78) from [<c01c3fb0>] (bus_add_driver+0xa8/0x224)
  156. [<c01c3fb0>] (bus_add_driver+0xa8/0x224) from [<c01c4c90>] (driver_register+0xa8/0x12c)
  157. [<c01c4c90>] (driver_register+0xa8/0x12c) from [<c002a4b8>] (do_one_initcall+0x9c/0x16c)
  158. [<c002a4b8>] (do_one_initcall+0x9c/0x16c) from [<c000899c>] (kernel_init+0x90/0x13c)
  159. [<c000899c>] (kernel_init+0x90/0x13c) from [<c00355b4>] (kernel_thread_exit+0x0/0x8)
级别: 侠客
UID: 19229
精华: 0
发帖: 88
金钱: 455 两
威望: 91 点
综合积分: 176 分
注册时间: 2010-04-17
最后登录: 2021-10-20
1楼  发表于: 2011-07-28 11:36
关键错误我觉得是90~98行
s3c24xx-nand s3c6400-nand: Tacls=4, 30ns Twrph0=8 60ns, Twrph1=6 45ns
s3c24xx-nand s3c6400-nand: NAND hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
No oob scheme defined for oobsize 436
kernel BUG at drivers/mtd/nand/nand_base.c:3271!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
感觉flash配置不对,初步怀疑是mlc flash的缘故,但要如何修改还望高手指点
级别: 侠客
UID: 19229
精华: 0
发帖: 88
金钱: 455 两
威望: 91 点
综合积分: 176 分
注册时间: 2010-04-17
最后登录: 2021-10-20
2楼  发表于: 2011-07-28 11:39
还有 Tacls=4, 30ns Twrph0=8 60ns, Twrph1=6 45ns
这个值并不是mach-mini6410.c中配置的值,配置的是
static struct s3c2410_platform_nand mini6410_nand_info = {
    .tacls        = 25,
    .twrph0        = 55,
    .twrph1        = 40,
    .nr_sets    = ARRAY_SIZE(mini6410_nand_sets),
    .sets        = mini6410_nand_sets,
};
级别: 侠客
UID: 19229
精华: 0
发帖: 88
金钱: 455 两
威望: 91 点
综合积分: 176 分
注册时间: 2010-04-17
最后登录: 2021-10-20
3楼  发表于: 2011-07-28 11:49
难道是说目前2.6.39内核还不支持mlc flash? nand_isd.c中好像还真是没有大页面的flash,另外在config_mini6410_n43中发现这么一行
CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio" 不知道这个脚本干嘛用的
一路走好,下辈子再也不做程序员
级别: 侠客
UID: 32071
精华: 6
发帖: 38
金钱: 490 两
威望: 98 点
综合积分: 196 分
注册时间: 2010-11-09
最后登录: 2019-10-18
4楼  发表于: 2011-07-28 14:01
scripts/FriendlyARM.cpio 不是脚本,它可以被解压的,nand flash问题,看到你刚才的回复,相信你已经解决了
一路走好,下辈子再也不做程序员
级别: 侠客
UID: 19229
精华: 0
发帖: 88
金钱: 455 两
威望: 91 点
综合积分: 176 分
注册时间: 2010-04-17
最后登录: 2021-10-20
5楼  发表于: 2011-07-28 14:42
恩,nand flash问题已经解决了,已经成功挂载NFS了,只是不知道这个FriendlyARM.cpio 干什么用的
一路走好,下辈子再也不做程序员
级别: 侠客
UID: 32071
精华: 6
发帖: 38
金钱: 490 两
威望: 98 点
综合积分: 196 分
注册时间: 2010-11-09
最后登录: 2019-10-18
6楼  发表于: 2011-07-28 17:01
cpio -idmv < FriendlyARM.cpio 一堆乱七八糟的文件夹,我也不知道做什么的
一路走好,下辈子再也不做程序员
好烦啊!
级别: 新手上路
UID: 44878
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
综合积分: 30 分
注册时间: 2011-04-29
最后登录: 2018-02-08
7楼  发表于: 2011-08-10 14:19
楼主,这问题解决没?kernel BUG at drivers/mtd/nand/nand_base.c:3271! 关键这一句,你把nand_base.c:3271的bug注释掉试下。。
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
8楼  发表于: 2011-09-15 22:07
兄弟,,你这个问题是怎么解决的呢?我也正为这个问题郁闷呢,,,可否指点一下,,我QQ994796397,,,,
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
9楼  发表于: 2011-09-16 08:28
U-Boot 1.1.6 (Apr  6 2011 - 14:17:30) for FriendlyARM MINI6410


CPU:     S3C6410@532MHz
         Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode
)
Board:   MINI6410
DRAM:    256 MB
Flash:   0 kB
NAND:    2048 MB
In:      serial
Out:     serial
Err:     serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x400000, size 0x500000
.....Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.38 (root@localhost.localdomain) (gcc version 4.5.1 (ctng-1.8.1
-FA) ) #1 Fri Sep 16 08:10:05 CST 2011
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: MINI6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
camera: no parent clock specified
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
camera: no parent clock specified
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: init=/linuxrc rootfstype=ubifs root=ubi0:FriendlyARM-root u
bi.mtd=2 console=ttySAC0,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 257168k/257168k available, 4976k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xd0800000 - 0xf6000000   ( 600 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0020000   (  96 kB)
      .text : 0xc0020000 - 0xc02455b4   (2198 kB)
      .data : 0xc0246000 - 0xc0266d80   ( 132 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:246
VIC @f6000000: id 0x00041192, vendor 0x41
VIC @f6010000: id 0x00041192, vendor 0x41
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 530.84 BogoMIPS (lpj=2654208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
MINI6410: Option string mini6410=0
MINI6410: selected LCD display is 480x272
s3c64xx_dma_init: Registering DMA channels
PL080: IRQ 73, at d0808000, channels 0..8
PL080: IRQ 74, at d080c000, channels 8..16
S3C6410: Initialising architecture
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ROMFS MTD (C) 2007 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c-fb s3c-fb: window 0: fb
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
brd: module loaded
loop: module loaded
S3C NAND Driver, (c) 2008 Samsung Electronics
MLC nand initialized, 2011 ported by FriendlyARM
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)

Creating 3 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x000000000000-0x000000400000 : "Bootloader"
0x000000400000-0x000000c00000 : "Kernel"
0x000000c00000-0x000080000000 : "File System"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000
s3c2410-ohci s3c2410-ohci: init err (00000000 0000)
ohci_hcd: can't start s3c24xx
s3c2410-ohci s3c2410-ohci: startup error -75
s3c2410-ohci s3c2410-ohci: USB bus 1 deregistered
s3c2410-ohci: probe of s3c2410-ohci failed with error -75
mousedev: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
i2c /dev entries driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (24000000 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (24000000 Hz)
mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Cannot open root device "ubi0:FriendlyARM-root" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            4096 mtdblock0  (driver?)
1f01            8192 mtdblock1  (driver?)
1f02         2084864 mtdblock2  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c002aadc>] (unwind_backtrace+0x0/0xe4) from [<c01aa80c>] (panic+0x50/0x16c)
[<c01aa80c>] (panic+0x50/0x16c) from [<c0008ea8>] (mount_block_root+0x238/0x288)

[<c0008ea8>] (mount_block_root+0x238/0x288) from [<c00090e0>] (prepare_namespace
+0x88/0x1b4)
[<c00090e0>] (prepare_namespace+0x88/0x1b4) from [<c0008b2c>] (kernel_init+0x108
/0x148)
[<c0008b2c>] (kernel_init+0x108/0x148) from [<c00264e8>] (kernel_thread_exit+0x0
/0x8)


这种情况谁遇到过啊??????
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go