QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1455|回复: 4

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

[复制链接]
发表于 2009-5-18 22:55:21 | 显示全部楼层 |阅读模式
使用ARCH=ppc ,碰到的错误
make[4]: *** [arch/ppc/boot/simple/zvmlinux] Error 1
make[3]: *** [simple] Error 2
make[2]: *** [zImage] Error 2
make[1]: *** [_all] Error 2
make: *** [all] Error 2

看了以前的帖子,错误可以忽略,运行结果是
。。。。。。。。
。。。。。。。。。。
not load section .stab: addr = 0x00000000  size = 0x000002f4 .
not load section .PPC.EMB.apuinfo: addr = 0x00000000  size = 0x00000020 .
not load section .stabstr: addr = 0x00000000  size = 0x00000448 .
not load section .comment: addr = 0x00000000  size = 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 编辑 ]
发表于 2009-5-19 08:45:22 | 显示全部楼层
提问请说明你用的软件版本,否则会浪费自己和他人的时间。
回复

使用道具 举报

发表于 2009-5-19 09:24:01 | 显示全部楼层
贴错误信息也要贴对内容
回复

使用道具 举报

 楼主| 发表于 2009-5-19 13:02:18 | 显示全部楼层

不好意思

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

使用道具 举报

 楼主| 发表于 2009-5-19 13:12:20 | 显示全部楼层

这是运行的信息

[root@localhost skyeye-1.2.8_rc1]# ./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 = 0xc0000000  size = 0x001d4000.
load section .rodata: addr = 0xc01d4000  size = 0x00046559.
load section .sdata2: addr = 0xc021a55c  size = 0x00000000.
load section .pci_fixup: addr = 0xc021a55c  size = 0x00000540.
not load section .rio_route: addr = 0xc021aa9c  size = 0x00000000 .
not load section __ksymtab: addr = 0xc021aa9c  size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc021aa9c  size = 0x00000000 .
not load section __ksymtab_unused: addr = 0xc021aa9c  size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0xc021aa9c  size = 0x00000000 .
not load section __ksymtab_gpl_future: addr = 0xc021aa9c  size = 0x00000000 .
not load section __kcrctab: addr = 0xc021aa9c  size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc021aa9c  size = 0x00000000 .
not load section __kcrctab_unused: addr = 0xc021aa9c  size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0xc021aa9c  size = 0x00000000 .
not load section __kcrctab_gpl_future: addr = 0xc021aa9c  size = 0x00000000 .
load section __param: addr = 0xc021aa9c  size = 0x000002e4.
load section __ex_table: addr = 0xc021b000  size = 0x00001210.
load section __bug_table: addr = 0xc021c210  size = 0x00002ad8.
load section .init.text: addr = 0xc021f000  size = 0x0001b5bc.
load section .exit.text: addr = 0xc023a5bc  size = 0x00000a04.
load section .init.data: addr = 0xc023afc0  size = 0x00002794.
load section .init.setup: addr = 0xc023d760  size = 0x00000288.
load section .initcall.init: addr = 0xc023d9e8  size = 0x000001d0.
load section .con_initcall.init: addr = 0xc023dbb8  size = 0x00000008.
not load section .security_initcall.init: addr = 0xc023dbc0  size = 0x00000000 .load section __ftr_fixup: addr = 0xc023dbc0  size = 0x00000060.
load section .init.ramfs: addr = 0xc023e000  size = 0x00000086.
not load section .data.percpu: addr = 0xc023f000  size = 0x00000000 .
load section .machine.desc: addr = 0xc023f000  size = 0x000000cc.
load section .data: addr = 0xc0240000  size = 0x0001757c.
load section .data.init_task: addr = 0xc0258000  size = 0x00002000.
load section .data.page_aligned: addr = 0xc025a000  size = 0x00003000.
load section .data.cacheline_aligned: addr = 0xc025d000  size = 0x000000c0.
not load section __data_nosave: addr = 0xc025e000  size = 0x00000000 .
not load section .bss: addr = 0xc025e000  size = 0x00018718 .
not load section .stab: addr = 0x00000000  size = 0x0000030c .
not load section .PPC.EMB.apuinfo: addr = 0x00000000  size = 0x00000020 .
not load section .stabstr: addr = 0x00000000  size = 0x0000045e .
not load section .comment: addr = 0x00000000  size = 0x00002370 .
not load section .note.GNU-stack: addr = 0x00000000  size = 0x00000000 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0000000 by exec file.
这里停止了
,谢谢各位
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 10:34 , Processed in 0.049456 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表