uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(67):li1240

快乐虾

http://blog.csdn.net/lights_joy/

lights@hb165.com

  

本文适用于

ADI bf561 DSP

优视BF561EVB开发板

uclinux-2008r1.5-rc3(smp patch)

Visual DSP++ 5.0(update 5)

 

欢迎转载,但请保留作者信息

若您对本文有兴趣,欢迎到http://www.bfin-tools.org/bbs/viewthread.php?tid=19&extra=进行讨论。

 

 

 

有一个错误:

----------------Configuration: uclinux - Debug----------------

Linking...

 

[Error li1240] "./uclinux.ldf":545 The value assigned to LDF symbol '__text' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":546 The value assigned to LDF symbol '_text' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":547 The value assigned to LDF symbol '__stext' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":558 The value assigned to LDF symbol '___sched_text_start' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":560 The value assigned to LDF symbol '___sched_text_end' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":564 The value assigned to LDF symbol '___lock_text_start' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":566 The value assigned to LDF symbol '___lock_text_end' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":588 The value assigned to LDF symbol '___start_rodata' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":594 The value assigned to LDF symbol '___start___param' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":596 The value assigned to LDF symbol '___stop___param' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

[Error li1240] "./uclinux.ldf":598 The value assigned to LDF symbol '___end_rodata' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'

 

FATAL ERROR: exception 'class EWin32Exception' ()cc3089: fatal error: Link failed

从出错的链接符号看,它们都源于LDF文件中定义的一些公共符号。想查一下li1240,居然在help里面没有,在网上也没搜到相关的资料。ADI到底在搞么事??BS!!!

由于这些符号都是用以表示段的起始位置,故此直接将段的绝对地址赋给他们。比如这样的:

               __text = .;

就变成了

               __text = 0x10000;

虽然这种手工方式比较笨,但总算能解决问题,呵呵!

 

1       参考资料

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(63)_NSIG_WORDS_is_unsupported_size(2009-2-11)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(64)__ebss_b_l1(2009-02-12)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(65)B核启动(2009-2-13)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(66)_ebss_l1(2009-02-13)

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌云阁主

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值