mynetpc 发表于 2004-8-29 21:34:34

为什么停在这里了?【在run后】

我对 skyeye.conf,内容如下:
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=images/romfs.img
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000

在/usr/src/uclinux-dist执行如下命令:
skyeye linux-2.4.x/linux

(skyeye)target sim

(skyeye)load

(skyeye)run

然后就停在 run这里了, 显示Starting program: /root/xxxxx/linux-2.4.x/linux


怎么办?

mynetpc 发表于 2004-8-29 22:52:20

将配置改为这个后
cpu: arm7tdmi
mach: at91

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R,addr=0x01400000, size=0x00400000, file=images/romfs.img,boot=yes
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
在加载romfs时出错,而我编译出来的uClinux/images/romfs.img是存在的

mynetpc 发表于 2004-8-29 23:14:24

把,boot=yes去掉后可以启动但是还是在加载fs时出错。
谁能告诉我?

mynetpc 发表于 2004-8-29 23:35:40

三问:
1。uClinux是没有MMU的,所以只能flat而不能elf,可为什么我们编译出elf就直接用了?
2。配置uClinux时,选择atmel/at91和GDB/ARMulator有什么区别? 反正都模拟了为什么配置里面还有GDB/ARMulator选项??? 我是选择at91配置

mynetpc 发表于 2004-8-30 09:36:21

四问:怎么卸载老版本的skyeye来安装新版本

mynetpc 发表于 2004-9-1 10:29:52

怎么没有人回答也变精华阿? uclinux编译选择GDB/ARMulator就可以在skyeye上运行,选择其他的我一个都没有能在skyeye上运行。我觉得.conf写的没错阿

jamesdcs 发表于 2005-8-28 23:23:05

一个问题都没回答,怎么这帖子也变成精华????!!!

非常关注。

aero_boy 发表于 2005-9-3 13:34:49

现在我以是这问题啊

aero_boy 发表于 2005-9-3 18:55:46

用下面的skyeye.conf终于运行起来了,但用楼主那样的.conf为什么不行呢,斑竹或谁能解释一下吗?

cpu: arm7tdmi

mach: s3c4510b

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00800000
mem_bank: map=I, type=RW, addr=0x03ff0000, size=0x00100000

lin1010 发表于 2005-9-16 20:23:23

我也是这个问题,装了几个版本的uClinux+skyeye都是一样;
马上是一下。

lin1010 发表于 2005-9-16 20:39:41

郁闷呀,我还是运行不起.

lin1010 发表于 2005-9-16 21:37:27

运气有点好,我用了楼主的skyeye.conf;结果就可以了.(我的系统是fc3+skyeye_0.8.8+uClinux-dist-20040408)我一连装了n次,都是运行不起,换不同的版本,也不行.没想到是skyeye.conf没有配制好.

ribiky 发表于 2005-12-23 18:35:29

我用20040408的源代码,运行4510b ,在skyeye的时候run 死机!!!

luhuashenhf 发表于 2006-5-7 21:30:23

我的也是到run后就不行了,大概也是make romfs时出错。
差点就跑起来了。不知什么原因。
***************************************************************
****                                                       ****
****   SkyEyeSimulator Ver 0.8.6 withGDB 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) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x813ef78
SKYEYE: use arm7100 mmu ops
Loaded ROM ./boot.rom
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xa000 vma 0x1000000
Loading section .text, size 0xdca80 vma 0x100a000
Loading section .data, size 0x9ce4 vma 0x10e8000
Start address 0x1000000
Transfer rate: 7879456 bits/sec.
(SkyEye) run
Starting program: /usr/src/uClinux-dist/linux-2.4.x/linux
Linux version 2.4.31-uc0 (root@localhost) (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/)) #7 日 5月 7 20:45:49 CST 2006
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 15.82 BogoMIPS
Memory: 4MB = 4MB total
Memory: 2936KB available (882K code, 180K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 1400000-1402FFF (RO) <ROMFS>
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Kernel panic: No init found.Try passing init= option to kernel.

cuizeshi 发表于 2006-8-23 21:14:57

我发现了一个问题,只要是关于这个问题的帖子一概没人回答.
是太难还是太麻烦,还是什么别的原因,这确实是捆饶很多人的很棘手的问题,希望版主能够指点一下,我也是遇到了这个问题,一连好多天都无法解决.
skyeye.conf文件到底是为什么那么编写?是由内核中的哪些信息决定的?十分期待回答.
页: [1] 2
查看完整版本: 为什么停在这里了?【在run后】