QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7804|回复: 20

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

[复制链接]
发表于 2004-8-29 21:34:34 | 显示全部楼层 |阅读模式
我对 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


怎么办?
 楼主| 发表于 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是存在的
回复

使用道具 举报

 楼主| 发表于 2004-8-29 23:14:24 | 显示全部楼层
把,boot=yes去掉后可以启动但是还是在加载fs时出错。
谁能告诉我?
回复

使用道具 举报

 楼主| 发表于 2004-8-29 23:35:40 | 显示全部楼层
三问:
1。uClinux是没有MMU的,所以只能flat而不能elf,可为什么我们编译出elf就直接用了?
2。配置uClinux时,选择atmel/at91和GDB/ARMulator有什么区别? 反正都模拟了为什么配置里面还有GDB/ARMulator选项??? 我是选择at91配置
回复

使用道具 举报

 楼主| 发表于 2004-8-30 09:36:21 | 显示全部楼层
四问:怎么卸载老版本的skyeye来安装新版本
回复

使用道具 举报

 楼主| 发表于 2004-9-1 10:29:52 | 显示全部楼层
怎么没有人回答也变精华阿? uclinux编译选择GDB/ARMulator就可以在skyeye上运行,选择其他的我一个都没有能在skyeye上运行。我觉得.conf写的没错阿
回复

使用道具 举报

发表于 2005-8-28 23:23:05 | 显示全部楼层

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

非常关注。
回复

使用道具 举报

发表于 2005-9-3 13:34:49 | 显示全部楼层
现在我以是这问题啊
回复

使用道具 举报

发表于 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
回复

使用道具 举报

发表于 2005-9-16 20:23:23 | 显示全部楼层
我也是这个问题,装了几个版本的uClinux+skyeye都是一样;
马上是一下。
回复

使用道具 举报

发表于 2005-9-16 20:39:41 | 显示全部楼层
郁闷呀,我还是运行不起.
回复

使用道具 举报

发表于 2005-9-16 21:37:27 | 显示全部楼层
运气有点好,我用了楼主的skyeye.conf;结果就可以了.(我的系统是fc3+skyeye_0.8.8+uClinux-dist-2004040我一连装了n次,都是运行不起,换不同的版本,也不行.没想到是skyeye.conf没有配制好.
回复

使用道具 举报

发表于 2005-12-23 18:35:29 | 显示全部楼层
我用20040408的源代码,运行4510b ,在skyeye的时候run 死机!!!
回复

使用道具 举报

发表于 2006-5-7 21:30:23 | 显示全部楼层
我的也是到run后就不行了,大概也是make romfs时出错。
差点就跑起来了。不知什么原因。
***************************************************************
****                                                       ****
****   SkyEye  Simulator Ver 0.8.6 with  GDB 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 [VIRTUAL 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.
回复

使用道具 举报

发表于 2006-8-23 21:14:57 | 显示全部楼层
我发现了一个问题,只要是关于这个问题的帖子一概没人回答.
是太难还是太麻烦,还是什么别的原因,这确实是捆饶很多人的很棘手的问题,希望版主能够指点一下,我也是遇到了这个问题,一连好多天都无法解决.
skyeye.conf文件到底是为什么那么编写?是由内核中的哪些信息决定的?十分期待回答.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-11 21:29 , Processed in 0.082436 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表