`
xiaoer_1982
  • 浏览: 1817018 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

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

阅读更多

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

快乐虾

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

lights@hb165.com

本文适用于

ADI bf561 DSP

优视BF561EVB开发板

uclinux-2008r1.5-rc3

Visual DSP++ 5.0(update 5)

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

在编译head.s时有一错误:

[Error ea5004] "..\linux-2.6.x\arch\blackfin\mach-bf561\head.S":50 Syntax Error in :

.section ".init.text","ax"

syntax error is at or near text '".init.text"'.

Attempting error recovery by ignoring text until the ';'

这个错误指向的语句为:

__INIT

查一下__INIT的定义,在include/linux/init.h中定义了这样一个宏:

#define __INIT .section ".init.text","ax"

VDSP5显然是不支持这样的定义的。

因为希望使用方式1启动,而head.s则是系统的入口,在启动时bf561boot rom必然要将其写入到L10xffa0 0000,所以没有必要将其放到.init.text这个段中。直接在head.s中将

__INIT

这行注释掉。

同时加上以下几行:

.section/DOUBLEANY program;

.file_attr requiredForROMBoot;

.align 2;

参考资料

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(1):前言(<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5移植(2):代码注释(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(3)vdsp项目创建(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(4):目录差异(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(5)'bf561.h'的问题(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(6)CONFIG_BFIN_KERNEL_CLOCK(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(7)CONFIG_MEM_MT48LC16M16A2TG_75(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(8)CONFIG_CLKIN_HZ(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(9)CONFIG_MEM_SIZE(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(10)CONFIG_FLASH_SPEED_BTT(<chsdate w:st="on" year="2009" month="1" day="13" islunardate="False" isrocdate="False">2009-1-13</chsdate>)

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics