NebraLtd / hm-gatewayrs

Light Hotspot (gateway-rs) Container for Helium
MIT License
5 stars 9 forks source link

spike: investigate gateway-rs build to use. #30

Closed pritamghanghas closed 1 year ago

pritamghanghas commented 2 years ago

We are using rasp01.deb from gateway-rs releases. This will work only on raspberry pi boards but not on rock pi. On Rockpi boards, the binary just hangs up.

if we are using pi zero 2 W for light miners. I think, we can just pick up rasp234.deb build which should work on all our current arm boards and close this issue.

Acceptance criteria

shawaj commented 2 years ago

We are using pi zero w. Original one armv6.

So we need to use raspi01 and this works on aarch64 as well

pritamghanghas commented 2 years ago

We are using pi zero w. Original one armv6.

So we need to use raspi01 and this works on aarch64 as well The issue had happend with gateway-mfr-rs and I had pulled that. I will have to recheck it and confirm again which build had cause the issue. The issue might not be valid. Closing this for the time being to avoid any confusion. Will check mfr and raise again if needed.

pritamghanghas commented 2 years ago

@shawaj I checked this again. The build that we have currently in hm-gatewayrs alpha23-raspi01.deb doesn't work on rockpi but raspi234 does work. It just hangs up. Works fine on raspberrys.

helium_gateway binary from helium-gateway-v1.0.0-alpha.23-raspi01.deb doesn't work on rockpi, works fine on pi zero gateway-mfr gateway-mfr-v0.2.1-arm-unknown-linux-gnueabihf.tar.gz works on both pi zero and rockpi.

shawaj commented 2 years ago

@shawaj I checked this again. The build that we have currently in hm-gatewayrs alpha23-raspi01.deb doesn't work on rockpi but raspi234 does work. It just hangs up. Works fine on raspberrys.

helium_gateway binary from helium-gateway-v1.0.0-alpha.23-raspi01.deb doesn't work on rockpi, works fine on pi zero gateway-mfr gateway-mfr-v0.2.1-arm-unknown-linux-gnueabihf.tar.gz works on both pi zero and rockpi.

Hmm strange. If it doesn't work is doesn't work I guess

shawaj commented 2 years ago

I guess we will need to have both supported based on variant ID?

marvinmarnold commented 2 years ago

@posterzh what still needs to be done here?

posterzh commented 2 years ago

@marvinmarnold This is a different issue from what I worked before. This is for gateway-rs and the previous one is for gateway-mfr-rs. Based on convo with @pritamghanghas , we have to make gateway-rs to work with all light-miner hardwares including raspi, rockpi, raspi zero, radxa zero. It can be accomplished by choosing the appropriate architecture for the build, or tweaking the compiler flags.

shawaj commented 1 year ago

Closing as this was fixed in #35