weixin_39628339
weixin_39628339
2021-01-03 13:35

ARM9 Support

I have a cpu that is ARM9 arch. I have having a heck of a time understanding what toolchain I need to use to compile code for ARM9 arch. Does dockcross already compile code for ARM9? If so what option is it? Thanks!

该提问来源于开源项目:dockcross/dockcross

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39628339 weixin_39628339 4月前

    Funny enough the arm 926EJ-S is actually armv5 :) I will try to build again I suspect it will work fine.

    点赞 评论 复制链接分享
  • weixin_39817122 weixin_39817122 4月前

    I write software for L138 ARM9 processors and the toolchain we use is armv5te. Which it does look like dockcross has an armv5 toolchain. Though I can't say if it will work for you.

    Its unusual that whoever you bought the ARM processors from didn't provide a SDK or toolchain...

    On Wed, Nov 15, 2017 at 7:40 AM, Riley wrote:

    I have a cpu that is ARM9 arch. I have having a heck of a time understanding what toolchain I need to use to compile code for ARM9 arch. Does dockcross already compile code for ARM9? If so what option is it? Thanks!

    — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dockcross/dockcross/issues/175, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnkXtg4P3g5pDgwcIc3NjiihHEls5Xsks5s2tvPgaJpZM4Qe3ZD .

    点赞 评论 复制链接分享
  • weixin_39628339 weixin_39628339 4月前

    I am working on writing some code for a no longer supported linux camera. I know the arch but do not how which toolchain to use. This is my first exp with arm9. I have built a bin with armv5 but I get a error when attempting to execute it. I thought it must be the toolchain I used to build it.

    This is the CPU /media/mmc # cat /proc/cpuinfo Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 200.29 Features : swp half fastmult edsp java CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 5

    THanks for the heads up.

    On Wed, Nov 15, 2017 at 10:54 AM, jjcf89 wrote:

    I write software for L138 ARM9 processors and the toolchain we use is armv5te. Which it does look like dockcross has an armv5 toolchain. Though I can't say if it will work for you.

    Its unusual that whoever you bought the ARM processors from didn't provide a SDK or toolchain...

    On Wed, Nov 15, 2017 at 7:40 AM, Riley wrote:

    I have a cpu that is ARM9 arch. I have having a heck of a time understanding what toolchain I need to use to compile code for ARM9 arch. Does dockcross already compile code for ARM9? If so what option is it? Thanks!

    — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dockcross/dockcross/issues/175, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAnkXtg4P3g5pDgwcIc3NjiihHEls5Xsks5s2tvPgaJpZM4Qe3ZD .

    — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dockcross/dockcross/issues/175#issuecomment-344636463, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOJM9qF7Fsdr8T9CwfM57WedmplU5P8ks5s2wksgaJpZM4Qe3ZD .

    点赞 评论 复制链接分享
  • weixin_39817122 weixin_39817122 4月前

    Okay I don't know how to identify who made the processor from that info. Making an assumption here about your error but having the correct architecture for the processor isn't enough if your building applications that use shared libraries. The easy solution would be to build the application statically.

    There might be a way to figure out what version of gcc and libc, etc was used by the original toolchain but i'm not sure off the top of my head.

    On Wed, Nov 15, 2017 at 10:59 AM, Riley wrote:

    I am working on writing some code for a no longer supported linux camera. I know the arch but do not how which toolchain to use. This is my first exp with arm9. I have built a bin with armv5 but I get a error when attempting to execute it. I thought it must be the toolchain I used to build it.

    This is the CPU /media/mmc # cat /proc/cpuinfo Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 200.29 Features : swp half fastmult edsp java CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 5

    THanks for the heads up.

    On Wed, Nov 15, 2017 at 10:54 AM, jjcf89 wrote:

    I write software for L138 ARM9 processors and the toolchain we use is armv5te. Which it does look like dockcross has an armv5 toolchain. Though I can't say if it will work for you.

    Its unusual that whoever you bought the ARM processors from didn't provide a SDK or toolchain...

    On Wed, Nov 15, 2017 at 7:40 AM, Riley wrote:

    I have a cpu that is ARM9 arch. I have having a heck of a time understanding what toolchain I need to use to compile code for ARM9 arch. Does dockcross already compile code for ARM9? If so what option is it? Thanks!

    — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dockcross/dockcross/issues/175, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAnkXtg4P3g5pDgwcIc3NjiihHEls5Xsks5s2tvPgaJpZM4Qe3ZD .

    — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dockcross/dockcross/issues/175# issuecomment-344636463, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAOJM9qF7Fsdr8T9CwfM57WedmplU5P8ks5s2wksgaJpZM4Qe3ZD .

    — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dockcross/dockcross/issues/175#issuecomment-344638251, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnkXu_npgABDqrt8_Bq-JHzpgYo0dTiks5s2wpogaJpZM4Qe3ZD .

    点赞 评论 复制链接分享

相关推荐