This is a generic tutorial on how to install Ubuntu 20.04 LTS on a Raspberry Pi 4 including hooking it up to Wifi.
To give some context: the reason we are setting updevice is to run Gravio on it. The vision of Gravio is to become an “Operating System for the Physical Space” by enabling everybody to create applications without any programming or software engineering knowledge.
In order to get Gravio on the Raspberry Pi 4, we need to start with installing the 64 bit Ubuntu. Please note that Gravio will not run on a 32 Bit Linux, Raspbian or a Raspberry 3:
7. Run sudo netplan try and accept the configuration
8. You should now be connected to the internet
Bonus:
Now, that you’re up and running with Ubuntu 20.04 LTS, it’s time to install Gravio:
Now, reboot your Raspberry Pi and once it’s back, you will be able to connect to it using Gravio Studio.
Gravio Studio is a free desktop app that is needed to configure the platform and put your IoT applications together. You can also subscribe to the sensor rental plan inside those apps if you like to rent hardware sensors.
After you have downloaded the application and started it, you will see a registration screen:
Sign up with your details and you will receive an e-mail with a code:
Now click on the + sign on the top right to add your Raspberry Edge node:
Now you can start configuring your node and build your applications.
If you like to order sensors, you need a subscription. Please check availability in your country before you order sensors.
The sensors are rented on a monthly basis. You can stop the subscription at any time, in which case you will have to send the sensors back.
Choose your subscription and follow your Operating System’s instructions on how to subscribe:
Once you are subscribed, you can visit https://www.gravio.com and use the login button at the top right to log in and visit the ordering page:
Once ordered, Asteria will ship the sensors and the USB dongle to you, ready to connect.
For more information, have a look at https://doc.gravio.com or join the Gravio Slack Channel
Note: If you have a RPI4 with 4GB ram, you may run into the issue of the USB ports not working. To fix this, access your SD card on your computer and add the line
total_mem=3072
to the file
/boot/firmware/usercfg.txt
It will limit the memory usage to 3GB but at least USB will work. This is supposed to be a temporary fix until Ubuntu fixes the kernel.