主题 : 移植Android2.1(附获取freerunner 2.1 源码的方法) 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
60楼  发表于: 2010-08-26 16:13
好的,谢谢,试一下,用解压的方式到 SD卡的第二个分区
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
61楼  发表于: 2010-08-26 18:05
版主啊,新问题啊:添加和不添加rootdelay参数 结果内核启动打印出来的错误不一样,是不是我内核配置有问题啊?

1.添加rootdelay的打印出来的命令行参数 linux command line is: "console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc"
2.没添加rootdelay的打印出来的命令行参数 linux command line is: "console=ttySAC0 root=179:2 init=/linuxrc"


Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing Linux....................................................................................................................... done, booting the kernel.
Linux version 2.6.27 (root@lwj-desktop) (gcc version 4.4.0 (GCC) ) #315 PREEMPT Wed Aug 25 16:46:00 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
....
Kernel command line: console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc
irq: clearing subpending status 00000003
......
......
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00060000 : "vivi"
....
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Waiting 3sec before mounting root device...
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = c0004000
[00000004] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.27 #315)
PC is at sleep_on_common+0x60/0x128
LR is at default_wake_function+0x0/0x18
pc : [<c02d7c48>]    lr : [<c003bef0>]    psr: 60000093
sp : c381df30  ip : c381a000  fp : c381df5c
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 7fffffff  r4 : 60000013
r3 : c381c000  r2 : 00000000  r1 : c03a7630  r0 : c381df40
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c000717f  Table: 30004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc381c268)
Stack: (0xc381df30 to 0xc381e000)
df20:                                     c004aa08 00000000 c381a000 c003bef0
....
dfe0: 00000000 00000000 00000000 c381dff8 c0043970 c00083a4 00000000 00000000
Backtrace:
[<c02d7be8>] (sleep_on_common+0x0/0x128) from [<c02d7d44>] (sleep_on+0x18/0x1c)
r5:c001f854 r4:c001f854
[<c02d7d2c>] (sleep_on+0x0/0x1c) from [<c002657c>] (name_to_dev_t+0x3c/0x260)
[<c0026540>] (name_to_dev_t+0x0/0x260) from [<c0009100>] (prepare_namespace+0xac/0x1c0)
r5:c001f854 r4:c001f844
[<c0009054>] (prepare_namespace+0x0/0x1c0) from [<c0008460>] (kernel_init+0xcc/0xf8)
r5:c001e9b0 r4:c03a7600
[<c0008394>] (kernel_init+0x0/0xf8) from [<c0043970>] (do_exit+0x0/0x7e4)
r5:00000000 r4:00000000
Code: e2822001 e5832004 e5902000 e24b001c (e5820004)
---[ end trace 562cf48cf43c7af1 ]---
note: swapper[1] exited with preempt_count 2
Kernel panic - not syncing: Attempted to kill init!

上面打印出栈回溯信息
错误问题大概在sleep_on_common 函数 附近
是内核配置问题吗?

