打印

skyeye 启动uclinux 错误

skyeye 启动uclinux 错误

编写skyeye的配置文件,新建文件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=./boot.rom
    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

    完成这一步就可以在skyeye中运行我们编译的内核了
    #skyeye -e linux-2.4.x/linux

arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8059f10
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./boot.rom
exec file "linux-2.4.x/linux"'s format is elf32-little.
load section .init: addr = 0x01000000  size = 0x0000a000.
load section .text: addr = 0x0100a000  size = 0x000d8e90.
load section .data: addr = 0x010e4000  size = 0x00009ba4.
not load section .bss: addr = 0x010edbc0  size = 0x00022060 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0003ca29 .
not load section .debug_info: addr = 0x00000000  size = 0x018232c6 .
not load section .debug_line: addr = 0x00000000  size = 0x002cb191 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000c09d .
not load section .debug_aranges: addr = 0x00000000  size = 0x000023f0 .
start addr is set to 0x01000000 by exec file.
卡在这里就不行了  本人是新手望的大家指点 谢谢了
这个过程我是参考http://hi.baidu.com/challengesel ... 9cdcaacaefd02c.html

TOP

注意在配置uClinux时候选择gdb/armulator , 参考
http://skyeye.wiki.sourceforge.net/uClinux#tocuClinux0

TOP

你好,我的也出现了问题,是的 在使用配置为GDB方式时是正确的 ,但是为甚么在非GDB方式下不对呢?

TOP

我的也是卡在那里了。用的是Ubuntu9.10 +skyeye1.2.5+uClinux-dist-20090618   楼主解决了吗?

TOP