QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1255|回复: 1

用vivi(bootloader)引导的问题!

[复制链接]
发表于 2005-11-1 18:47:41 | 显示全部楼层 |阅读模式
我在skyeye0.8.8中使用vivi(一种bootloader)加载内核
看样子像是可以启动了,但不知道为什么就莫名其妙地停了。
我的skyconf配置如下:
#skyeye config file sample

cpu:  arm920t
mach: s3c2410x

#physical memory  
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000, file=./vivi-elf   #这里是vivi的文件70KB
mem_bank: map=M, type=RW, addr=0x00004000, size=0x000fc000, file=./zImage #这里是内核印象700KB
mem_bank: map=M, type=RW, addr=0x00100000, size=0x03f00000, file=./root-luuma2.cramfs #CRAMFS的只读文件系统约1.3MB
mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000 #内存

#all peripherals I/O mapping area
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#lcd:type=s3c2410x,mod=gtk
#dbct:state=on

然后执行skyeye
[root@localhost 2.4.18]# skyeye
***********************************************************************
****                                                               ****
****   SkyEye  Simulator Ver 0.8.8 with  GDB/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) target sim
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8162558
nic[0] info: state=0, ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
SKYEYE: use arm920t mmu ops
Loaded ROM ./vivi-elf
Loaded ROM ./zImage
Loaded ROM ./root-luuma2.cramfs
Connected to the simulator.
(SkyEye) run
Starting program:
warning: No executable file specified.
warning: No program loaded.
U  ncompressing Linux................................................. done, booting the kernel.

在这里就停了,不动了,再按ctrl+c出现下面的内容
sim_info called

Program received signal SIGINT, Interrupt.
No program loaded.
0x3000812c in ?? ()
(SkyEye)

用si继续执行,发现程序反复在0x3000812c和0x30008130之间跳转执行。

不知道“U  ncompressing Linux................................................. done, booting the kernel.”这句是不是表示linux内核在解压。

请各位高手指点一下,我的过程有什么问题吗?
发表于 2005-11-2 12:14:13 | 显示全部楼层
You should set boot option to telll skyeye where begin to execute.maybe like the following:
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000, file=./vivi-elf,boot=yes
Thus skyeye will exeucte vivi-elf after run command.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-3 04:16 , Processed in 0.044744 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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