...
Code Block |
---|
|
$ repo sync -j `nproc` --no-clone-bundle --no-tags
|
Layer Cherrypick
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/19/61719/1 && git cherry-pick FETCH_HEAD
$ cd meta-cmf-camera
$ git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-camera refs/changes/20/61720/1 && git cherry-pick FETCH_HEAD |
Environment Setup
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | RPI0 |
---|
title | RPI0 Environment Setup |
---|
| Code Block |
---|
language | bash |
---|
title | Environment Setup |
---|
| $ MACHINE=raspberrypi0-rdk-camera source meta-cmf-raspberrypi/setup-environment |
|
Card |
---|
default | true |
---|
label | RPI3 B+ |
---|
title | Environment Setup |
---|
| Code Block |
---|
language | bash |
---|
title | Environment 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"
Code Block |
---|
|
$ vi conf/local.conf
RMS_STREAM_WITH_PIPEWIRE = "1" |
Building
Code Block |
---|
|
$ bitbake rdk-generic-camera-image
|
Source Code Cherrypick
This is the temporary steps,once the changes get merged in rdk-next then we will remove this cherry pick details
Code Block |
---|
|
$ cd build-raspberrypi3-rdk-camera/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/21/61721/1 && 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 |