You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @cbednarski, your precompiled assets work well for the traditional Rpis I have (Rpi 3 & 4), but I get an error when using them with my RPi Zero W. Here's my test script:
Hey @CamDavidsonPilon, thanks for the note. I don't have a Raspberry Pi Zero to test on, but I did some reading online and I found some info.
First, it appears that the Raspberry Pi Zero uses ARMv6 -- this refers to the CPU instructions on the chipset. Second, Go has compiler environment option to target different ARM chips. I didn't specify anything when I compiled so I guess the default is ARMv7, and the error seems to indicate that the program is trying to call a CPU instruction that the Raspberry Pi Zero doesn't have.
You may be able to solve this by compiling from source using the following:
git clone https://github.com/cbednarski/hostess
cd hostess
GOOS=linux GOARCH=arm GOARM=6 go build .
If this resolves the issue for you let me know. I'm also curious whether the ARMv6 builds work on the Raspberry Pi 3 and 4. I would guess so, but I was not even aware of this issue until you brought it up!
Assuming this all works out I can add this env var to the makefile for the next release.
Hi @cbednarski, your precompiled assets work well for the traditional Rpis I have (Rpi 3 & 4), but I get an error when using them with my RPi Zero W. Here's my test script:
errors with
Illegal instruction
.The text was updated successfully, but these errors were encountered: