Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display

Table of Contents

Introduction

This page is dedicated to bring up yocto 3.1 upgradation for RDK generic camera image.

Build Procedure

Code Block
languagebash
titleBuild step
$ repo init -u "https://code.rdkcentral.com/r/manifests" -m rdkc-nosrc.xml -b yocto-dunfell-upgrade
$ repo sync
$ source meta-cmf-raspberrypi/setup-environment (Choose 11 `meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.conf`)
$ bitbake rdk-generic-camera-image


Image Flash Procedure

Code Block
languagebash
titleFlash step
$ bzcat ImageName.wic.bz2 | sudo dd of=/dev/sdc bs=4M iflag=fullblock oflag=direct conv=fsync

Ex:
bzcat rdk-generic-camera-image-raspberrypi0-rdk-camera.wic.bz2 | sudo dd of=/dev/sdc bs=4M iflag=fullblock oflag=direct conv=fsync


Errors and Challenges

S.NOErrors/challengesReceipes/ReposUpdatesChange setsStatus
1.Add camera manifest files

Added rdkc-nosrc and rdkc-extsrc manifest

file in yocto-dunfell-upgrade branch

https://code.rdkcentral.com/r/c/manifests/+/41610

Merged
2Create dunfell branch for camera component

configmgr, httpclients-utility

ledmgr-camera, plugins, rms

cvr, mediastreamer, thumbnail 

Created yocto dunfel upgrade branch for camera specific componentBranch Created
3

ERROR: ExpansionError during parsing ems_git.bb

fatal: remote error: rdkc/components/opensource/ems unavailable

meta-rdk-camera/recipes-extended/ems/ems_git.bbMoved meta-rdk-camera and meta-cmf-camera latest update upto 23Jul20 from "rdk-next" into "yocto-dunfell-upgrade" branch

https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk-camera/+/42088

https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-cmf-camera/+/42090

In-progress
4

ERROR: ExpansionError during parsing webpacamera_git.bb

meta-rdk-camera/recipes-common/webpacamera/webpacamera_git.bb

FetchError: Fetcher failure: Unable to resolve 'yocto-dunfell-upgrade' in upstream git repository in git

Specific component source codes are not available in rdkcentral. so,masked this component in rdkc.inc file.

https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk/+/42095In-progress
5ERROR: ExpansionError during parsing audioserver-sample-apps.bbmeta-rdk-video/recipes-extended/audioserver/audioserver-sample-apps.bb
6ERROR: ExpansionError during parsing ctrlm-testapp.bbmeta-rdk-video/recipes-extended/ctrlm/ctrlm-testapp.bb
7ERROR: ExpansionError during parsing audioserver-headers.bbmeta-rdk-video/recipes-extended/audioserver/audioserver-headers.bb
8ERROR: ExpansionError during parsing audioserver.bbmeta-rdk-video/recipes-extended/audioserver/audioserver.bb
9ERROR: ExpansionError during parsing ctrlm-main.bbmeta-rdk-video/recipes-extended/ctrlm/ctrlm-main.bb
10ERROR: ExpansionError during parsing ctrlm-headers.bbmeta-rdk-video/recipes-extended/ctrlm/ctrlm-headers.bb
11ERROR: ExpansionError during parsing base64_git.bbmeta-rdk-ext/recipes-support/base64/base64_git.bb
12ERROR: Nothing RPROVIDES 'ems'meta-cmf-raspberrypi/recipes-core/packagegroups/packagegroup-rdk-oss-camera.bbappendChanged ems into rms because we have recently modified this in rdk-nexthttps://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-cmf-raspberrypi/+/42105In-progress
13

ERROR: Nothing PROVIDES 'ffmpeg'

ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST

openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.2.bbConfigured gstreamer1.0-libav preferred version as 1.14.1https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk/+/42106In-progress
14

ERROR: rtmessage-git-r0 do_fetch: Fetcher failure for URL: 'git://code.rdkcentral.com/r/rdkc/components/opensource/rtmessage

Please set a valid SRCREV for url

