共4条 1/1
1
跳转至
页
tornado for arm7tdmi 改变大小endian的探讨!
tornado 2.0 for arm7tdmi生成的映象默认为little-endian模式,这让很多初学者吃了不少苦头:系统跑不起来,还以为是哪儿哪儿出问题了。而知道了人又在想:能不能配置生成big-endian模式的呢?我就是其中一个。:)早前就此问过一个朋友,朋友说:“这个,基本上很难!”。昨天我又跑到vxworks新闻组去问了,的确很难,下面就是讨论的内容: 所有留言及回应 Message 1 in thread 寄件者:seasoblue (seasoblue2000@yahoo.com.cn) 主旨:how to change vxworks compile mode from little-endian to big-endian? 新闻群组:comp.os.vxworks View this article only 日期:2002-06-30 23:00:00 PST Hi, all Image for arm7tdmi is default compiled to little-endian mode from Tornado compiler. But I want to use big-endian mode for my target board. After I tried and tried,I failed.I can't find where and how to change! Give me a hand,please! Best Regards Post a follow-up to this message Message 2 in thread 寄件者:Leonid Rosenboim (MY_FIRST_NAME@CONSULTANT.COM) 主旨:Re: how to change vxworks compile mode from little-endian to big-endian? 新闻群组:comp.os.vxworks View this article only 日期:2002-06-30 23:15:51 PST It is relatively easy to instruct the compiler to generate either endian mode, if supported for a given architecture, but the hardware needs to be changed as well for the same engian mode, which sometimes is just a control bit, but sometimes is a harware pin. The hard part though is getting the VxWork slibraries to be compiled, tested and where needed modified for this kind of change. If you are prepared to pay a substantial amount of money WindRiver might do it for you, if possible. "seasoblue"
wrote in message news:e82d8e83.0206302159.4ed27ea@posting.google.com... > Hi, all > Image for arm7tdmi is default compiled to little-endian mode from > Tornado compiler. But I want to use big-endian mode for my target > board. After I tried and tried,I failed.I can't find where and how to > change! Give me a hand,please! > > Best Regards Post a follow-up to this message Message 3 in thread 寄件者:Johan Borkhuis (borkhuis@agere.com) 主旨:Re: how to change vxworks compile mode from little-endian to big-endian? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-01 00:46:06 PST "Leonid Rosenboim"
wrote: > It is relatively easy to instruct the compiler to generate > either endian mode, if supported for a given architecture, > but the hardware needs to be changed as well for the same > engian mode, which sometimes is just a control bit, but sometimes > is a harware pin. It is not only the compiler, but also the libraries that are shipped with Tornado, and you cannot convert them to big endian AFAIK without recompiling the VxWorks source code. For T2.0.1 the libraries are all little endian, for T2.1-ARM I don't know (T2.1-MIPS is supplies in both little and big endian). Groeten, Johan -- o o o o o o o . . . _____________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@agere.com | >(________|__|_[_________]_|__________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === Post a follow-up to this message Message 4 in thread 寄件者:drdiags (drdiags@attbi.com) 主旨:Re: how to change vxworks compile mode from little-endian to big-endian? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-01 06:44:59 PST Hello Seasoblue, For T2.1.1, set the compiler to TOOL=gnube and change the jumper on the board to select Big-Endian. I have done this on the ARM7TDMI for T2.1.1 using the GNU toolchain. Don't remember for T2.0.1 and never used it pre-T2. (see if you have the libARMARCH4gnubevx.a library in your target/lib directory). Note, you will have to rebuild the bootrom and re-enter your bootrom settings. "seasoblue"
wrote in message news:e82d8e83.0206302206.71e36f75@posting.google.com... > Hi,all > Image for arm7tdmi core is default compiled by Tornado to > little-endian mode. > But I want to use big-endian mode for my target board. After I tried > and tried,I failed because I can't find where and how to change config > files! Would Anybody give a hand?? > Best regards Post a follow-up to this message 欢迎各位高高手发言。。。。:)
关键词: tornado arm7tdmi 改变 大小 en
共4条 1/1
1
跳转至
页
回复
有奖活动 | |
---|---|
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
【有奖活动】震撼来袭!这场直播将直击工程师的心灵! | |
“我想要一部加热台”活动,不花钱赢取开发好工具!活动开始了哦 | |
【有奖活动】伙伴们:您的“需求”解决了吗? | |
抽奖了,抽奖了,金升阳医疗电源 |
打赏帖 | |
---|---|
放大↔震荡被打赏50分 | |
【分享评测,赢取加热台】+Telink-泰凌微电子B91点灯篇被打赏20分 | |
【换取手持数字示波器】+DFR0216全彩灯带WS2812示例分享被打赏50分 | |
【换取手持数字示波器】安装雅特力国产IDE-AT32IDE被打赏30分 | |
【换取手持数字示波器】+DFR0654板卡驱动数码管和串口功能分享被打赏50分 | |
【换取手持数字示波器】+DFPlayerMini模块推喇叭示例分享被打赏50分 | |
【换取手持数字示波器】+DFR0868模块开发准备工作分享被打赏30分 | |
【换取手持数字示波器】HMI开发板首秀RTduino被打赏30分 | |
电解电容引发的问题被打赏50分 | |
【换取手持数字示波器】+AT-START-F405之串口通讯被打赏40分 |