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.xml repo sync -j `nproc` --no-clone-bundle --no-tags
RPi3 MACHINE=raspberrypi-rdk-mc 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
RPi3 MACHINE=raspberrypi-rdk-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-hybrid-wpe-image
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
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
29 Comments
Unknown User (sjolly)
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>
Unknown User (mbaskar)
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.
Unknown User (sjolly)
May be helpful for someone building.
Error:
Fix:
Unknown User (sjolly)
Anyone facing issues with the new fresh build?
Unknown User (mbaskar)
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?
Unknown User (mbaskar)
Hi Unknown User (steve.ford),
Steve Ford
Thanks Unknown User (mbaskar), 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?
Unknown User (mbaskar)
Hi Unknown User (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.Unknown User (mbaskar)
meta-openembedded dunfell branch introduces GUPnP v 1.2.4 but XUPnP RDK component has GUPnP support till with 1.2.2 version. So, RDK dunfell manifest switches meta-openembedded layer dunfell branch to rdk/dunfell branch
Unknown User (wj.moh)
I met the build error with qtbase.
Would you please check it happen for all or just me?
Chaitanya Mahanthi
Hi Unknown User (wj.moh)
I am also facing similar issue while compiling on ubuntu 20.04 machine. Please let me know me if you could found any resolution for the issue.
Unknown User (wj.moh)
Hi Unknown User (chaitanya.mahanthi),
Thank you.
I will share if found any progress or the resolution.
But guess the best resolution is should change the build machine to 'Ubuntu 18.04' as recommended.
As you know 'qt build' is another big task to find what's wrong.
But if the same issue happens at Ubuntu 18.04, I will report it, too.
Chaitanya Mahanthi
Hi Unknown User (wj.moh)
Thank you for you quick response. Please share your build status with Ubuntu 18.04.
Unknown User (wj.moh)
Hi Chaitanya Mahanthi,
I would let you know this build on Ubuntu 18.04 is working well without errors.
So, probably we will meet errors if we try this build on Ubuntu 20.04.
Chaitanya Mahanthi
Hi Unknown User (wj.moh)
Thank you for letting us know. We are also able to build with 18.04 without errors.
Z-TANGUY Julien
Hi I'm facing image build issues for Hybrid Gateway with Operator Ref. App.
Everything seems to build properly till I get to tasks :
Does anyone encountered those same problems ?
Thanks for you help.
Deepthi Suseelan
Unknown User (julien.tanguy)
Please share the build commands used and the full errors from tr69agent-headers. Also, in which task is wpe-webkit stuck ?
Z-TANGUY Julien
Hi Unknown User (dsuseelan) and thanks for your answer,
Here are details asked.
Deepthi Suseelan
Unknown User (julien.tanguy)
Ticket created for this : REFPLTV-1190 - Getting issue details... STATUS
Z-TANGUY Julien
Thanks Unknown User (dsuseelan)
Philip James
Issue is not reproducible and not getting any errors from tr69agent-headers.
Also to add a point to this , the steps to create a refapp is as below
export PATH=~/bin:$PATH
repo init -u https:
//code.rdkcentral.com/r/manifests -b dunfell -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags
For more details please refer to the comments from Unknown User (jcooley) in the ticket, REFPLTV-1190
Unknown User (kgn.022)
Any suggestion on this error...during bitbake-------bitbake rdk-generic-hybrid-wpe-image
Ganesh Sahu
This may be because you have an access issue with the closed caption repo. please post more info on the manifest,build steps used and also check whether the repo can be cloned independently.
Unknown User (girish_tc)
Ganesh Sahu
Hi Unknown User (girish_tc) Can you please share the build environment setup command used, here the fetcher should use https protocol for rdkcentral repos.
Deepak Kumar
While building RDK-V Hybrid RPI3 Image i am getting these errors.
ERROR: libinput-git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1612"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/usr/bin/perl-native:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/usr/bin/python-native:/home/chtsl00463/Rdkv/openembedded-core/scripts:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/usr/bin/arm-rdk-linux-gnueabi:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot/usr/bin/crossscripts:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/usr/sbin:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/usr/bin:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/sbin:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/recipe-sysroot-native/bin:/home/chtsl00463/Rdkv/openembedded-core/bitbake/bin:/home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/hosttools"; export HOME="/home/chtsl00463"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror "https://gitlab.freedesktop.org/libinput/libinput.git" /home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/../downloads/git2/gitlab.freedesktop.org.libinput.libinput.git --progress failed with exit code 128, no output
ERROR: libinput-git-r0 do_fetch: Fetcher failure for URL: 'git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;branch=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/chtsl00463/Rdkv/build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/libinput/git-r0/temp/log.do_fetch.9061
ERROR: Task (/home/chtsl00463/Rdkv/meta-rdk-ext/recipes-graphics/libinput/libinput_git.bb:do_fetch) failed with exit code '1'
Deepthi Suseelan
git:// download is not supported anymore.
or in ~/.gitconfig
[url "https://github"]
insteadOf = git://github
Vitaly Dyachkov
I'm trying to build RPi4 image following the instructions but it fails. The first problem is that `https://code.rdkcentral.com/r/manifests` gives me 403:
If I replace it with https://code.rdkcentral.com/r/rdkcmf/manifests it works, but there is another issue:
Using `rdkv-nosrc.xml` instead of `rdkv.xml` lets me overpass it and sync the repos, so the final commands are:
But when I'm trying to bake the image I'm getting the same issue as Z-Krishnan:
It really looks like an access issue. It's also not shown when I try to search for it https://code.rdkcentral.com/r/admin/repos/q/filter:devices/intel-x86-pc/rdkri/mediaframework. What should I do to get access to this repo?