Host Setup
Refer to the link for host setup details: Host Setup
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 |
# fix for org.rdk.Wifi.1.saveSSID result
git clone https://code.rdkcentral.com/r/rdk/components/generic/netsrvmgr rdk/components/generic/netsrvmgr
(cd rdk/components/generic/netsrvmgr; git fetch "https://code.rdkcentral.com/r/rdk/components/generic/netsrvmgr" refs/changes/93/50893/1 && git cherry-pick FETCH_HEAD)
# fix for UI on bootup
(cd meta-cmf-raspberrypi; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/84/51484/1 && 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
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-mediaclient-wpe-image |
|
MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wpe-image |
|
(cd meta-cmf-video-restricted; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted" refs/changes/90/51390/1 && git cherry-pick FETCH_HEAD)
(cd meta-cmf-video-restricted; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted" refs/changes/50/51450/1 && git cherry-pick FETCH_HEAD)
git clone https://code.rdkcentral.com/r/components/generic/subtec-app components/generic/subtec-app
(cd components/generic/subtec-app; git fetch "https://code.rdkcentral.com/r/components/generic/subtec-app" refs/changes/52/51452/1 && git cherry-pick FETCH_HEAD) |
MACHINE=raspberrypirdkhybrefapp source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-refapp-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
# 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