...
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 |
Image Build
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | Media Client |
---|
title | Instruction to build mediaclient image |
---|
| |
| title | apply bug fixes | collapse | true | # bluez SIOCSTAMP do_compile error fix
(cd metaext;git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/99/47599/4 && git cherry-pick FETCH_HEAD) |
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
source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-mediaclient-wpe-image
RPi4
MACHINE=raspberrypi4-64-rdk-android-mc source meta-cmf-raspberrypi/setup-environment
bitbake lib32-rdk-generic-mediaclient-wpe-image |
|
|
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | Media Client |
---|
title | Instruction to build mediaclient hybrid gateway image |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| RPi3
MACHINE=raspberrypi-rdk-mc-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wpe-image
RPi4
MACHINE=raspberrypi4-64-rdk-android-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake lib32-rdk-generic-mediaclienthybrid-wpe-image |
|
Card |
---|
label | Hybrid Gateway with Operator Ref. App. |
---|
title | Instruction to build hybrid gateway image with Operator Reference Application |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| MACHINE=raspberrypi-rdk-hybridraspberrypirdkhybrefapp source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wperefapp-image |
|
The generated image resides under the directory build-<MACHINE>/tmp/deploy/images/<MACHINE> of the Yocto workspace |
...
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
- Cobalt is crashed upon launching over RDK Shell