meta-rdk-ext/recipes-common/rtmessage/rtmessage_git.bbAdded SRC_REV in rtmessage_git.bbhttps://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk-ext/+/42108In-progress
15ERROR: rtmessage-git-r0 do_fetch: Fetcher failure: Unable to find file file://rtrouted.confmeta-rdk-ext/recipes-common/rtmessage/rtmessage/Added rtrouted.conf file in rtmessage directory
16

ERROR: gstreamer1.0-plugins-bad-1.16.2-r0 do_patch

Applying patch gstreamer1.0-plugins-bad_1.patch

Hunk #1 FAILED at 101.

meta-rdk-camera/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappendRemoved meta-rdk-camera/recipes-multimedia/gstreamer folderhttps://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk-camera/+/42113In-progress
17ERROR: QA Issue: rms: The LIC_FILES_CHKSUM does not match for file://LICENSE;md5=ae6150f078ea1c81960d0595a46a293ardkc/components/opensource/rmsMoved rms source latest changes upto 24Jul20 from rdk-next into dunfell branchhttps://code.rdkcentral.com/r/c/rdkc/components/opensource/rms/+/42114In-progress
18ERROR: bcm2835-bootfiles-20180619-r3 do_fetch: Fetcher failure for URL: 'https://github.com/raspberrypi/firmware/archive/748fb17992426bb29d99224b93cb962fefbdc833.tar.gz'. Checksum mismatch!meta-cmf-raspberrypi/recipes-bsp/bootfiles/bcm2835-bootfiles.bbappendMasked bcm2835-bootfiles.bbappendhttps://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk/+/42115In-progress
19

No rule to make target 'arch/arm/boot/dts/bcm2711-rpi-4-b.dtb

ERROR: Task linux-raspberrypi_4.14.bb:do_compile failed with exit code '1'

meta-cmf-raspberrypi/conf/distro/include/rdk-rpi.incUpgrade linux kernel version from 4.14 to 4.19https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-cmf-raspberrypi/+/40003In-progress
20

ERROR: lighttpd-1.5-r0 do_compile: oe_runmake failed

Makefile:1663: recipe for target 'lemon.o' failed

meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.confChanged lighttpd preferred version as 1.4.53https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-cmf-raspberrypi/+/42116In-progress
21configmgr : fatal error: PRO_file.h: No such file or directoryrdkc/components/opensource/configMgrMoved configmgr source code changes upto 24Jul20 from rdk-next into dunfell branchhttps://code.rdkcentral.com/r/c/rdkc/components/opensource/configMgr/+/42149In-progress
22plugins: error: 'RdkCVideoCapturer' does not name a typerdkc/components/opensource/pluginsMoved plugins source code changes upto 27Jul20 from rdk-next into dunfell branchhttps://code.rdkcentral.com/r/c/rdkc/components/opensource/plugins/+/42151In-progress
23ERROR: mediastreamer-git-r0 do_package_qameta-rdk-camera/recipes-multimedia/mediastreamer/mediastreamer_git.bbAdded RDEPENDS mediastreamer_git.bb filehttps://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk-camera/+/42152In-progress
24Thumbnail : CMake Error at CMakeLists.txt:40 (ADD_SUBDIRECTORY : normal_thumbnail )rdkc/components/opensource/thumbnailMoved thumnail source code changes upto 27Jul20 from rdk-next into dunfell branchhttps://code.rdkcentral.com/r/c/rdkc/components/opensource/thumbnail/+/42167In-progress
25smart_thumbnail.h:53:10: fatal error: RdkCVideoCapturer.h: No such file or directorymeta-rdk-camera/recipes-multimedia/thumbnail/thumbnail_git.bbAdded plugins dependency at thumbnail receipes.https://code.rdkcentral.com/r/c/components/generic/rdk-oe/meta-rdk-camera/+/42173In-progress


Supported Features

S.NoFeaturesSupported Status
1Ethernet connection(  USB Ethernet Adapter )(tick)
2WiFi Connection(error)
3RMS ( RDKC Media Server )(error)
4CVR ( Continuous video recording )(error)
5Normal Thumbnail(error)
6Firmware upgrade with tftp and xconf server(error)
7Webpa(error)