bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
169 stars 80 forks source link

install: Add support for Ubuntu 64-bit #1072

Open ES-Alexander opened 2 years ago

ES-Alexander commented 2 years ago

Raised in this forum post:

user: robins

In case anyone else is attempting to install on Ubuntu 20.04, here are a few solutions to problems you'll encounter.

  1. rfkill isn't installed, which is easy to remedy.
    sudo apt-get install rfkill
  2. The default user isn't named 'pi', which causes errors with the install script. Can be fixed by following this guide: https://www.linuxuprising.com/2019/04/how-to-change-username-on-ubuntu-debian.html
  3. A few file paths are different, which require you to clone the BlueOS repository locally and make necessary changes.
    • The path in line 16 of bcm_27xx.sh should be changed to:
      /boot/firmware/overlays/$DTS_NAME.dtbo
    • And line 67 to:
      /boot/firmware/cmdline.txt
    • And finally the paths in lines 161 and 163 in the install.sh script should both be changed to:
      /etc/dhcp/dhcpd.conf

I ended up opting to use 64-bit RaspiOS for my application, so there may be more issues than are listed here, but this might at least shave an hour or two off of your troubleshooting.

user: EliotBR

BlueOS is open source, and extendable to other systems - the best approach for this kind of thing is to do the modifications with checks to a variable (presumably $ARCHITECTURE in this case) as relevant, so that it chooses the correct code to execute for the system in use.

patrickelectric commented 8 months ago

https://github.com/bluerobotics/BlueOS?tab=readme-ov-file#deveompment-environment helps a lot with that. If the users adds the necessary binds and enable wifi, cable guy and commander, it may work.

NoahMollerstuen commented 1 month ago

I've tried installing BlueOS on a Raspberry Pi 4B running Ubuntu 24.04. The docker container doesn't start on boot, but after starting it manually it sets up the network configuration correctly and I can access the web dashboard. The frontend shows a series of 502 error responses in the notifications tray. Do you have any idea what changes would be required to fully support Ubuntu @patrickelectric ?