Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
titleBuild Steps
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
$ repo sync -j4 --no-clone-bundle
$ source meta-cmf-raspberrypi/setup-environment (Select option raspberrypi-rdk-broadband.conf)
$ bitbake rdk-generic-broadband-image

Note : RPI-3 B and B+ have same Build instructions and testing procedure

Required Hardware

                   The equipment listed below is required for complete functionality of the standalone environment. The only devices that are tested to work properly in this solution are the specific brands and models listed below. Support for other types of equipment is not available at this time.

  1. Raspberry Pi 3 b or Raspberry Pi 3 b+ device
  2. Standard USB keyboard
  3. Television set/monitor with HDMI input.
  4. Ethernet cables
  5. USB-Ethernet Adapter
  6. SD Card ( Preferably 8GB or more )
  7. Tp-link dongles
  8. USB to Serial Debugging Adaptor ( Needed only for serial debugging )

Image result for raspberry pi 3 bImage Removed       

                            RPI 3B

Related imageImage Removed                     

                          RPI 3B+                          

USB to Serial Debug converter Link and set up

Image result for pl2303 usb to ttlImage Removed 

Purchase Link(PL2303) - USB to Serial               

Image result for raspberry pi 3 b serial port connectionImage Removed

RPI 3 Pin Diagram

The above mentioned adaptor (PL2303) will support Linux host machine ( ubuntu ) with proper connection between RPI (for both 3B and B+) as below

  • Connect GND (Pin 6) of RPI with PL2303 GND Pin
  • Connect GPIO14 (Pin 8) of RPI with PL2303 RX Pin
  • Connect GPIO15 (Pin 10) of RPI with PL2303 TX Pin

Image Removed

After connection, please run minicom in host machine to establish serial connection with RPI

https://help.ubuntu.com/community/Minicom

Note : In usual, adaptor will have device name as ttyUSB0 after connected to host PC ( can be checked using dmesg command in host ). Please configure minicom accordingly. 

Dongles Information Links

Flashing Procedure

...

Flashing Procedure


Code Block
themeMidnight
titleFlash command
sudo dd if=<path to ImageName.rpi-sdimg> of=<path to SD card space> bs=4M
Example:
$ sudo dd if=rdk-generic-broadband-image-raspberrypi-rdk-broadband.rpi-sdimg of=/dev/sdb bs=4M


RDK-B Bootup Sequence 

RDKB Boot sequence for Router ProfileImage Added


  • GwProvApp-Ethwan is the entry point for RDK-B stack middleware. It does all gateway initialization as above
  • Responsible to initiate the registration of all services on boot -up. Responsible for all provisioning of LAN,FIREWALL(iptables),BRIDGE,etc
  • GwProvApp-EthWan is specifically designed for Ethernet only Input feed for WAN Network Connection(i,e erouter0)

Router Profile Test Bed using RPI

...