...
Code Block |
---|
|
$ 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 |
---|
|
$ cd meta-rdk-camera
$ git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-camera refs/changes/99/66999/4 && git cherry-pick FETCH_HEAD
$ Below changes are needed for libcamera
cd meta-cmf-cameraraspberrypi
$1. git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-cameraraspberrypi refs/changes/0096/6700077096/52 && git cherry-pick FETCH_HEAD
$ cd meta-cmf-raspberrypi
$2. git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi refs/changes/2877/6792876077/34 && git cherry-pick FETCH_HEAD
$ cd meta-rdkcmf-extcamera
$1. git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-rdkcmf-extcamera refs/changes/9398/6469377098/31 && git cherry-pick FETCH_HEAD
|
Environment Setup
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | RPI3 B+ |
---|
title | RPI0 Environment Setup |
---|
| Code Block |
---|
language | bash |
---|
title | Environment Setup |
---|
| $ MACHINE=raspberrypi3-rdk-camera source meta-cmf-raspberrypi/setup-environment |
|
Card |
---|
default | true |
---|
label | RPI0 |
---|
title | Environment Setup |
---|
| Code Block |
---|
language | bash |
---|
title | Environment Setup |
---|
| $ MACHINE=raspberrypi0-rdk-camera source meta-cmf-raspberrypi/setup-environment |
|
|
Compilation Flag
...
ENABLE_PIPEWIRE = "1"
Code Block |
---|
|
$ vi conf/local.conf
ENABLE_PIPEWIRE = "1"
|
Building
Code Block |
---|
|
$ 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
Code Block |
---|
| $ cd tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/pwstream/git-r0/git
$ git fetch https://code.rdkcentral.com/r/rdkc/components/opensource/pwstream refs/changes/26/67926/2 && git cherry-pick FETCH_HEAD
$ cd tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/rms/git-r0/git
$ git fetch https://code.rdkcentral.com/r/rdkc/components/opensource/rms refs/changes/01/67001/3 && git cherry-pick FETCH_HEAD
$ 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/02/67002/2 && git cherry-pick FETCH_HEAD
For webrtc need to apply below cherry-pick's.
$ cd meta-cmf-raspberrypi
$ git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi refs/changes/73/67173/1 && git cherry-pick FETCH_HEAD
$ cd meta-rdk-camera
$ git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-camera refs/changes/72/67172/6 && git cherry-pick FETCH_HEAD |
|
Flash Procedure
Code Block |
---|
|
$ 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 |