Difference between revisions of "OLD Bare Metal System Image"
Line 11: | Line 11: | ||
==Installing the Base System== | ==Installing the Base System== | ||
There is also a YouTube video explaining the steps in this section: | |||
The first step is to install the base system. We're using Ubuntu 20.04 Server for the Raspberry Pi. This is, because this image gives us best support ROS Noetic. | The first step is to install the base system. We're using Ubuntu 20.04 Server for the Raspberry Pi. This is, because this image gives us best support ROS Noetic. | ||
Line 19: | Line 22: | ||
#Insert your SD card into your PC and select it in the ''Storage'' part of the software | #Insert your SD card into your PC and select it in the ''Storage'' part of the software | ||
#Click ''write'' and wait for the process to finish | #Click ''write'' and wait for the process to finish | ||
Line 26: | Line 30: | ||
This will enable all hardware serial ports on the Raspberry Pi. | This will enable all hardware serial ports on the Raspberry Pi. | ||
Once you have done this step, you can eject the SD card and plug it into your Raspberry Pi 4. | Once you have done this step, you can eject the SD card and plug it into your Raspberry Pi 4. | ||
'''Note:''' | |||
You can theoretically configure networking in this step as well, but I'm not recommending it. This is, because the networking information file gets only copied once and if you have an error it won't work. '''We need an interactive terminal in the next step anyways.''' | |||
=== Disabling Boot Interrupt === | |||
The Raspberry Pi boot loader will interrupt the boot sequence if data is sent through the main serial port of the Raspberry Pi. Since we're connecting "nosiy" hardware to the port, this will always interrupt the boot sequence and we need to disable this feature. For this, we will connect to the Pi's serial terminal and boot it. | |||
The easiest way of doing so is: |
Revision as of 19:07, 6 June 2022
This page will guide you through the steps to install a basic system image.
On this image you will have the ROS base system, the OpenMower installation, local configuration for your mower and some tools to help you work with the mower.
Prerequisites
In order to follow this guide, you will need the following:
- A Raspberry Pi 4 (4GB or more recommended, 2GB works with swap, see below)
- An SD card
- A soldered OpenMower mainboard
Installing the Base System
There is also a YouTube video explaining the steps in this section:
The first step is to install the base system. We're using Ubuntu 20.04 Server for the Raspberry Pi. This is, because this image gives us best support ROS Noetic.
Installing the base image is easy:
- Get the Raspberry Pi Imager software [1]
- Select the correct operating system: Other-general-purpose OS > Ubuntu > Ubuntu Server 20.04.4 LTS (RPI 3/4/400)
- Insert your SD card into your PC and select it in the Storage part of the software
- Click write and wait for the process to finish
Once you have successfully flashed your image, remove the SD for your PC and reinsert it again.
Then replace the /boot/config.txt file with the one provided here: [2]
This will enable all hardware serial ports on the Raspberry Pi.
Once you have done this step, you can eject the SD card and plug it into your Raspberry Pi 4.
Note:
You can theoretically configure networking in this step as well, but I'm not recommending it. This is, because the networking information file gets only copied once and if you have an error it won't work. We need an interactive terminal in the next step anyways.
Disabling Boot Interrupt
The Raspberry Pi boot loader will interrupt the boot sequence if data is sent through the main serial port of the Raspberry Pi. Since we're connecting "nosiy" hardware to the port, this will always interrupt the boot sequence and we need to disable this feature. For this, we will connect to the Pi's serial terminal and boot it.
The easiest way of doing so is: