RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Children Display |
---|
Table of Contents |
---|
...
...
...
Please refer below link for RPI-0 Environment setup
$ repo init -u "https://code.rdkcentral.com/r/rdkcmf/manifests" -m rdkc-nosrc.xml -b master
$ repo sync
$ source meta-cmf-raspberrypi/setup-environment
select meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.conf
$ bitbake rdk-generic-camera-image
$ sudo dd if="Image Name" of="Device Name" bs=4M
Example:
sudo dd if=rdk-generic-camera-image_default_20200130060729.rootfs.rpi-sdimg of=/dev/sdb bs=4M
Refer below link to build camera image
Morty:
RDK-C Build Instruction for RPI-0
RDK-C Build Instruction for RPI-3
Dunfell:
RDK-C rdk-next Yocto 3.1 dunfell build for Raspberrypi
...
STEP 1:
Add require SSID and PSK in /etc/wpa_supplicant.conf file in below format
...
ssid="username"
psk="password"
}
STEP 2:
Reboot the Target
...
Note : Step 1 & 2 is only applicable for fresh target boot-up with new image.
STEP 3:
Modify needed resolution in ems configuration file
Supported Resolution:
SD:
Width - 640 , Height - 480
Width - 720 , Height - 576
HD:
Width - 1280 , Height - 720
FULL HD :
...
Modify resolution in below configuration file
cd /usr/bin/evo/bin
vi ems.conf
After resolution modification need to reboot the target.
Note: This step is not necessary,it is depends on your resolution validation.
STEP 4:
WiFi connection is must needed for EMS validationCVR validation for to move TS content from RPI device into local PC for to play TS content in VLC Player.
Check WiFi connection by using below command.
ifconfig
STEP 54:
check loaded module by using below command
lsmod
STEP 65:
check camera device there or not by using below command
ls /dev/video0
STEP 6:
check mediastreamer binary running status in RPI by using below command
ps -Af | grep mediastreamer
STEP 7:
On Bowser of PC:
http://dh-livevid-dev.comcast.com/bryan/demov3/evoplayersTest.html
Need to modify roomid as rpi0
Press "PLAY" button in WebBrowser page.
...
Run CVR binary in background by using below command.
cvr_daemongst_kvs &
STEP 8:
Check .ts file is available or not in /tmp/cvr folder in RPI device.
STEP 9:
Move .ts file from /tmp/cvr/ folder into local PC with WiFi connection by using below command and Play .ts file in VLC player
scp root@WiFI_IP:/tmp/cvr/TS_FileName .
Example : scp root@192.168.2.70:/tmp/cvr/2020-03031:12:24:27.ts .
Demo - RDK Camera Continuous Video Recording (CVR) Support in RPI - 2020 - M3