Hi Gophers and embedded systems experts

How can I use the latest version of Go, 1.21.5, in picore 
<http://tinycorelinux.net/5.x/armv6/releases/README>, which is the 
raspberry pi port of the lightweight linux OS tinycore 
<http://tinycorelinux.net/>?
Although, the x86_64 version includes 
<http://tinycorelinux.net/14.x/x86_64/tcz/>Go, the picore version doesn't 
<http://tinycorelinux.net/14.x/armv6/tcz/>.

To use Go, could I simply download

https://go.dev/dl/go1.21.5.linux-armv6l.tar.gz

into the picore OS, and simply use Go straightaway?
If not, can anyone share the steps to compile Go from source on picore?

If anyone is curious why we're not using the default raspberry pi OS,
it is because our users often unplug the pi's power abruptly without proper 
shutdown causing sd card corruption and eventually OS boot failures. 
To this end, we also evaluated TinyGo, but there are two issues:
    * TinyGo does not have wifi 
<https://github.com/tinygo-org/tinygo/issues/2947>yet.
    * We need to segment 
<https://ffmpeg.org/ffmpeg-formats.html#segment_002c-stream_005fsegment_002c-ssegment>live
 
stream from a camera, and thus need ffmpeg

Some people in the raspberry pi community recommend Ultibo 
<https://ultibo.org/>for use cases where abrupt power unplugging is 
required.
However, since Ultibo is not Go, I'd preferably rather not use it, as I 
really don't want to code in anything other than Go.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/6d56ad37-e171-4997-bb87-79ec3a42806fn%40googlegroups.com.

Reply via email to