RDK Resources
RDK Preferred
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Refer to the link for host setup details: Host 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
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
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
The generated image resides under the directory build-<MACHINE>/tmp/deploy/images/<MACHINE>
of the Yocto workspace
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
9 Comments
Stenal P Jolly
Compile fail on rdkshell
meta-rdk-video/recipes-graphics/rdkshell/rdkshell_git.bb:do_compile) failed with exit code '1'
| /home/sjolly/rdk-next-v/build-raspberrypi-rdk-mc/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/rdkshell/1.x+gitAUTOINC+90c9c837fc-r0/git/rdkshellimage.cpp:24:10: fatal error: jpeglib.h: No such file or directory
| 24 | #include <jpeglib.h>
Moorthy Baskar
Hi Stenal,
It's a known issue. it was fixed at 48437 but not yet merged. In such a way other errors also been fixed and the respective cherrypick commands were given on this page. Please find the 'apply bug fixes' bar and click 'Expand Source' to find the commands.
Stenal P Jolly
May be helpful for someone building.
Error:
Fix:
Stenal P Jolly
Anyone facing issues with the new fresh build?
Moorthy Baskar
Rarely it happens. every bitbake execution locks the environment and contact server so, if another attempt of bitbake done without completion of the previous, the lock will not be released and causes this error. A hack I can suggest to remove bitbake.lock under build directory and try
Steve Ford
I've built a hybrid image for the Pi and flashed it. It boots, but the wired network isn't getting an IP address.
There are also a few errors in "/opt/logs/wpeframework.log" that are preventing wpeframework from running, such as:
Are these problems with my build or is this the current state of the dunfell image?
Moorthy Baskar
Hi Steve Ford,
Steve Ford
Thanks Moorthy Baskar, I found the fix and rebuilt the image yesterday. Networking is now fine, so I don't know what the problem was the first time; I'm using a wired connection and it was all connected up, but anyway, it seems ok now.
In my new image, starting the wpeframework.service is still failing, so I guess this is the RDKShell problem you mentioned.
Given the remaining problems, does this mean that a morty build is the only one that's currently usable?
Moorthy Baskar
Hi Steve Ford,
RDKShell crash issue been fixed. The fix is submitted for review in Github https://github.com/rdkcentral/RDKShell/pull/58 also the same applied as a patch on RDK builds (please find the apply bug fixes commands). From the fix, RDKShell crash issue been resolved but it seems that there is a flickering in UI and also webprocess been crashed when try to load playback related UIs like youtube, Metro apps and soon).
If you really want to explore other RDK services, please change the autostart to false in RDKShell service (
/etc/WPEFramework/plugins/RDKShell.json)
file. Also a referenceapp.service (systemd service) that runs a script to launch the Switcher App UI on top RDK Shell which can also be stopped to explore other features.