OK6410编译好内核2.6.36.2后出现的情况
:handshake 自己修改linux-2.6.36.2的源码移植在OK6410上,运行开发板的情况:(其中UBOOT和根文件系统都是飞凌光盘上提供所对应2.6.36.2的)TCP cubic registered
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
s3c6400_setup_sdhci_cfg_card: CTRL 2=c0004120, 3=80808080
s3c-rtc s3c64xx-rtc: setting system clock to 2011-11-13 10:54:35 UTC (1321181675)
VFS: Mounted root (cramfs filesystem) readonly on device 31:2.
devtmpfs: mounted
Freeing init memory: 160K
/etc/rc.d/init.d/netd: line 16: /usr/sbin/inetd: not found
mkdir: cannot create directory '/mnt/disk': File exists
mount: mounting /dev/mtdblock3 on /mnt/disk failed: No such device
Try to bring eth0 interface up......ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFHWADDR: No such device
ifconfig: SIOCSIFADDR: No such device
route: SIOCADDRT: Network is unreachable
Done
Starting Qtopia2, please waiting...
Please press Enter to activate this console. mouse...
cat: can't open '/sys/class/graphics/fb0/virtual_size': No such file or directory
mkdir: cannot create directory '/mnt/disk/QtopiaHome': Read-only file system
mkdir: cannot create directory '/mnt/disk/QtopiaHome/': Read-only file system
cp: cannot create '/mnt/disk/QtopiaHome/Settings/Trolltech/qpe.conf': No such file or directory
mkdir: cannot create directory '/mnt/disk/QtopiaHome/': Read-only file system
ln: /mnt/disk/QtopiaHome/Documents: No such file or directory
ln: /mnt/disk/QtopiaHome/Documents: No such file or directory
ln: /mnt/disk/QtopiaHome/Documents: No such file or directory
无法启动QT,输入Qtopia可以进入liunx
请问各位大侠这出了什么问题?
先谢谢了! 楼主应该是修改了飞凌的文件系统。这些报错都是因为修改过rcS文件导致的。 谢谢版主的答复,因为我只是初步学习,UBOOT和FORLINX_6410_touch.cramfs是采用光盘上提供的,内核是在源码网站上下载后自己更改(还没有进行LCD以及DM9000等驱动的移植),才下载到开发板中,就出现这样的提示(当然直接下载光盘中的DEMO文件是没问题),所以我想请教一下这样的情况是不是我内核配置的问题(配置文件是直接复制光盘源码中的.config)? 使用yaffs2文件系统,就不会有这样的问题了,跟内核关系不大 好的谢谢了我先试试看 我使用yaffs2文件系统出现这样的问题:
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
s3c-rtc s3c64xx-rtc: setting system clock to 2011-11-15 09:53:42 UTC (1321350822)
VFS: Cannot open root device "mtdblock3" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 (driver?)
1f01 5120 mtdblock1 (driver?)
1f02 122880 mtdblock2 (driver?)
1f03 1968128 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[<c0036a8c>] (unwind_backtrace+0x0/0xfc) from [<c048f8ec>] (dump_stack+0x18/0x1c)
[<c048f8ec>] (dump_stack+0x18/0x1c) from [<c048f950>] (panic+0x60/0x1a8)
[<c048f950>] (panic+0x60/0x1a8) from [<c0009168>] (mount_block_root+0x204/0x25c)
[<c0009168>] (mount_block_root+0x204/0x25c) from [<c0009270>] (mount_root+0xb0/0xf4)
[<c0009270>] (mount_root+0xb0/0xf4) from [<c00093c0>] (prepare_namespace+0x10c/0x1a8)
[<c00093c0>] (prepare_namespace+0x10c/0x1a8) from [<c0008670>] (kernel_init+0x11c/0x168)
[<c0008670>] (kernel_init+0x11c/0x168) from [<c0031a7c>] (kernel_thread_exit+0x0/0x8) 前面出现问题是内核没有支持YAFFS2文件,加入支持配置后,重新烧入开发板,又出现新的问题 :
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:3.
devtmpfs: mounted
Freeing init memory: 164K
Unable to handle kernel paging request at virtual address 87cad570
pgd = c0004000
*pgd=00000000
Internal error: Oops: 805 [#1]
last sysfs file:
Modules linked in:
CPU: 0 Not tainted(2.6.36.2 #2)
PC is at s3c_nand_write_page_8bit+0xc0/0xf8
LR is at 0x52
pc : [<c025b5b4>] lr : [<00000052>] psr: 20000013
sp : c7989c50ip : 00000013fp : c7989c7c
r10: c780c000r9 : c0704bf8r8 : 00000000
r7 : 00000068r6 : c7920180r5 : c7920000r4 : 00000052
r3 : c0704d3cr2 : 00000008r1 : c780d200r0 : c04a0370
Flags: nzCvIRQs onFIQs onMode SVC_32ISA ARMSegment kernel
Control: 00c5387dTable: 50004008DAC: 00000017
Process yaffs-bg-1 (pid: 44, stack limit = 0xc7988268)
Stack: (0xc7989c50 to 0xc798a000)
9c40: 00000000 c7920180 c7920000 c7960000
9c60: 0002a300 c7920000 00001000 c7920180 c7989ca4 c7989c80 c0255484 c025b500
9c80: 00000010 c7989d74 00000010 c7989d74 00001000 c7960000 c7989d0c c7989ca8
9ca0: c02564ec c0255440 00000000 00000000 c7989db0 00000000 fffff000 ffffffff
9cc0: 00000000 0002a300 0002a300 0000007f 00000000 00000014 c7989da4 c7960000
9ce0: 00000000 c7989d74 c7920000 2a300000 00000000 c7989d94 00000010 c78f6a00
9d00: c7989d34 c7989d10 c02566dc c02562b0 c7989d74 c06f59cc 07e00000 00000000
9d20: 22500000 00000000 c7989d5c c7989d38 c024fba8 c0256670 c7989d74 c7989d48
9d40: c024fb1c c7989eb8 00001000 c7960000 c7989ddc c7989d60 c01ac984 c024fb28
9d60: c7989d74 c0257dfc c7989db0 00022500 00022580 00000001 00001000 00000000
9d80: 00000010 c7961000 00000000 c7960000 c7989d94 0000144b 000005a3 0000000d
9da0: 00001000 00000000 00000000 00000001 00000000 c7817000 c7989eb8 00022500
9dc0: c7960000 00000001 00000000 00000001 c7989dfc c7989de0 c01ab428 c01ac8ac
9de0: c799a250 00000080 c7817000 00022580 c7989e84 c7989e00 c01a58dc c01ab3b4
9e00: 00000169 00000001 c7989eb8 c7960000 c7989e84 c7989e20 c01ab4f4 c01ac504
9e20: c0047b34 c009cbec 00000000 00000000 c06f00e0 00000000 c7989e8c c7989e48
9e40: c04a3420 c0047b08 00000000 c04a3c08 c7918268 c7988000 c7989e84 c79801f0
9e60: c7998b40 c7817000 00000169 c06f59cc c7960000 0000b480 c7989f2c c7989e88
9e80: c01a6f70 c01a5750 c04a3c08 c04a3088 00000000 c06e7380 b1079a00 00000001
9ea0: 00000000 00000001 00000000 c06e7380 00061280 00000005 aaaaaaaa 00000001
9ec0: 000005a3 0000000d 00001000 00000001 00000000 00000000 00000001 0000144b
9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 55555555
9f00: c7918000 c7817000 00000080 00000c25 ffff8fbd c7817000 c7988000 c7989f58
9f20: c7989f4c c7989f30 c01a7c1c c01a64d8 00000000 ffff8f59 ffff8f54 ffff8fbd
9f40: c7989fbc c7989f50 c01a2894 c01a7bf4 c0047b34 c7956880 00000000 00200200
9f60: ffff8f55 c07487c0 c01a26cc c7918000 ffffffff 00000000 00000000 00000000
9f80: 00000000 00000000 ffffffff 5ba05741 c7989fbc c7825ca8 c7817000 c01a26e0
9fa0: 00000013 00000000 00000000 00000000 c7989ff4 c7989fc0 c0068960 c01a26ec
9fc0: c7825ca8 00000000 c7817000 00000000 c7989fd0 c7989fd0 00000000 c7825ca8
9fe0: c00688d4 c0032a7c 00000000 c7989ff8 c0032a7c c00688e0 00000000 00000000
[<c025b5b4>] (s3c_nand_write_page_8bit+0xc0/0xf8) from [<c0255484>] (nand_write_page+0x50/0xd8)
[<c0255484>] (nand_write_page+0x50/0xd8) from [<c02564ec>] (nand_do_write_ops+0x248/0x3c0)
[<c02564ec>] (nand_do_write_ops+0x248/0x3c0) from [<c02566dc>] (nand_write_oob+0x78/0xec)
[<c02566dc>] (nand_write_oob+0x78/0xec) from [<c024fba8>] (part_write_oob+0x8c/0xc0)
[<c024fba8>] (part_write_oob+0x8c/0xc0) from [<c01ac984>] (nandmtd2_WriteChunkWithTagsToNAND+0xe4/0x138)
[<c01ac984>] (nandmtd2_WriteChunkWithTagsToNAND+0xe4/0x138) from [<c01ab428>] (yaffs_wr_chunk_tags_nand+0x80/0x100)
[<c01ab428>] (yaffs_wr_chunk_tags_nand+0x80/0x100) from [<c01a58dc>] (yaffs_write_new_chunk+0x198/0x534)
[<c01a58dc>] (yaffs_write_new_chunk+0x198/0x534) from [<c01a6f70>] (yaffs_check_gc+0xaa4/0xccc)
[<c01a6f70>] (yaffs_check_gc+0xaa4/0xccc) from [<c01a7c1c>] (yaffs_bg_gc+0x34/0x64)
[<c01a7c1c>] (yaffs_bg_gc+0x34/0x64) from [<c01a2894>] (yaffs_bg_thread_fn+0x1b4/0x214)
[<c01a2894>] (yaffs_bg_thread_fn+0x1b4/0x214) from [<c0068960>] (kthread+0x8c/0x94)
[<c0068960>] (kthread+0x8c/0x94) from [<c0032a7c>] (kernel_thread_exit+0x0/0x8)
Code: e5930004 e596108c e2844001 e1a0e004 (e7c1c000)
---[ end trace cef44c942735fa2f ]---
页:
[1]