happynody 发表于 2009-6-9 20:30:16

skyeye 跑 uboot (board mpc8560ads)

敬爱的各位大哥大姐:


skyeye是最新的版本,
编译的时候直接。/configure & make & make install
(make前为了方便 ,我把启动读的initrid改成了u-boot)


u-boot是最新的版本 crosstool:
ls /opt/crosstool/gcc-3.4.3-glibc-2.3.3/powerpc-linux-gnuspe/

什么都ok。
配置文件如下:
# skyeye config file sample
arch: ppc
cpu: e500
mach:mpc8560
mem_bank: map=M, type=RW, addr=0xC0000000, size=0x1000000
#log: logon=0, logfile=./test.log, start=0xC0000000, end=0xB0000000


运行出现下面的错误:
debian:/home/zhangsong/u-boot# skyeye -e u-boot
Your elf file is big endian.
arch: ppc
mach info: name mpc8560, mach_init addr 0x809f030
uart_mod:0, desc_in:, desc_out:, converter:
1 core is initialized.
Load u-boot to 0x2000000...
Loaded RAM   ./u-boot.bin
exec file "u-boot"'s format is elf32-big.
load section .resetvec: addr = 0xfffffffcsize = 0x00000004.
load section .bootpg: addr = 0xfffff000size = 0x00000380.
load section .text: addr = 0xfff80000size = 0x0002046c.
load section .rodata: addr = 0xfffa046csize = 0x00006791.
load section .reloc: addr = 0xfffa6c00size = 0x00001110.
load section .data: addr = 0xfffa7d10size = 0x000007c8.
load section .data.rel.local: addr = 0xfffa84d8size = 0x00000524.
load section .data.rel: addr = 0xfffa89fcsize = 0x00000034.
load section .u_boot_cmd: addr = 0xfffa8a30size = 0x000004c8.
not load section .bss: addr = 0xfffa8f00size = 0x00004d10 .
not load section .sbss: addr = 0xfffadc10size = 0x00000004 .
not load section .PPC.EMB.apuinfo: addr = 0x00000000size = 0x0000001c .
not load section .debug_line: addr = 0x00000000size = 0x0000749e .
not load section .debug_info: addr = 0x00000000size = 0x000568de .
not load section .debug_abbrev: addr = 0x00000000size = 0x000067a5 .
not load section .debug_aranges: addr = 0x00000000size = 0x00000868 .
not load section .debug_frame: addr = 0x00000000size = 0x00003ec4 .
not load section .debug_pubnames: addr = 0x00000000size = 0x00002799 .
not load section .debug_str: addr = 0x00000000size = 0x00007170 .
not load section .note.GNU-stack: addr = 0x00000000size = 0x00000000 .
not load section .comment: addr = 0x00000000size = 0x0000046e .
not load section .debug_ranges: addr = 0x00000000size = 0x00000928 .
call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0xfff80000 by exec file.

此致
敬礼
2009-6-9

happynody 发表于 2009-6-9 22:29:22

不知到为什么 它会把u-boot load到这个地址:Load u-boot to 0x2000000

我看我的flash地址是0xff000000
页: [1]
查看完整版本: skyeye 跑 uboot (board mpc8560ads)