mpous / basicstation

LoRa Basics™ Station - The LoRaWAN Gateway Software
https://doc.sm.tc/station
60 stars 30 forks source link

Project for Raspberry Pi Zero #34

Open Roberto6969 opened 3 years ago

Roberto6969 commented 3 years ago

Hi Marc, is there any chance project will be adapted to run on Raspberry Pi Zero?

Thank You.

mpous commented 3 years ago

Hello @Roberto6969 thank you for the comment! I think it would be really nice! At the moment it's only accepted ARMv8 and ARMv7. You can read more here https://github.com/mpous/basicstation/blob/5df322cde44df9aab9c142a08600f36ca14487c8/setup.gmk#L44

Having said that, feel free to contribute into the project :-)

Roberto6969 commented 3 years ago

Marc, thank you!

mpous commented 2 years ago

@Roberto6969 i made a new PR to make this compatible with Raspberry Pi Zero! Test it and let me know if this works for you :)

Roberto6969 commented 2 years ago

Hi @mpous thank you a lot for your effort. GW is finally on my desk. RPi doesn't get an IP address with new image. Based on LED activity it seems startup sequence is OK, HDMI output shows Balena logo also, but from GW's MAC there is no request on DHCP server. Did I miss somethink? Thank You!

mpous commented 2 years ago

@Roberto6969 where did you get the last image? Could you please tell me step-by-step what you did so i can try to reproduce?

Roberto6969 commented 2 years ago

@mpous GW after some days mysteriously come up. Maybe it just needs a lot of time or a few reboots more. I've tried again after I saw your message and now it is online. But there is another strange behaviour. I can't use right MAC. Steps:

GW EUI consists of second MAC from the Balena dashboard (and not the first one) and it changes after every REBOOT. How is it possible?

mauimauer commented 2 years ago

On my PI 4s the new release picks wlan0 even if eth0 exists

basicstation Gateway EUI: dca6... (My eth0)
basicstation Using MODEL: SX1301
basicstation Server: wss://eu1.cloud.thethings.network:8887
basicstation Resetting gateway concentrator on GPIO 17
basicstation 2022-02-02 02:02:43.415 [SYS:INFO] findDefaultEui -> protoEuiSrc /sys/class/net/wlan0/address

I am then getting the same error as @Roberto6969 since that is not the EUI i am registered with.

mpous commented 2 years ago

ok! let me solve that @mauimauer

Roberto6969 commented 2 years ago

ok! let me solve that @mauimauer

Hi Marc, it would be great if you'll get some time to solve this problem. Thank You!