...
To install Repo make sure you have a /bin directory in your home directory and that it is included in your path
...
Code Block |
---|
language | c# |
---|
theme | DJango |
---|
title | Repo Setup |
---|
|
mkdir ~/bin
PATH=~/bin:$PATH |
...
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo |
...
...
Note: Cloning the code before login once to 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,
...
|
$ mkdir <workspace dir>
$ cd <workspace dir>
|
Follow below build instructions,
Deck of Cards |
---|
|
Card |
---|
| Code Block |
---|
language | c# |
---|
theme | DJango |
---|
title |
---|
|
|
| Repo | $ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -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 |
|
Card |
---|
| Code Block |
---|
language | c# |
---|
theme | DJango |
---|
title | Build Steps |
---|
| repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-pod-extsrc.xml
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 |
---|
|
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/sdbmkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo |