RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ 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 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ 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 | ||||
---|---|---|---|---|
| ||||
machine code.rdkcentral.com |
...
login YOUR_USERNAME |
...
password YOUR_PASSWORD |
To build, follow below instructions
Code Block |
---|
...
| ||||
$ 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
...