RDK Resources

[*ASP Wiki*]

Code Management Facility

Code Releases

RDK Forums

[RDK Conferences]

RDK Support

Archives

Papers & Presentations Archive

In the News!

Skip to end of metadata
Go to start of metadata

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



Build Instructions

To build, follow below instructions

$ 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

Introduction

The Raspberry Pi 3 Model B+ is the latest production Raspberry Pi 3 featuring a 64-bit quad core processor running at 1.4 Ghz. R-Pi3 B+ supports the dual band 2.4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN which provides an high edge for the broadband developer community to test the WiFi functionalities

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.


  Image result for raspberry pi 3 b       

                            RPI 3B


Related image                     

                          RPI 3B+                          


  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 )

USB to Serial Debug converter Link and set up

                

                Image result for pl2303 usb to ttl 

Purchase Link(PL2303) - USB to Serial           

     

       Image result for raspberry pi 3 b serial port connection

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

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. 

Lists of Supported Features

  1. DHCP Gateway Configuration
  2. Connected Devices (Wired/Wireless)
  3. Private Wifi 2g/5g
  4. Xfinity-wifi 2g/5g
  5. Parental Control(Managed Devices,Managed Sites,Managed Services)
  6. Port Forwarding
  7. Remote Management
  8. DMZ
  9. Factory-Reset
  10. Captive Portal 
  11. Password-Reset
  12. Test and Diagnostics
  13. Bridge Mode
  14. Webpa
  15. WPS
  16. Bootchart
  17. MAC Filtering
  18. Firewall Settings
  19. Log level control through EthLogAgent
  20. Firmware Upgrade using Dual bank

Supported Features User manual

  • RDK-B Components - covers components supported by RDKB
  • Utopia covers basic routing features of RDKB 
  • Webui provides the snapshot of RDKB-RPI-webui and control options for routing functionality 

Yocto Modification for RDK B+ Support

  1. Back port of Linux kernel from sumo branch(4.14.68) to morty branch in meta-raspberrypi layer
  2. Modified linux-firmware bbappend in meta-raspberrypi layer to bring up wireless interface
  3. Modified bcm2835-bootfiles bbappend and rdk-rpi.inc (added dtb files) in meta-cmf-raspberrypi layer to boot up  RPI B+ Board
  • No labels

14 Comments

  1. I followed these instructions, and the subsequent image on the RPi 3 B+ would not finish booting. systemd reported that npm failed to initialize, and networking was not operational (the eth0/eth1 interfaces had not been created). If anyone else has seen this or knows what's happening, can you tell me how to resolve these issues? I plan to build a generic RPi image for now and see if that works any better.

    Edited to add: I got syslogd up and running, and I see the following log lines repeated essentially forever:

    raspberrypi-rdk-broadband daemon.info CcspPandMSsp[288]: CosaDmlUIIPRangeGetEntry: Utopia_Init error
    raspberrypi-rdk-broadband daemon.info CcspPandMSsp[288]: CosaDmlUIIPRangeSetValues: Utopia_Init error


    1. Could you please paste the output of ps -ax ? Also please paste the bootlogs

  2. I've just registered and tried to pull RP3 version but I'm getting auth errors:

    tomasz@tomasz-UbuntuVirtualBox:~/projects/rdk_raspi$ repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
    fatal: remote error: access not permitted

    I've followed instructions and created .netrc file with credentials which I'm using to log into this page.

    What am I doing wrong?

    PS. Reposting in correct place.

    1. Please let us know the result of checking out any repo manually in your pc


      For eg:

      git clone "https://code.rdkcentral.com/r/rdkb/components/generic/CcspLogAgent"

      1. That works fine without issues.

        1. OK so it seems the basic access is OK. So now you have

          1. a .netrc file with details filled properly
          2. a public key posted in gerrit settings page( with the private key in .ssh folder in the linux machine )
          3. a .ssh/known_hosts file with the value you obtained from gerrit

          Could you please paste the complete output of the below command?

          git clone https://code.rdkcentral.com/r/manifests

          1. Hello, 

            I have same problem.

            curl: (22) The requested URL returned error: 404
            Server does not provide clone.bundle; ignoring.
            fatal: remote error: access not permitted
            fatal: remote error: access not permitted
            fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

            When I click the URL above I am getting "Not Found" resoponse,

            1. Hello,


              Are you facing this issue when you do 

              git clone https://code.rdkcentral.com/r/manifests

              or when you do the repo init?

              1. While repo init, but I cannot clone this repository also. But I am cloning "https://code.rdkcentral.com/r/rdkb/components/generic/CcspLogAgent" this repository without issues.

                1. Hello,


                  We checked your account. Your account is not registered from a valid licensee email( maybe you registered with a personal email ID? ). For you to clone repo and build code, you need to register from a valid licensee email. If you are part of an organization who is a valid licensee, try signing up with your official mail ID

        2. Hello,


          We checked your account. Your account is not registered from a valid licensee email( maybe you registered with a personal email ID? ). For you to clone repo and build code, you need to register from a valid licensee email. If you are part of an organization who is a valid licensee, try signing up with your official mail ID

  3. If you've already registered and  put your account in '.netrc',

    Check whether you've get git account and registered ssh-key.

    git config --global --list
    1. Where shall I put my .ssh key on rdkcentral?

  4. Probably you should make a git account first

    Follow this direction below....



    Register your SSH key on GitHub.
    cd ~; cd .ssh
    cat id_rsa.pub
    Log in to https://github.com/
    Go to settings, SSH and GPG keys. Add your SSH public key.


    Do additional configuration:

    git config --global user.email "you@example.com"
    git config --global user.name "Your Name"


    git config --global --list