关于SKYEYE在入口点指令之前做的事情
skyeye模拟AT91平台,当LOAD命令执行后,ELF文件应该被重定位到内存中的各个位置。当RUN命令执行时,为什么PC直接指向0X1000000,而不是0?按照我的理解,SKYEYE应该模拟一个RESET中断,CPU从0地址开始执行,进而跳转到0X1000000。哪位帮我解答一下,谢谢。
还有,AT91平台的0地址处应该是ROM或FLASH吧,这个是片内自带还是外接的呢? Yes if you boot from the naked machine,pc should be set to 0x0. But SkyEye assume your bootloader had run over. So in some degree, skyeye just like your bootloader is to load your linux kernel of elf format. It will set pc to entry point of elf kernel. Yes if you boot from the naked machine,pc should be set to 0x0. But SkyEye assume your bootloader had run over. So in some degree, skyeye just like your bootloader is to load your linux kernel of elf format. It will set pc to entry point of elf kernel.
那可不可以让SKYEYE从0地址开始执行呢?
页:
[1]