Host Setup
Refer to the link for host setup details: Host Setup
Build Setup
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | build setup |
---|
|
repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags |
Code Block |
---|
language | bash |
---|
title | apply bug fixes |
---|
collapse | true |
---|
|
|
Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate repo
Image Build
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | Media Client |
---|
title | Instruction to build mediaclient image |
---|
|
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-mediaclient-wpe-image |
|
Card |
---|
label | Hybrid Gateway |
---|
title | Instruction to build hybrid gateway image |
---|
|
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wpe-image |
|
The generated image resides under the directory build-<MACHINE>/tmp/deploy/images/<MACHINE> of the Yocto workspace |
Flash Procedure
The micro SD card should not have any partition while flashing the image. The complete memory of the card should be free
Code Block |
---|
|
# of - output file (the device file for the inserted micro SD card
bzcat <IMAGE_NAME>-<MACHINE>.wic.bz2 | sudo dd of=/dev/sdb bs=4M iflag=fullblock oflag=direct conv=fsync |
Known Issue
- RDKShell not working with Direct Rendering Manager (DRM) backend