[Bug]Dominic 发表于 2005-11-1 18:47:41

用vivi(bootloader)引导的问题!

我在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
# skyeye
***********************************************************************
****                                                               ****
****   SkyEyeSimulator Ver 0.8.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) target sim
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8162558
nic 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.
Uncompressing Linux................................................. done, booting the kernel.

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

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

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

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

请各位高手指点一下,我的过程有什么问题吗?

ksh 发表于 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.
页: [1]
查看完整版本: 用vivi(bootloader)引导的问题!