RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
To install Repo make sure you have a /bin directory in your home directory and that it is included in your path
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ mkdir ~/bin |
...
$ PATH=~/bin:$PATH |
...
Download the repo tool and ensure that it is executable |
...
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/ |
...
repo > ~/bin/repo |
...
$ chmod a+x ~/bin/repo |
Note: it is also recommended to put credentials in ~/.netrc when interacting with repo.
A sample ~/.netrc file is illustrated below
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Inline Table Editing | ||||||
machine codemachine 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 kirkstone -m rdkb-extsrc.xml |
...
$ repo sync -j`nproc` --no-clone-bundle |
...
$ MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment |
...
$ bitbake rdk-generic-broadband-image |
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 | ||||
---|---|---|---|---|
| ||||
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.bz2 /dev/sdb |