Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Host Setup

Repo Configuration

In order to use Yocto build system, the repo tool must be properly installed on the machine.

To install Repo make sure you have a /bin directory in your home directory and that it is included in your pat

Code Block
languagec#
themeDJango
titleRepo Setup
mkdir ~/bin
      
PATH=~/bin:$PATH
      
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
      
chmod a+x ~/bin/repo

Note: Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access. Please login to code.rdkcentral.com before attempting to clone.

Build Instruction

Create workspace directory,

Code Block
languagec#
themeDJango
$ mkdir <workspace dir>
     
$ cd <workspace dir>

Follow below build instructions,

Card
labelRPI4 Extender
Code Block
languagec#
themeDJango
titleBuild Steps
$ repo init -u https://code.rdkcentral.com/r/reference/manifests -m rpi-tags/rpi4_rdkb_extender_30June2022.xml -b master
     
$ repo sync -j4 --no-clone-bundle
     
$ MACHINE=raspberrypi4-rdk-extender source meta-cmf-raspberrypi/setup-environment
     
$ bitbake rdk-generic-extender-image

Flashing Procedure

Following command can be used to flash the RPI image to sd card using linux machine . bmap tool should be available in linux

Code Block
languagec#
themeDJango
bzip2 -d <path to ImageName.wic.bz2>

...


sudo -E bmaptool copy --nobmap <path to ImageName.wic> <path to SD card space>

...


 

...


Example:

...


 

...


$ bzip2 -d rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic.bz2

...


$ sudo -E bmaptool copy --nobmap rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic /dev/sdb