Mercury BSP sources building


Installing LinRT Mercury BSP

Setup LinRT git user SSH

After to receive the email from HelpDesk agent that confirms your registration on LinRT Git server (bitbucket.org) you must initiate SSH authentification by the user on the PC Host where your RSA key is set.

$ ssh -T git@bitbucket.org
authenticated via a deploy key.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
This deploy key has read access to the following repositories:
 
linrt-bsp-phyXXX-imx6/linrt-base: john.doe@domain.com -- johndoe@Hostname
linrt-bsp-phyXXX-imx6/linrt-multifb-mercury: john.doe@domain.com --johndoe@Hostname

Note: don’t use “sudo” or “su” command to do the connection, you must be logged directly on your PC Host with the user account used with the RSA Key given to LinRT HelpDesk support !

Troubleshooting: if the command returns (permission denied) it’s probably that you don’t use the right RSA key setting to connect to bitbucket server.

Download LinRT Mercury Yocto BSP sources

Install repo tool on PC Host :

$ mkdir -p ~/bin
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

Note : To add the repo directory in your PATH, using “export” from the command line

$ export PATH=~/bin:$PATH
 or permanently by including it in ~/.bashrc file :
if [ -d "$HOME/bin" ]
 then
   export PATH=$PATH:$HOME/bin
fi
 or permanently by including it in ~/.bashrc file :
$ mkdir ~/yocto-linrt
$ cd ~/yocto-linrt
$ repo init -u https://linrt@bitbucket.org/linrt/linrt-multifb-oxygen-manifest.git -b rocko
$ repo sync -j4

How to build LinRT Mercury BSP images

Available images for LinRT Mercury BSP :

Your HelpDesk subscription includes a specific LinRT OS image support from theses available images :

  • LinRT tiny headless image : linrt-tiny-image, DISTRO = “helium-multifb”
  • LinRT tiny video capture image : linrt-headless-image, DISTRO = “helium-multifb”
  • LinRT tiny qt5 image :
  • LinRT full multimedia image
  • LinRT video capture image
  • LinRT full multimedia Qt 5 image
  • LinRT Wayland/Weston full multimedia Qt 5 image (only with Multi-FB BSP)
  • LinRT X11 full multimedia Qt 5 image
  • LinRT X11/Sato full multimedia Qt 5 image

Build LinRT image

  • 4 CPUs cores minimum
  • RAM 4GB mimimum, 8GB recommended
  • 160GB Hard Disk minimum for complete install new Host including LinRT BSP, or 100GB minimum free Hard Disk space for LinRT BSP install, (SSD HD recommended)

Using Virtual Machine is possible but can be increase build time of BSP and SDK by 2.

Kernel configuration for Mercury BSP

Setup Mercury BSP Kernel

  • 4 CPUs cores minimum
  • RAM 4GB mimimum, 8GB recommended
  • 160GB Hard Disk minimum for complete install new Host including LinRT BSP, or 100GB minimum free Hard Disk space for LinRT BSP install, (SSD HD recommended)

Using Virtual Machine is possible but can be increase build time of BSP and SDK by 2.

Customize Mercury BSP Kernel Yocto receipe

  • 4 CPUs cores minimum
  • RAM 4GB mimimum, 8GB recommended
  • 160GB Hard Disk minimum for complete install new Host including LinRT BSP, or 100GB minimum free Hard Disk space for LinRT BSP install, (SSD HD recommended)

Using Virtual Machine is possible but can be increase build time of BSP and SDK by 2.

LinRT Mercury BSP image customization

Hardware recommendations

  • 4 CPUs cores minimum
  • RAM 4GB mimimum, 8GB recommended
  • 160GB Hard Disk minimum for complete install new Host including LinRT BSP, or 100GB minimum free Hard Disk space for LinRT BSP install, (SSD HD recommended)

Using Virtual Machine is possible but can be increase build time of BSP and SDK by 2.

 

Help-Desk