Skip to content

Configuring the Building Enviroment for Baikal

Carlos Moratelli edited this page May 4, 2017 · 3 revisions

You need to follow the steps below to configure your building and deployment environment for Baikal board.

Linux Host Package Requirements

Perform the following commands to install the required packages on Ubuntu 14.04 LTS or higher.

sudo apt-get update
sudo apt-get install srecord
sudo apt-get install libconfig-dev

Install Baikal BSP

  1. Download the Baikal BSP package from http://www.baikalelectronics.com/products/T1/

  2. Install the BSP in your home folder:

chmod +x bsp_baikal_mips_4_00_08.run
./bsp_baikal_mips_4_00_08.run

You should see the baikal folder after installation:

baikal$ ls
bin  doc  img  INSTALL  kernel  lib  LICENSE  README  src  usr  VERSION
  1. Finally, set you PATH variable to include the path to the BSP's gcc compiler:
export PATH="$PATH:"$HOME/baikal/usr/x-tools/mipsel-unknown-linux-gnu/bin""

You may want to add the above line to your ~/.profile script.