Versions Compared

Key

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

...

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

...

This is the temporary steps,once the changes get merged in rdk-next then we will remove this cherry pick details

Code Block
languagebash
$ Below changes are needed for libcamera

cd meta-cmf-raspberrypi
1. git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-camera
$-oe/meta-cmf-raspberrypi refs/changes/96/77096/2 && git cherry-pick FETCH_HEAD
2. git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-rdkcmf-cameraraspberrypi refs/changes/7177/6287176077/14 && git cherry-pick FETCH_HEAD

$ cd meta-cmf-camera
$1. git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-camera refs/changes/7298/6287277098/1 && git cherry-pick FETCH_HEAD

...

Deck of Cards
idframe
Card
defaulttrue
labelRPI0RPI3 B+
titleRPI0 Environment Setup
Code Block
languagebash
titleEnvironment Setup
$ MACHINE=raspberrypi0raspberrypi3-rdk-camera source meta-cmf-raspberrypi/setup-environment
Card
defaulttrue
labelRPI3 B+RPI0
titleEnvironment Setup
Code Block
languagebash
titleEnvironment Setup
$ MACHINE=raspberrypi3raspberrypi0-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

...

This is the temporary steps,once the changes get merged in rdk-next then we will remove this cherry pick details

$ cd cd tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/cvr/git-r0/git $ git fetch https://code.rdkcentral.com/r/rdkc/components/opensource/cvr refs/changes/73/62873/1 && git cherry-pick FETCH_HEAD
Code Block
languagebash

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