Antique Raspberry Pi

I tried to build a gateway with an IC880A board and an old Raspberry Pi model B, the one with an armv6l architecture.
It doesn’t seems to be supported by the binary packages and compiling it myself lead to a retreat in the battle to golang.

Can it be done by a non go programmer? Or should I simply go with a newer RPi?

Did you try the armv6 binary from the downloads page?

yes. it goes like:

pi@raspberrypi:~ $ arch
armv6l

pi@raspberrypi:~ $ wget https://artifacts.loraserver.io/downloads/lora-gateway-bridge/lora-gateway-bridge_2.6.1_linux_armv6.deb
... some wget chat chat cut ...

pi@raspberrypi:~ $ sudo dpkg -i lora-gateway-bridge_2.6.1_linux_armv6.deb 
dpkg: error processing archive lora-gateway-bridge_2.6.1_linux_armv6.deb (--install):
 package architecture (armel) does not match system (armhf)
Errors were encountered while processing:
 lora-gateway-bridge_2.6.1_linux_armv6.deb

So my RPi, calls it self an armhf but the package expects an armel. I tried the armv7 which actually installed, but failed during the setup with an “Illegal instruction”. Not a big surprise I must say.

So far I have tried a few of my older ones, the one I have powered up right now is a B+

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant	    : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware	    : BCM2835
Revision	    : 0010
Serial		    : 0000000006f993e8

/mogul

It goes the same on a RPi zero:

pi@raspberrypi:~ $ sudo dpkg -i lora-gateway-bridge_2.6.1_linux_armv6.deb 
dpkg: error processing archive lora-gateway-bridge_2.6.1_linux_armv6.deb (--install):
 package architecture (armel) does not match system (armhf)
Errors were encountered while processing:
 lora-gateway-bridge_2.6.1_linux_armv6.deb

pi@raspberrypi:~ $ cat /proc/cpuinfo 
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 997.08
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 900093
Serial		: 00000000e3ba5140

pi@raspberrypi:~ $ arch
armv6l

Raspberry Pi hardware revision are explained over here: https://elinux.org/RPi_HardwareHistory

Out of curiosity I tried the .tar.gz package. lora-gateway-bridge_2.6.1_linux_armv6.tar.gz unpacked to a file which executes just fine. Haven’t had it pass any traffic yet, but at least it runs without Illegal instruction and architecture complaints.

/mogul