This is the summary page that describes the CMF iteration rdkb-2019046, based on the new branch rdk-next. Below are links to the relevant documents.
Note: The master branch will be deprecated in community repositories at the end of June.
Note: The latest rdkb iteration addresses licensing issues so users are advised to move to the latest iteration.
Note: For the Gerrit links, you need to log in before you will be able to see the contents.
A detailed changelog since the last iteration RDK-B_20190206 can be found here.
Baseline
Highlights
Components updated:
- breakpad_wrapper, crashupload, libSyscallWrapper, lxc-container-generator, rdk_logger, rdm, rfc, mem_analyser_tools, xconf-simulator, xupnp, rdkb/components/generic/CcspLogAgent, rdkb/components/generic/servicemanager, CcspCMAgent, CcspCommonLibrary, CcspEPONAgent, CcspHomeSecurity, CcspLMLite, CcspMisc, CcspMoCA, CcspMtaAgent, CcspPandM, CcspPsm, CcspSnmpPa, CcspTr069Pa, CcspWifiAgent, CcspXDNS, GwProvApp, GwProvApp-EthWan, MeshAgent, TestAndDiagnostic, Utopia, Xconf, hal, halinterface, hotspot, sysint, webui, rdkb/devices/intel-x86-pc/emulator/tdkb, rdkb/devices/raspberrypi/hal, rdkb/devices/raspberrypi/sysint, rdkb/devices/rdkbemu/ccsp/rdkb, rdkb/devices/rdkbemu/rdkbemu_xb3
Patches:
- Separate patch files for the open-source OE layers are no longer maintained. Instead, mirrors of the OE layers used by RDK are maintained at CMF, containing rdk branches that contain the patches already applied. The RDK build scripts and recipes now all use these instead of the previous patches.
Community contributions:
Getting the code
Note: The manifests repository is only available to RDK licensees.
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-20190426
$ repo sync -j4 --no-clone-bundle
- The -m rdkb.xml in the build sequence above is important. If this is not specified, you will get an RDK-V tree by default.
- The -b rdkb-20190426 in the build sequence above specifies the branch to use.
- If you omit the -b rdkb-20190426 entirely, you will get the HEAD of each component which may be the latest Master.
Building for the emulator
$ source meta-cmf-bsp-emulator/setup-environment (select qemux86broadband-morty)
$ bitbake rdk-generic-broadband-image
The image path will be: build-qemux86broadband-morty/tmp/deploy/images/qemux86broadband-morty/rdk-generic-broadband-image-qemux86broadband-morty.vmdk
To build TDK, follow the steps as for a normal build, above, but use the following bitbake command:
$ bitbake rdk-generic-broadband-tdk-image
The image path will be: build-qemux86broadband-morty/tmp/deploy/images/qemux86broadband-morty/rdk-generic-broadband-tdk-image-qemux86broadband-morty.vmdk
TDK documentation is available here: release M62
Running the emulator
- Start VirtualBox.
- Click New -> Enter name -> Select type Linux -> Select version Other Linux (32 bit) -> Click Next
- Select Memory size - 512MB -> Click Next
- Select option Use an existing virtual hard drive -> Select the built image above -> Click Create
- Once the VM has been created, select the new image and click Settings -> Network -> Select Attached to: 'Bridged Adapter' -> Click Ok
- Click Start. This will bring up the emulator with the initial splash screen
Building for RaspberryPi
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-20190427
$ repo sync -j4 --no-clone-bundle
$ source meta-cmf-raspberrypi/setup-environment
Select option raspberrypi-rdk-broadband.conf
$ bitbake rdk-generic-broadband-image
Note. The kernel Image and root filesystem will be created under the ./tmp/deploy/images/raspberrypi-rdk-broadband folder
Running on the RaspberryPi
Please see RDK Broadband (RaspberryPi)
Documentation for RDK-B on RaspberryPi
RDK Broadband (RaspberryPi)
Sanity Testing
Sanity tests include:
- Services checks (wifiagent, hostapd, ..)
- Network (WAN) connectivity (ssh connection)
- Wifi 2.4Ghz and 5Ghz hotspot testing.
- Login, menu navigation, parameter modification, e.g. Wifi SSID/password change and re-connection, changing admin password.
Known Issues
Known issues are detailed here.