hudiejiee 发表于 2009-5-18 22:55:21

请教一下关于MPC8560的交叉编译运行问题

使用ARCH=ppc ,碰到的错误
make: *** Error 1
make: *** Error 2
make: *** Error 2
make: *** Error 2
make: *** Error 2

看了以前的帖子,错误可以忽略,运行结果是
。。。。。。。。
。。。。。。。。。。
not load section .stab: addr = 0x00000000size = 0x000002f4 .
not load section .PPC.EMB.apuinfo: addr = 0x00000000size = 0x00000020 .
not load section .stabstr: addr = 0x00000000size = 0x00000448 .
not load section .comment: addr = 0x00000000size = 0x000025f8 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0000000 by exec file.

依然是停在了这里不知道是什么原因,还请高手们指点一下,谢谢!
另外,我用的initrd.img是testcase里面的,我自己没有,不知道可不可以。

[ 本帖最后由 hudiejiee 于 2009-5-18 22:56 编辑 ]

ksh 发表于 2009-5-19 08:45:22

提问请说明你用的软件版本,否则会浪费自己和他人的时间。

jiangtao9999 发表于 2009-5-19 09:24:01

贴错误信息也要贴对内容

hudiejiee 发表于 2009-5-19 13:02:18

不好意思

我用的是skyeye1.2.8_rc1.用的交叉编译器是crosstool制作的,linux-2.6.22.

hudiejiee 发表于 2009-5-19 13:12:20

这是运行的信息

# ./skyeye -e vmlinux
Your elf file is big endian.
arch: ppc
mach info: name mpc8560, mach_init addr 0x80aa980
uart_mod:0, desc_in:, desc_out:, converter:
1 core is initialized.
Load initrd.img to 0x2000000...
exec file "vmlinux"'s format is elf32-powerpc.
load section .text: addr = 0xc0000000size = 0x001d4000.
load section .rodata: addr = 0xc01d4000size = 0x00046559.
load section .sdata2: addr = 0xc021a55csize = 0x00000000.
load section .pci_fixup: addr = 0xc021a55csize = 0x00000540.
not load section .rio_route: addr = 0xc021aa9csize = 0x00000000 .
not load section __ksymtab: addr = 0xc021aa9csize = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc021aa9csize = 0x00000000 .
not load section __ksymtab_unused: addr = 0xc021aa9csize = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0xc021aa9csize = 0x00000000 .
not load section __ksymtab_gpl_future: addr = 0xc021aa9csize = 0x00000000 .
not load section __kcrctab: addr = 0xc021aa9csize = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc021aa9csize = 0x00000000 .
not load section __kcrctab_unused: addr = 0xc021aa9csize = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0xc021aa9csize = 0x00000000 .
not load section __kcrctab_gpl_future: addr = 0xc021aa9csize = 0x00000000 .
load section __param: addr = 0xc021aa9csize = 0x000002e4.
load section __ex_table: addr = 0xc021b000size = 0x00001210.
load section __bug_table: addr = 0xc021c210size = 0x00002ad8.
load section .init.text: addr = 0xc021f000size = 0x0001b5bc.
load section .exit.text: addr = 0xc023a5bcsize = 0x00000a04.
load section .init.data: addr = 0xc023afc0size = 0x00002794.
load section .init.setup: addr = 0xc023d760size = 0x00000288.
load section .initcall.init: addr = 0xc023d9e8size = 0x000001d0.
load section .con_initcall.init: addr = 0xc023dbb8size = 0x00000008.
not load section .security_initcall.init: addr = 0xc023dbc0size = 0x00000000 .load section __ftr_fixup: addr = 0xc023dbc0size = 0x00000060.
load section .init.ramfs: addr = 0xc023e000size = 0x00000086.
not load section .data.percpu: addr = 0xc023f000size = 0x00000000 .
load section .machine.desc: addr = 0xc023f000size = 0x000000cc.
load section .data: addr = 0xc0240000size = 0x0001757c.
load section .data.init_task: addr = 0xc0258000size = 0x00002000.
load section .data.page_aligned: addr = 0xc025a000size = 0x00003000.
load section .data.cacheline_aligned: addr = 0xc025d000size = 0x000000c0.
not load section __data_nosave: addr = 0xc025e000size = 0x00000000 .
not load section .bss: addr = 0xc025e000size = 0x00018718 .
not load section .stab: addr = 0x00000000size = 0x0000030c .
not load section .PPC.EMB.apuinfo: addr = 0x00000000size = 0x00000020 .
not load section .stabstr: addr = 0x00000000size = 0x0000045e .
not load section .comment: addr = 0x00000000size = 0x00002370 .
not load section .note.GNU-stack: addr = 0x00000000size = 0x00000000 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0000000 by exec file.
这里停止了
,谢谢各位
页: [1]
查看完整版本: 请教一下关于MPC8560的交叉编译运行问题