New ports: noos/thumb, linux/thumb

207 views
Skip to first unread message

michalderkacz

unread,
Nov 16, 2019, 6:31:55 PM11/16/19
to golang-dev
I've almost finished porting Go to ARM microcontrollers. The proposed port name is: noos/thumb.

There is also linux/thumb port mainly to run tests but can be used on any ARMv7-A sytem (cgo is not suported). Some tests are still not passed (mainly because of differences between memory address and call address in Thumb mode) - help is welcome.

I don't want to upstream it too fast. This is still experiment and I'm ready for long time of maintaining it at a side.

If anyone is interested in this topic, I've just written small introduction here: https://embeddedgo.github.io/2019/11/16/go_on_not_so_small_hardware.html (pull requests with spelling corrections are welcome).

Elias Naur

unread,
Nov 17, 2019, 4:15:43 AM11/17/19
to golang-dev
Very interesting. I'd like support for none/amd64 that's viable for eventual upstreaming. I assume your work is a good starting point for that?

Have you seen Tamago, https://twitter.com/AndreaBarisani/status/1187353379401547776? You both use the standard compiler so there might be common ground.

-- elias

michalderkacz

unread,
Nov 17, 2019, 9:30:31 AM11/17/19
to golang-dev
Simply search the patched Go sources for *_noos_thumb.* and try to implement amd64 counterparts.

There are also some changes in other files. See https://github.com/embeddedgo/patch for a complete list. You can also simply search sources for "noos" (much better effect than searching "none").
Reply all
Reply to author
Forward
0 new messages