RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
$ 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 for RPI-0 Environment setup
Refer below link to build camera image
RDK-C Build Instructions for R-Pi
Refer below link for Image flash Procedure.
...
ssid="username"
psk="password"
}
Code Block | ||||
---|---|---|---|---|
| ||||
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="RDK"
psk="Comcast1"
}
|
STEP 2:
Reboot the Target
After Reboot don't do step 1 and 2.
...
Check WiFi connection by using below command.
ifconfig
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0-rdk-camera:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4552 (4.4 KiB) TX bytes:4552 (4.4 KiB)
wlan0 Link encap:Ethernet HWaddr B8:27:EB:2E:72:2B
inet addr:192.168.43.246 Bcast:192.168.43.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2893 (2.8 KiB) TX bytes:5887 (5.7 KiB)
|
STEP 4:
check Parodus binary running status in RPI by using below command
...
Able to fetch below list of parameter from client( RPI ) device.
Sl# | WebPA Parameter | WebPA Output ( Example ) |
---|---|---|
1 | Device.DeviceInfo.X_RDKCENTRAL-COM_IMAGENAME | RPI-CAM_stable2_20200318070913 |
2 | Device.DeviceInfo.Manufacturer | RPI |
3 | Device.DeviceInfo.X_RDKCENTRAL-COM_MAC | b8:27:eb:2e:72:2b |
4 | Device.DeviceInfo.UpTime | 477 sec |
5 | Device.DeviceInfo.MemoryStatus.Total | 309732.000000 KB |
6 | Device.DeviceInfo.MemoryStatus.Free | 276588.000000 KB |
7 | Device.WiFi.X_RDKCENTRAL-COM_IPv4Address | 192.168.43.246 |
8 | Device.WiFi.X_RDKCENTRAL-COM_PublicIP | 157.46.55.67 |
9 | Device.WiFi.X_RDKCENTRAL-COM_HostName | raspberrypi0-wifi-camera |
10 | Device.WiFi.X_RDKCENTRAL-COM_NetMask | 168.109.28.0 |
11 | Device.WiFi.X_RDKCENTRAL-COM_Gateway | 192.168.43.218 |
12 | Device.WiFi.X_RDKCENTRAL-COM_UserName | root |
13 | Device.DeviceInfo.ModelName | RPIMC |
14 | Device.DeviceInfo.Description | RPIMC Home Security Device |
15 | Device.DeviceInfo.SerialNumber | 000000009e7b277e |
16 | Device.X_RDKCENTRAL-COM_Camera.LiveStream.EvoStream.ServerIP | 192.168.0.107 |
17 | Device.X_RDKCENTRAL-COM_Camera.LiveStream.EvoStream.ServerPort | 81 |
18 | Device.X_RDKCENTRAL-COM_Camera.LiveStream.EvoStream.RoomName | rpi0 |
...