<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
快乐虾
http://blog.youkuaiyun.com/lights_joy/
lights@hb165.com
本文适用于
ADI bf561 DSP
uclinux-2008r1.5-rc3
Visual DSP++ 5.0(update 5)
欢迎转载,但请保留作者信息
在编译head.s时有一个语法错误:
[Error pp0051] "../linux-2.6.x/include\linux/linkage.h":4 Failed to open '#include' file 'asm/linkage.h'
在linux-2.6.x/include目录下,每一个不同的arch都有一个独立的目录,blackfin对应的目录就是asm-blackfin,同时在include目录下建立了一个名为asm的软链接,但是在windows下并不支持软链接,因此直接将asm-blackfin目录改名为asm。
还有一个相似的错误:
[Error pp0051] "..\linux-2.6.x\include\asm/blackfin.h":14 Failed to open '#include' file 'asm/mach/anomaly.h'
和上一个错误类似,在linux-2.6.x/include/asm目录下,每一个不同类型的cpu都有一个独立的目录,如mach-bf561, mach-bf527等等,BF561对应的当然就是mach-bf561这个目录了,同时在include/asm目录下建立了一个名为mach的软链接,在windows下并不支持软链接,因此直接将mach-bf561目录改名为mach。
参考资料
uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(1):前言(<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><chsdate w:st="on" isrocdate="False" islunardate="False" day="12" month="1" year="2009">2009-1-12</chsdate>)
uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(2):代码注释(<chsdate w:st="on" isrocdate="False" islunardate="False" day="12" month="1" year="2009">2009-1-12</chsdate>)
uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(3):vdsp项目创建(<chsdate w:st="on" isrocdate="False" islunardate="False" day="12" month="1" year="2009">2009-1-12</chsdate>)