我该如何编写skyeye.conf
我下载了一个uclinux-dist包,但这个包是基于某个开发板的,它的存储器地址是这样分配的0x00000000开始2Mflash,0x0C000000开始的8MSDRAM,
u-boot启动后将uclinux解压到0xc008000的地方,然后开始执行,我编写了一个skyeye.conf,但执行到
start addr is set to 0xc008000 by exec file....(大概是这样的,看样子内核还没开始运行)时就出错了,请问是怎么回事?
错误的信息如下:
skyeye:warning:illegal write word to 0x80 of 0xea00005e @ 0x0
skyeye:warning:illegal write word to 0x84 of 0xe92d43f0@ 0x0
........
我的skyeye.conf中内存是这样分配的
mem_bank: map=M, type=R, addr=0x00000000,size=0x00200000
mem_bank: map=M, type=RW, addr=0x0C000000,size=0x00800000
更重要的是我编译好的内核bin文件可以下载到板子上正常运行,但ELF格式的linux却不能在skyeye下仿真!!!!
望各位老师指教,谢谢! The better way is you can debug the kernel image by yourself. before run your image , you can set a breakboint at 0xc008000. Then you can step by step to find the rootcause of the problem.
页:
[1]