Ubuntu 18.04 fails to boot when connected to magni on rpi, works fine when disconnected


We are running a magni silver robot using a raspberry pi 4 with ubuntu server 18.04 on it because we want to use an intel realsense camera and could not get it to work on the image provided by ubiquity (intel realsense d435). The camera works fine, the packages from ubiquity’s github were downloaded and compiled on the rpi but when connecting the rpi using the GPIO pins, the rpi fails to boot. I found a document made by someone who ported the magni files to ubuntu 20.04 and mentioned that it was due to a serial problem in ubuntu: “It mixed up ttyS0 and ttyAMA0” which makes the magni interrupt the boot sequence. We are trying to modify the boot/config file to see if we can fix this issue, any suggestions?

You probably need to add dtoverlay=miniuart-bt to your config.txt to swap S0 and AMA0. You also need to make sure all forms of serial console are turned off, both in /boot/cmdline.txt and by disabling the getty serial service.


1 Like

Hi @IngeniousDoc I want to do something similar. Do you mind sharing the documents you referred to?
I want to run a ubuntu server 20.04 using a raspberry pi4 to control the magni over i2c.

We have a Ubuntu 20.04 image for the Magni product if you have a magni with a Pi 4 that is getting very close to release. I am thinking or at least hope that will be available in a month and would show up on our magni image download page here: Ubiquity Robotics Downloads We would label it to be ubiquity-focal or certainly not with ‘xenial’ in the name because ‘focal’ is the 20.04 base Ubuntu. Anyway, the name of it is not decided upon but watch that page.