CongducPham / LowCostLoRaGw

Low-cost LoRa IoT & gateway with SX12XX (SX1261/62/68; SX1272/76/77/78/79; SX1280/81), RaspberryPI and Arduino boards
694 stars 352 forks source link

Raspberry PI 4 8G support #302

Open man4567890 opened 3 years ago

man4567890 commented 3 years ago

Hi, The image raspberrypi-buster-WAZIUP-demo.iso does not seem to work on a Raspberry PI4? Could this be confirmed please

CongducPham commented 3 years ago

We are haven't tested it on the new RPI 8GB, so maybe there is an unexpected issue. It has been tested extensively on RPI4 2GB and 4GB. What are the errors?

regards,

man4567890 commented 3 years ago

This is what I get with a 32Gb SD card on the console, the exact same SD card boot up in a Raspberry PI 3B+ with no problems

image

CongducPham commented 3 years ago

well, I'm not really able to debug this issue, but it does'nt look like a problem related to RPI4 and amount of RAM memory on it. Try to burn again the sd card image on your 32GB card and run it on the RPI4 to extend the available space.

man4567890 commented 3 years ago

ok will do, just strange that this SD card works on a Pi3B+ but gives this error when running on a Pi4

man4567890 commented 3 years ago

Just to let you know, I re-burned the image with balenaEtcher on a 16G SD card, when I boot the image on a Raspberry PI 4, it gives the same error. I then tried to download the image again, but I get this an error. The image I downloaded yesterday could be corrupted? image

image

man4567890 commented 3 years ago

I think the link on this page still points to jessie image

CongducPham commented 3 years ago

Oh I see, the latest version is on http://cpham.perso.univ-pau.fr/LORA/WAZIUP/raspberrypi-buster-WAZIUP-demo.iso.zip

So this is the one you got and you still have the error?

CongducPham commented 3 years ago

Actually, I think that the reason you have an error is because of your RPI4 with 8GB which requires a 64-bit OS. The distribution is currently only 32-bit. We started investigating 64-bit OS and preparing for the migration (see https://github.com/CongducPham/LowCostLoRaGw/blob/master/gw_full_latest/README-WiringPi-64bit-OS.md) but we havent' packaged everything yet.

regards,

man4567890 commented 3 years ago

Ahh ok that makes sense, I just loaded the image on a RPi 4 with 4G and it works, but the same image on a RPi 4 with 8G, brings up this while it is trying to boot image