共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 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |