Versions Compared

Key

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

Children Display

Table of Contents

Host Setup

Refer the link for host setup details :Host Setup

Build Setup

Initialization

Code Block
languagebash
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkc-nosrc.xml -b rdkc_optimize
							         ( or )
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkc-extsrc.xml -b rdkc_optimize 

Download/Sync

Code Block
languagebash
$ repo sync -j `nproc` --no-clone-bundle --no-tags

Environment Setup

Deck of Cards
idframe
Card
defaulttrue
labelRPI0
titleRPI0 Environment Setup
Code Block
languagebash
titleEnvironment Setup
$ MACHINE=raspberrypi0-rdk-camera source meta-cmf-raspberrypi/setup-environment
Card
defaulttrue
labelRPI3 B+
titleEnvironment Setup
Code Block
languagebash
titleEnvironment Setup
$ MACHINE=raspberrypi3-rdk-camera source meta-cmf-raspberrypi/setup-environment

Compilation Flag

Add the below compilation flag in bottom of the local.conf file

RMS_STREAM_WITH_PIPEWIRE = "1"

CVR_WITH_PIPEWIRE = "1"

Code Block
languagebash
$ vi conf/local.conf

RMS_STREAM_WITH_PIPEWIRE = "1"
CVR_WITH_PIPEWIRE = "1"

Building

Code Block
languagebash
$ bitbake rdk-generic-camera-image

Flash Procedure

Code Block
languagebash
$ bzcat "Image Name" | sudo dd of="Device Name" bs=4M iflag=fullblock oflag=direct conv=fsync
 
Example:
bzcat rdk-generic-camera-image_default_20201127105606.rootfs.wic.bz2 | sudo dd of=/dev/sdc bs=4M iflag=fullblock oflag=direct conv=fsync