-----------------------------------------------------------------------------------------
2.
命令行里不设rootdelay=3时启动打印的信息出现访问到空指针....
启动后打印的大概信息如下
-----------------------------------------------------------------------------------------
Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "console=ttySAC0 root=179:2 init=/linuxrc"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing Linux....................................................................................................................... done, booting the kernel.
Linux version 2.6.27 (root@lwj-desktop) (gcc version 4.4.0 (GCC) ) #315 PREEMPT Wed Aug 25 16:46:00 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
....
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = c0004000
[00000004] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.27 #315)
PC is at sleep_on_common+0x60/0x128
LR is at default_wake_function+0x0/0x18
pc : [<c02d7c48>]    lr : [<c003bef0>]    psr: 60000093
sp : c381df30  ip : c381a000  fp : c381df5c
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 7fffffff  r4 : 60000013
r3 : c381c000   4  tl4cd8f0 2 0f38bdc:ff 4108900:000bx<142x63(x0x >sc0cc0</: 0
0awr:i
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
62楼  发表于: 2010-08-26 18:09
rtc没配置好吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
63楼  发表于: 2010-08-26 22:21
引用第61楼359853147qq于2010-08-26 18:05发表的  :
版主啊,新问题啊:添加和不添加rootdelay参数 结果内核启动打印出来的错误不一样,是不是我内核配置有问题啊?

1.添加rootdelay的打印出来的命令行参数 linux command line is: "console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc"
2.没添加rootdelay的打印出来的命令行参数 linux command line is: "console=ttySAC0 root=179:2 init=/linuxrc"

.......

看起来这个是shinelk在实现等待SD卡初始化完成时出了一个问题,事实上rootdelay=3就可以实现这一功能。你可以打上附件里的补丁来移除shinelk在内核中的修改部分。
打补丁的步骤如下:
$cd /path/to/android2.1_kernel_mini2440/source/code
$gunzip -dc /path/to/remove_mmc_wait_hack.patch.gz |patch -p1

然后重新制作zImage并下载到开发板上。

另外,我觉得你的SD卡初始化本身似乎就有问题,正常情况下,在"Waiting 3sec before mounting root device..."之后应该会出现检测到的SD卡的信息,我想你最好贴出完整的内核启动信息以方便分析。
[ 此帖被kasim在2010-08-26 22:57重新编辑 ]
附件: remove_mmc_wait_hack.patch.gz (2 K) 下载次数:15
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
64楼  发表于: 2010-08-27 09:32
非常感谢版主的热情支持!!
下面补贴出没打补丁前延时rootdelay=3启动后的信息

b
Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing Linux....................................................................................................................... done, booting the kernel.
Linux version 2.6.27 (root@lwj-desktop) (gcc version 4.4.0 (GCC) ) #315 PREEMPT Wed Aug 25 16:46:00 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
MM: CPU does not support supersection mapping for 0x55000000000 at 0xf0d00000
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60640KB available (3472K code, 613K data, 120K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
NTFS driver 2.1.29 [Flags: R/W DEBUG].
yaffs Aug 25 2010 10:31:46 Installing.
msgmni has been set to 118
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2410fb_set_par!
Console: switching to colour frame buffer device 100x30
fb0: s3c2410fb frame buffer device
adc    initialized
input: buttons as /devices/virtual/input/input0
buttons    initialized
leds    initialized
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
nbd: registered device at major 43
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 08:90:90:90:90:90
eth0: dm9000e at c4804000,c4806004 IRQ 51 MAC: c3b84134 (friendly-arm)
Linux video capture interface: v2.00
Driver 'sd' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00060000 : "vivi"
0x00060000-0x00260000 : "kernel_linux2.6.27"
0x00260000-0x04000000 : "root_yaffs2"
mice: PS/2 mouse device common for all mice
input: s3c2410 TouchScreen as /devices/virtual/input/input1
s3c2410 TouchScreen successfully loaded
UDA1341 audio driver initialized
failed to get memory region resouce
s3c2410-iis: probe of s3c2410-iis.0 failed with error -2
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Waiting 3sec before mounting root device...
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = c0004000
[00000004] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.27 #315)
PC is at sleep_on_common+0x60/0x128
LR is at default_wake_function+0x0/0x18
pc : [<c02d7c48>]    lr : [<c003bef0>]    psr: 60000093
sp : c381df30  ip : c381a000  fp : c381df5c
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 7fffffff  r4 : 60000013
r3 : c381c000  r2 : 00000000  r1 : c03a7630  r0 : c381df40
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c000717f  Table: 30004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc381c268)
Stack: (0xc381df30 to 0xc381e000)
df20:                                     c004aa08 00000000 c381a000 c003bef0
df40: 00000000 00000000 c001f854 c001f854 c381df6c c381df60 c02d7d44 c02d7bf8
df60: c381dfb4 c381df70 c002657c c02d7d3c c381a000 c03ad300 00000000 c001f844
df80: c001e9b0 00000000 c381dfa4 c381df98 c02d8108 c02d8028 c381dfb4 c381dfa8
dfa0: c001f844 c001f854 c381dfd4 c381dfb8 c0009100 c0026550 c381dfd4 c381dfc8
dfc0: c03a7600 c001e9b0 c381dff4 c381dfd8 c0008460 c0009064 00000000 00000001
dfe0: 00000000 00000000 00000000 c381dff8 c0043970 c00083a4 00000000 00000000
Backtrace:
[<c02d7be8>] (sleep_on_common+0x0/0x128) from [<c02d7d44>] (sleep_on+0x18/0x1c)
r5:c001f854 r4:c001f854
[<c02d7d2c>] (sleep_on+0x0/0x1c) from [<c002657c>] (name_to_dev_t+0x3c/0x260)
[<c0026540>] (name_to_dev_t+0x0/0x260) from [<c0009100>] (prepare_namespace+0xac/0x1c0)
r5:c001f854 r4:c001f844
[<c0009054>] (prepare_namespace+0x0/0x1c0) from [<c0008460>] (kernel_init+0xcc/0xf8)
r5:c001e9b0 r4:c03a7600
[<c0008394>] (kernel_init+0x0/0xf8) from [<c0043970>] (do_exit+0x0/0x7e4)
r5:00000000 r4:00000000
Code: e2822001 e5832004 e5902000 e24b001c (e5820004)
---[ end trace 562cf48cf43c7af1 ]---
note: swapper[1] exited with preempt_count 2
Kernel panic - not syncing: Attempted to kill init!
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
65楼  发表于: 2010-08-27 09:47
找不到
android2.1_kernel_mini2440/source/code中 source文件夹
是不是要新建文件夹????
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
66楼  发表于: 2010-08-27 10:10
补丁我打到了kernel下的driver和 init文件下了
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
67楼  发表于: 2010-08-27 10:58
版主,有进展了,但有新问题:
启动不了分区里的文件

Waiting 3sec before mounting root device...
VFS: Cannot open root device "179:2" or unknown-block(179,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00        384 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02      63104 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
我改了一下root=63104:2 也是不行,不知要该什么参数??

Linux..................................................................................................

..................... done, booting the kernel.
Linux version 2.6.27 (root@lwj-desktop) (gcc version 4.4.0 (GCC) ) #321 PREEMPT Fri Aug 27 10:23:30 CST

2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
MM: CPU does not support supersection mapping for 0x55000000000 at 0xf0d00000
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0 root=179:2 rootdelay=3 init=/linuxrc
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60640KB available (3472K code, 613K data, 120K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
NTFS driver 2.1.29 [Flags: R/W DEBUG].
yaffs Aug 25 2010 10:31:46 Installing.
msgmni has been set to 118
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2410fb_set_par!
Console: switching to colour frame buffer device 100x30
fb0: s3c2410fb frame buffer device
adc    initialized
input: buttons as /devices/virtual/input/input0
buttons    initialized
leds    initialized
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
nbd: registered device at major 43
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 08:90:90:90:90:90
eth0: dm9000e at c4804000,c4806004 IRQ 51 MAC: c3b84134 (friendly-arm)
Linux video capture interface: v2.00
Driver 'sd' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00060000 : "vivi"
0x00060000-0x00260000 : "kernel_linux2.6.27"
0x00260000-0x04000000 : "root_yaffs2"
mice: PS/2 mouse device common for all mice
input: s3c2410 TouchScreen as /devices/virtual/input/input1
s3c2410 TouchScreen successfully loaded
UDA1341 audio driver initialized
failed to get memory region resouce
s3c2410-iis: probe of s3c2410-iis.0 failed with error -2
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Waiting 3sec before mounting root device...
VFS: Cannot open root device "179:2" or unknown-block(179,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00        384 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02      63104 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
68楼  发表于: 2010-08-27 11:10
是不是内核配置中file systems 里的配置没配置好?网络上有关这问题的有说是“ ext2文件格式支持没有编译进内核”

尝试修改中....
级别: 侠客
UID: 23322
精华: 0
发帖: 56
金钱: 280 两
威望: 56 点
贡献值: 0 点
综合积分: 112 分
注册时间: 2010-06-17
最后登录: 2010-09-10
69楼  发表于: 2010-08-27 11:38
补充 :drivers/mtd/nand/s3c2410.c 中
改 chip->ecc.mode = NAND_ECC_NONE;