ruggedBOARD
Tutorial Using Python
Tutorial Using Python
  • Overview
  • Quick Start with RB
    • Pre-Requisite
      • Required Hardware and Software Components
      • Host Setup
      • Linux Commands
    • Power Up your RB
    • Fiddle with RB Command-line
  • Lib-Mraa & UPM Sensor Libraries (Python)
    • First Python Program
    • Know Your Libraries
      • LibMRAA
        • Python Programming using MRAA (SPI)
        • Python Programming using MRAA (PWM)
        • Python Programming using MRAA (gpio_blink)
        • Python Programming using MRAA (Aio)
      • LibUPM
    • Example Programs for Sensors
      • Procedure to interface phyNODE with RB
      • Accelerometer
      • Temperature Sensor
      • Pressure Sensor
      • Humidity Sensor
      • Magnetometer
      • PIR Sensor
      • Ultrasonic Sensor
      • Gas Sensor (MQ5)
    • mikroBUS UPM Sensor
    • Example programs for Communication Protocols
      • GPIO
      • I2C
      • UART
  • Hello World in C language
    • Setting up Environment
    • Transferring Files from Host to Board
    • Write your first C program
  • IoT Implementation
    • What is IoT?
    • IoT Protocols
    • MQTT Setup
  • Peripherals Functionality Testing using C Language
    • Interfaces
      • GPIO(General purpose Input/Output):
      • UART(Universal Asynchronous Receiver-Transmitter)
      • RS232
      • RS485
      • CAN
      • MikroBUS
      • mPCIe
  • Advance RB
    • Preparing SD card in case of OS failure
Powered by GitBook
On this page

Was this helpful?

  1. Quick Start with RB
  2. Pre-Requisite

Host Setup

PreviousRequired Hardware and Software ComponentsNextLinux Commands

Last updated 6 years ago

Was this helpful?

Select you operating system

Step 1: Connect your ruggedBOARD-A5D2x to PC and identify the port (Device manager/manage/port)

step 2: Download and install Putty terminal to get the serial console. Click the link below to understand how to install Putty Terminal in your windows PC.

step 3: select “Serial” and baud rate with 115200 and press Enter key will get Board Console.

Congratulations your PC Ready with Windows basic prerequisites.

Host requires 64-bit, Ubuntu-16.x.x (LTS versions).

To install Ubuntu, follow the link below.

After successes full installation Let us start Work with Linux – Ubuntu OS

Open up the application on your computer called “Terminal” by either pressing Control + Alt + T or by clicking the symbol at the top of the Ubuntu launcher and searching for “Terminal”.

It looks like this:

You can use the terminal to write commands to your computer (this is the “command line Interface of Ubuntu Operating System”). Let’s try it out!

In your terminal, type

Ubuntu@pc:~$ ls

and hit enter.

The ls command, short for “list”, tells your computer to list all of the file names for the folder you’re inside.

Ubuntu doesn’t come with all the prerequisite archives for the development, to prepare the host for development download the bash shell script which can be available from the link below.

Link to download eLinux_pkg.sh

Download and execution steps of the script are as follows.

Ubuntu@pc:~$ gedit elinux_pkg.sh

Add the following code int the text editor (In my case it is gedit).

sudo apt-get update sudo apt-get -y install git-core flex bison gperf libesd0-dev zip libwxgtk2.6-dev zlib1g-dev build-essential gettext texinfo sudo apt-get -y install fakeroot gnupg libsdl1.2-dev squashfs-tools uboot-mkimage expect libncurses5-dev sudo apt-get -y install minicom lrzsz tftpd-hpa nfs-kernel-server nfs-common portmap patch vim gawk sudo apt-get -y install xinetd tftpd tftp qtcreator ctags quilt echo; echo "your setup is completed “; echo; echo "all the best";

Save and Exit..........

Add executable permission to elinux_pkg.sh by “chmod”

Ubuntu@pc:~$ chmod +x elinux_pkg.sh

Type the following command to execute the script

Ubuntu@pc:~$ sh elinux_pkg.sh

Congratulations!! Your PC is now ready with Ubuntu-Linux basic prerequisite......

Follow the next sections to understand Linux commands.

Note: If you are facing any difficulties in this step, visit our YouTube channel "" for video demonstrations.

ruggedboard
https://www.putty.org/
https://help.ubuntu.com/community/GraphicalInstall
Terminal Icon
Linux Terminal Window