RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Children Display |
---|
Table of Contents |
---|
The OpenEmbedded build system should be able to run on Ubuntu 18.04 distribution/other compatible linux distribution with the following versions for Git, tar, and Python.
Note: You should also have about 50 Gbytes of free disk space for building images.
The essential packages you need for a supported Ubuntu or Debian distribution are shown in the following command:
Code Block | ||||
---|---|---|---|---|
| ||||
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ pylint3 xterm bmap-tools $ sudo apt-get install git cmake autoconf texinfo openjdk-8-jdk openjdk-8-jre \ m4 libtool libtool-bin curl pkg-config lib32z1 doxygen |
In order to use Yocto build system, the repo tool must be properly installed on the machine.
To install Repo make sure you have a /bin directory in your home directory and that it is included in your path
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ mkdir ~/bin $ PATH=~/bin:$PATH Download the repo tool and ensure that it is executable $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo |
Note: it is also recommended to put credentials in ~/.netrc when interacting with repo.
A sample ~/.netrc file is illustrated below
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
machine code.rdkcentral.com login YOUR_USERNAME password YOUR_PASSWORD |
To build, follow below instructions
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ mkdir <workspace dir> $ cd <workspace dir> $ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml $ repo sync -j`nproc` --no-clone-bundle |
Please cherry-pick the below changes ,
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
$ cd ~/rdkb/components/opensource/ccsp/CcspMisc git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspMisc refs/changes/95/65895/1 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspCommonLibrary git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspCommonLibrary refs/changes/75/66175/4 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspXDNS git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspXDNS refs/changes/35/66035/1 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspLMLite git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspLMLite refs/changes/92/64692/4 && git cherry-pick FETCH_HEAD $ cd ~/rdk/components/generic/WebconfigFramework git fetch https://code.rdkcentral.com/r/rdk/components/generic/WebconfigFramework refs/changes/23/63823/6 && git cherry-pick FETCH_HEAD $ cd ~/rdk/components/generic/telemetry git fetch https://code.rdkcentral.com/r/rdk/components/generic/telemetry refs/changes/12/65912/4 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspPsm git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspPsm refs/changes/16/65916/1 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspMoCA git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspMoCA refs/changes/36/66036/1 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspHomeSecurity git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspHomeSecurity refs/changes/15/66215/2 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/TestandDiagnostic git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/TestAndDiagnostic refs/changes/62/65862/2 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspTr069Pa git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspTr069Pa refs/changes/34/66034/2 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/hotspot git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/hotspot refs/changes/66/66066/1 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspEthAgent git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspEthAgent refs/changes/48/65848/3 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspSnmpPa git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspSnmpPa refs/changes/27/65327/2 && git cherry-pick FETCH_HEAD $ cd ~/rdkb/components/opensource/ccsp/CcspPandM git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspPandM refs/changes/76/66176/2 && git cherry-pick FETCH_HEAD |
Note : The above bug fixes changes are temporary given as instructions. This is not required once the change is gets merged into the appropriate repo.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ MACHINE=raspberrypi4-64-rdk-broadband source meta-cmf-raspberrypi/setup-environment $ bitbake rdk-generic-broadband-image |
Following command can be used to flash the RPI image to sd card using linux machine . bmap tool should be available in linux
Code Block | ||||
---|---|---|---|---|
| ||||
bzip2 -d <path to ImageName.wic.bz2> sudo -E bmaptool copy --nobmap <path to ImageName.wic> <path to SD card space> Example: $ bzip2 -d rdk-generic-broadband-image-raspberrypi4-64-rdk-broadband.wic.bz2 $ sudo -E bmaptool copy --nobmap rdk-generic-broadband-image-raspberrypi4-64-rdk-broadband.wic /dev/sdb |
No | Feature | Supported |
---|---|---|
1 | LAN Connected Devices-Ethernet | |
2 | WAN Connected Devices-Wi-Fi | |
3 | Parental Control | |
4 | Firewall settings | |
5 | Advanced Config: Port Triggering | |
6 | Advanced Config: Port Forwarding | |
7 | Advanced Config: Remote Management | |
8 | Advanced Config: DMZ | |
9 | Xfinity Wi-Fi 2.4/5 GHz – Public Hotspot | |
10 | Test and Diagnostics | |
11 | Local WebUI Configuration | |
12 | Factory Reset | |
13 | DHCP /Reserved IP | |
14 | EthWan | |
15 | Eth Agent | |
16 | 2.4 GHz Band Support | |
17 | 5 GHz Band Support | |
18 | Bridge Mode Support | |
19 | Persistent Storage Management | |
20 | WebPA for Comcast,community | |
21 | Lost and Found | |
22 | Bluetooth | |
22 | Harvester Support | |
23 | TR-69 | |
24 | SNMP | |
27 | Boot time data measurement | |
28 | Wireless Protection Setup(WPS) | |
29 | Captive Portal | |
30 | Wi-Fi MAC Filtering | |
31 | Log Rotation Support | |
32 | Firmware Upgrade Support | |
33 | Multiboot Support | |
34 | Telemetry Support | |
35 | IPV6 | |
36 | Log level control through CcspLogAgent | |
37 | Band Steering using RSSI | |
38 | Backup and Restore | |
39 | SelfHeal | |
40 | Password-Reset | |
41 | WebUI JST | |
42 | Telemetry 2 | |
43 | RdkWanManager | |
44 | RdkFwUpgradeManager |
Known Issues