...
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
|
...
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 |
---|
language | bash |
---|
title | eSDK fixes |
---|
|
$ Below changes are needed for libcamera
cd meta-cmf-rdkraspberrypi
1. git fetch "https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-rdk"raspberrypi refs/changes/3796/5103777096/12 && git cherry-pick FETCH_HEAD
2. git fetch "https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-rdk"raspberrypi refs/changes/3577/5143576077/14 && git cherry-pick FETCH_HEAD
|
Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate repo
Environment Setup/Choose
Code Block |
---|
|
$ source meta-cmf-raspberrypi/setup-environment
$
cd meta-cmf-raspberrypi/conf/machine/raspberrypi3-rdk-camera.conf ( Choose 14 )
|
Building
Code Block |
---|
|
$ bitbake rdk-generic-camera-image
|
While building, If you get any compile time error. we should follow "Repo Bug Fixes" and start the build.
Repo Bug Fixes
Code Block |
---|
language | bash |
---|
title | Apply bug fixes |
---|
|
$ cd build-raspberrypi3-rdk-camera/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/thumbnail/git-r0/git
$
1. git fetch "https://code.rdkcentral.com/r/rdkccomponents/componentsgeneric/opensource/thumbnail"rdk-oe/meta-cmf-camera refs/changes/3198/4953177098/1 && git cherry-pick FETCH_HEAD |
Environment Setup
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | RPI3 B+ |
---|
title | RPI0 Environment Setup |
---|
| |
| Libcamera fixescd build-MACHINE=raspberrypi3-rdk-camera |
| /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/12/51612/1 && git cherry-pick FETCH_HEAD |
...
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 |
|
|
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
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 |