新手,skyeye上运行uclinux的问题!帮忙看看啊!!
uclinux版本:linux-2.4.24内核 +uClinux-2.4.24-uc0.diff.gz补丁
skyeye版本:
SkyEyeSimulator Ver 0.9.8 withGDB/Insight 5.3 Interface
skyeye.conf :
cpu:arm7tdmi
mach:s3c4510b
mem_bank: map=M, type=R,addr=0x00000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00800000
mem_bank: map=I, type=RW, addr=0x03ff0000, size=0x00010000
arm-elf-gcc:
# arm-elf-gcc -v
Reading specs from /usr/local/lib/gcc-lib/arm-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)
操作系统版本:
Linux rhle-ws3-up6 2.4.21-37.EL #1 Wed Sep 7 13:37:20 EDT 2005 i686 athlon i386 GNU/Linux
运行时出现的状况:
# skyeye linux-2.4.x/linux
***********************************************************************
**** ****
**** SkyEyeSimulator Ver 0.9.8 withGDB/Insight 5.3 Interface ****
**** ****
***********************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(SkyEye) tar sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c4510b, mach_init addr 0x816243c
SKYEYE: use arm7100 mmu ops
Connected to the simulator.
(SkyEye)load
SKYEYE: WARNING: illegal write byte to 0xb7b5 of 0xa9 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7b6 of 0x2 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7b7 of 0xeb @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7b8 of 0xc @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7b9 of 0xa0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7ba of 0x84 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7bb of 0xe5 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7bc of 0x1 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7bd of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7be of 0xa0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7bf of 0xe3 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c0 of 0x8 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c1 of 0x60 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c2 of 0x84 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c3 of 0xe5 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c4 of 0x7 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c5 of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c6 of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c7 of 0xea @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c8 of 0x10 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7c9 of 0x30 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7ca of 0x9f @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7cb of 0xe5 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7cc of 0x1 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7cd of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7ce of 0xa0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7cf of 0xe3 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d0 of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d1 of 0x50 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d2 of 0x83 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d3 of 0xe5 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d4 of 0x3 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d5 of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d6 of 0x0 @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d7 of 0xea @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d8 of 0x1c @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7d9 of 0xbd @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7da of 0xb @ 0x0
SKYEYE: WARNING: illegal write byte to 0xb7db of 0x0 @ 0x0
SKYEYE: WARNING: illegal wr
+Stopped skyeye linux-2.4.x/linux
以上问题是怎么回事呀,我试了好几个版本都这样,S3C44B0也试过,请高手帮忙指点一下!!!!谢谢。 That means you try to write some data to 0x0 , but mem at 0x0 is read-only according to your skyeye.conf.So there is probably something wrong in your linux image or your skyeye.conf . Aha,you are right,thanks!but,when i modify the attribute of memory,some error occured :
# skyeye linux
***********************************************************************
**** ****
**** SkyEyeSimulator Ver 0.9.8 withGDB/Insight 5.3 Interface ****
**** ****
***********************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(SkyEye) tar sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c4510b, mach_init addr 0x816243c
SKYEYE: use arm7100 mmu ops
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xa000 vma 0x8000
Loading section .text, size 0x1ab618 vma 0x12000
Loading section .data, size 0x7bdc vma 0x1be000
Start address 0x8000
Transfer rate: 14585760 bits in <1 sec.
(SkyEye) r
Starting program: /root/uClinux-dist/linux
Linux version 2.4.24-uc0 (root@rhle-ws3-up6) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #2 五 1月 26 22:14:08 CST 2007
Processor: Samsung S3C4510B revision 6
Architecture: SNDS100
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 20.78 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6152KB available (1709K code, 158K data, 40K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Kernel panic: Can't create rootfs
In idle task - not syncing
sim_info called
Program received signal SIGINT, Interrupt.
panic (fmt=0xbd368 "Can't create rootfs") at panic.c:107
107 for(;;) {
(SkyEye)
why????? # more skyeye.conf
#cpu: arm7tdmi
#mach: s3c44b0
#mem_bank: map=M, type=R, addr=0x00000000,size=0x00200000
#mem_bank: map=M, type=RW,addr=0x0c000000,size=0x01000000
#mem_bank: map=I, type=RW,addr=0x01c00000,size=0x00400000
cpu:arm7tdmi
mach:s3c4510b
mem_bank: map=M, type=RW,addr=0x00000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00800000
mem_bank: map=I, type=RW, addr=0x03ff0000, size=0x00010000 Probably your kernel can not find your filesystem.So you should tell kernel where is filesystem. 我试了其他的版本,但也出现以下错误,下面的错误又是怎么产生的?
针对找不文件系统的问题我该怎么做?我已经试了三个2.4版本,都出现这样那样的问题。
Starting program: /root/uClinux-dist/linux
Linux version 2.4.24-uc1 (root@rhle-ws3-up6) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #13 二 1月 30 20:31:40 CST 2007
Processor: Samsung S3C4510B revision 6
Architecture: SNDS100
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 20.78 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6152KB available (1709K code, 158K data, 40K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Kernel panic: Can't create rootfs
In idle task - not syncing
sim_info called
Program received signal SIGINT, Interrupt.
panic (fmt=0xbd3a8 "Can't create rootfs") at panic.c:107
107 for(;;) {
(SkyEye) 有人没?????谁能告诉我一下啊!!!郁闷! 楼主 ,我遇到和你一样的问题了,SKYEYE: WARNING: illegal write byte to 0xb7b5 of 0xa9 @ 0x0
这个错误你是如何解决的? 把type=R属性改为type=RW就没有上面的问题了 谢谢哈
页:
[1]