Skip to end of metadata
Go to start of metadata

Host Setup

Refer the link for host setup details :Host Setup

Build Setup

Initialization

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

Download/Sync

$ repo sync -j `nproc` --no-clone-bundle --no-tags

Layer Bug Fixes

Apply bug fixes
$ cd meta-rdk-camera
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-camera" refs/changes/86/49486/2 && git cherry-pick FETCH_HEAD
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-camera" refs/changes/89/49489/4 && git cherry-pick FETCH_HEAD
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-camera" refs/changes/10/49510/2 && git cherry-pick FETCH_HEAD
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-camera" refs/changes/11/49511/2 && git cherry-pick FETCH_HEAD

$ cd meta-rdk-ext
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/17/49517/1 && git cherry-pick FETCH_HEAD
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/58/48058/1 && 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

$ source meta-cmf-raspberrypi/setup-environment

$ meta-cmf-raspberrypi/conf/machine/raspberrypi3-rdk-camera.conf ( Choose 14 )

Building

$ 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

Apply bug fixes
$ cd build-raspberrypi3-rdk-camera/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/thumbnail/git-r0/git
$ git fetch "https://code.rdkcentral.com/r/rdkc/components/opensource/thumbnail" refs/changes/31/49531/1 && 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

Flash Procedure

$ 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
  • No labels