Versions Compared

Key

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

...

Code Block
languagebash
themeDJango
$         sudo apt-get   install     build-essential gettext bison libfile-slurp-perl gawk libncurses-dev autoconf flex doxygen libtool automake   libpcre3-dev zlib1g-dev libbz2-dev subversion minicom putty libssl-dev rpm python-pexpect python-svn python-argparse vim tofrodos meld dos2unix cmake uuid-dev ruby transfig libglib2.0-dev xutils-dev lynx-cur gperf autopoint   python-dulwich   python-dev curl vim diffstat texinfo chrpath   openjdk-7-jre

...

Repo Setup Steps

Code Block
languagebash
themeDJango
$ mkdir ~$ mkdir ~/bin
$ PATH=~/bin:$PATH
Download the repo tool and ensure that it is executable
$ curl curl httphttp://commondatastorage.googleapis.com/git-repo-downloads/repo >repo > ~/bin/repo
$ chmod a$ chmod a+x ~/bin/repo



.netrc

A sample
 .netrc file is illustrated belowNote: it is also recommended to put credentials in .netrc when interacting with repo.

.netrc

...

Code Block
languagebash
themeDJango
machine code.rdkcentral.com

...


login YOUR_USERNAME

...


password YOUR_PASSWORD

Yocto Build Steps

To build, follow below instructions

Build Steps


Code Block

...

languagebash
themeDJango
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u 

...

https://code.rdkcentral.com/r/manifests

...

 -b rdk-next -m rdkb-extsrc.xml

...


$ repo

...

 sync

...

 -j4 --no-clone-bundle

...


$

...

 source

...

 meta-cmf-raspberrypi/setup-environment

...

 (Select option raspberrypi-rdk-broadband.conf)

...


$ bitbake rdk-generic-broadband-image


On Successful build,

...

Note. The kernel Image and root filesystem will be created under the below path,

-             ~/tmp/deploy/images/raspberrypi-rdk-broadband folder

...