...
Deck of Cards |
---|
effectDuration | 2 |
---|
id | main1 |
---|
effectType | slide |
---|
|
Card |
---|
default | true |
---|
label | General build |
---|
title | for Generic image build with or without TDK |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | Generic build |
---|
| mkdir workspace
cd workspace
# initialize the repo
# for Non-ASP
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags |
|
Card |
---|
label | Build with external source |
---|
title | Generic image build where all RDK component's sources will be available externally |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | generic build with external source |
---|
| mkdir workspace
cd workspace
# initialize the repo
# for ASP (applicable for TDK)
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-extsrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags
|
|
Card |
---|
label | Build from development branch |
---|
title | for Generic image build on development branch |
---|
| To build the image from the development branch, the respective sprint month's development branch to be chosen and follow the below build procedure For example to take development branch of September 2020, the rdk-dev-2009 branch to be used Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | Generic build from development branch |
---|
| mkdir workspace
cd workspace
# initialize the repo
# for Non-ASP
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-dev-2009 -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags |
|
Code Block |
---|
language | bash |
---|
title | apply bug fixes |
---|
| # displaying reboot info fix for REFPLTV-655
(cd meta-cmf-raspberrypi; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/35/49835/1 && git cherry-pick FETCH_HEAD)
|
|
...
Deck of Cards |
---|
|
Card |
---|
id | mc |
---|
label | Media Client |
---|
effectType | slide |
---|
| Deck of Cards |
---|
id | mc-image |
---|
effectType | slide |
---|
| Card |
---|
default | true |
---|
id | generic-mc |
---|
label | Generic Image |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | generic image |
---|
| MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
# both rdk-generic-mediaclient-image and rdk-generic-mediaclient-wpe-image are same now
bitbake rdk-generic-mediaclient-image
|
|
Card |
---|
default | true |
---|
label | Generic Image with TDK |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | TDK image |
---|
| MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-mediaclient-wpe-tdk-image |
|
|
|
Card |
---|
default | true |
---|
id | hybrid |
---|
label | Media Gateway (Hybrid) |
---|
effectType | slide |
---|
| Deck of Cards |
---|
id | mc-image |
---|
effectType | slide |
---|
| Card |
---|
default | true |
---|
id | generic-mc |
---|
label | Generic Image |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | generic image |
---|
| MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
#both rdk-generic-hybrid-image and rdk-generic-hybrid-wpe-image are same now
bitbake rdk-generic-hybrid-image
|
|
Card |
---|
default | true |
---|
label | Generic Image with TDK |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | TDK image |
---|
| MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wpe-tdk-image |
|
|
|
The Kernel image and root file-system collectively created as an image and it will be availble under build-<MACHINE>/tmp/deploy/images/<MACHINE> folder. |
Development Branch
To build the image from the development branch, the respective sprint month's development branch to be chosen and follow the below build procedure
For example to take development branch of September 2020, the rdk-dev-2009 branch to be used
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | build from development branch |
---|
|
mkdir workspace
cd workspace
# initialize the manifest with repo tool
repo init -u https://code . rdkcentral.com/r/manifests -b rdk-dev-2009 -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags |
...
Flashing Procedure
The image file will be generated under build-<MACHINE>/tmp/deploy/images/<MACHINE>
directory
...