Introduction

The Raspberry Pi 3 Model B+ 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 RDK-B stack with Router, WiFi functionalities. 

Build Instructions and Flashing Procedure 

Hardware and Setup Information


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

RDK-B Bootup Sequence 

RDKB Boot sequence for Router Profile


  • 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

Router Profile Test Bed using R-Pi


Router Functionality Use Case - Internet connectivity for Wired and Wireless Client(s)

  1. Ethernet Port of RPI should be connected to WAN Network
  2. Connect WiFi Dongle to RPI ( Please refer to supported dongle here RDKB RPI Setup Information#DonglesInformationLinks )
  3. Client PC(s)  should be connected to RPI through Usb2Ethernet Adaptor which should be supported by RPI ( Please refer to https://elinux.org/RPi_USB_Ethernet_adapters for supported usb to ethernet adapter by RPI ). Ethernet switch is an optional in between usb2ethernet adapter and Client PC
  4. Once powered on, RPI should be able to list interfaces erouter0,brlan0 and wlan0 after boot up 
  5. Logs can be verified under /rdklogs/logs folder 
  6. Now, client pc should be able to get private ip in the rage 10.0.0.x range 
  7. Two radios are supported by RPI (2.4 and 5 GHz) respectively. By default following SSID's are broadcasted by RPI under respective radio 
    1. 2.4GHz (Private WiFi)
      1. SSID name - "RPI3_RDKB-AP0" 
      2. Password - "rdk@1234"
    2. 5 GHz (Xfinity WiFi)
      1. SSID name - "RPI3_RDKB-AP1" 
      2. Password - "rdk@1234"
  8. Connect mobile with above default SSID name and password for respective radio. Any one radio should be used for establishing connection in mobile
  9. Now, mobile should be able to get private ip in the rage 10.0.0.x range 
  10. To get Internet for both mobile and wired client pc , user should configure captive portal by accessing any url or 10.0.0.1 from mobile browser or PC browser. When RPI image is flashed for the first time captive portal will be enabled which will auto redirect to captive portal page and asks user to re-configure the default SSID name and password of radio(s) . Please refer to Captive Portal in R-Pi User Manual for more information. 
  11. Client PC should be able to connect to internet now. Ping test can also be done by connecting gateway ip 10.0.0.1
  12. Since reconfiguration is done for default SSID username and password in webUI, provide the reconfigured SSID and password in mobile for reconnection with RPI
  13. Now, mobile and wired client pc should be able to browse the internet. Please refer to Clients Connection and its set up Diagram in RPI - User Manual for more information regarding the same for both wired and wireless connection information
  14. Connected client(s) PC and mobile information can be verified through webui by executing URL 10.0.0.1 in Client PC Browser and login with following credentials 
    1. Username : admin
    2. Password : password
  15. Please refer to link Webui Functions for various features that can be controlled through webui 

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 ( Available only with http support )
  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 CcspLogAgent
  20. Firmware Upgrade using Dual bank
  21. Log Rotation Support 
  22. SNMP
  23. Band Steering using RSSI
  24. Backup and Restore
  25. SelfHeal
  26. Telemetry

Supported Features User manual

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

50 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

                  1. Sorry, I'm signed with my company mail, but I have the same issue.

                    There are some step to be done as organizzation? We need to perform some specific request?



        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


  5. I would like to compile a RDK-B image for Raspberry and I'm getting the following error when I'm executing the command "repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml"

    Get https://gerrit.googlesource.com/git-repo/clone.bundle
    Get https://gerrit.googlesource.com/git-repo
    remote: Finding sources: 100% (28/28)
    remote: Total 28 (delta 4), reused 28 (delta 4)
    Unpacking objects: 100% (28/28), done.
    From https://gerrit.googlesource.com/git-repo
    34bc571..7c321f1 master -> origin/master
    Get https://code.rdkcentral.com/r/manifests
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    curl: (22) The requested URL returned error: 404 Not Found
    Server does not provide clone.bundle; ignoring.


    Where is the issue coming from?
    BTW, will the image run on the Raspberry 4 model B with 4gb? 

    1. HI Z-Gilles Printemps,

      It is expected to see a 404 error in the repo init at times. Please see if it is showing error at the end of repo init. It is better if you could post the complete logs

  6. Getting the below error while downloading the code .

    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext/'

    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/devices/intel-x86-pc/rdkemulator/tdk/'

    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-ci20/'
    Password for 'https://Root@123@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk/'
    Username for 'https://code.rdkcentral.com': Password for 'https://Root@123@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext/'


    1. Hi Z-Mahesh Singh,


      Looks like some repo access issue. Could you please let us know your username so that the team can check on the access?

      1. I have the same issue, could you please check my username permission/status?

        Username: c.sicilia

        Regards


        gpg: keyring `/home/rdkb/.repoconfig/gnupg/secring.gpg' created
        gpg: keyring `/home/rdkb/.repoconfig/gnupg/pubring.gpg' created
        gpg: /home/rdkb/.repoconfig/gnupg/trustdb.gpg: trustdb created
        gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
        gpg: key 692B382C: public key "Conley Owens <cco3@android.com>" imported
        gpg: Total number processed: 2
        gpg:               imported: 2  (RSA: 1)
        
        Get https://gerrit.googlesource.com/git-repo/clone.bundle
        Get https://gerrit.googlesource.com/git-repo
        Get https://code.rdkcentral.com/r/manifests
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed
          0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
        curl: (22) The requested URL returned error: 404 Not Found
        Server does not provide clone.bundle; ignoring.
        Username for 'https://code.rdkcentral.com': c.sicilia
        Password for 'https://c.sicilia@code.rdkcentral.com': 
        remote: Unauthorized
        fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'
        Username for 'https://code.rdkcentral.com':
          1. Narayanaswamy Ramaiyer - from access point of view, everything looks ok. 

            1. Z-Cristian Sicilia

              Could you please try the below two commands from the same machine and let us know the result?

              1. Yes! Seems it working, thanks

  7. Has anyone got the below build issue , while building code for raspberry pi 3

    /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration
    | static int memfd_create(const char *name, unsigned int flags)
    | ^~~~~~~~~~~~
    | In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:115:0,
    | from /usr/include/x86_64-linux-gnu/bits/mman.h:45,
    | from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
    | from /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/sysemu/os-posix.h:29,
    | from /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/qemu/osdep.h:104,
    | from /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:28:
    | /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfd_create’ was here
    | int memfd_create (const char *__name, unsigned int __flags) __THROW;
    | ^~~~~~~~~~~~
    | /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/rules.mak:59: recipe for target 'util/memfd.o' failed
    | make: *** [util/memfd.o] Error 1
    | make: *** Waiting for unfinished jobs....
    | WARNING: /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/run.do_compile.11541:1 exit 1 from 'exit 1'
    | ERROR: Function failed: do_compile (log file is located at /home/zhminsa/RDK-B/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.11541)
    ERROR: Task (virtual:native:/home/zhminsa/RDK-B/openembedded-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile) failed with exit code '1'

    1. Hi Z-Mahesh Singh


      This is not seen in regular jenkins builds. Could you please share us the commands run prior to bitbake and any error logs seen then?

  8. Hi Narayanaswamy Ramaiyer

    I was trying to build it on Ubuntu 18.04.

    I have used the same command mentioned in raspberry pi 3 B+ setup manual, provided in rdk documentation.

    However , I am able to build it successfully on docker instance of Ubuntu 16.04.

    there are some steps which I have followed which was not in manual like.

    set username and email

    git --config global user.email "email"

    git --config global user.name "username"

    also,

    To clone the code to my local folder , when we run the repo command after creating a .netrc file.

    I have run the repo command with url https://username@code.rdkcentral.........

    then source setup-environment

    bitbake build command.


    I have followed the manual, But I guess there is some compatibility issues with Ubuntu 18.04.

    With, Ubuntu 16.04 LTS, I have not faced this issue. 


    1. HI Z-Mahesh Singh ,


      We have not officially tried the latest versions on 18.04 Ubuntu. Let us try it out and get back to you

      1. Hi Narayanaswamy Ramaiyer

        I got the same problem while I was building it on the Ubuntu18.04.2 LTS.


        | /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration
        | static int memfd_create(const char *name, unsigned int flags)
        | ^~~~~~~~~~~~
        | In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:115:0,
        | from /usr/include/x86_64-linux-gnu/bits/mman.h:45,
        | from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
        | from /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/sysemu/os-posix.h:29,
        | from /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/qemu/osdep.h:104,
        | from /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:28:
        | /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfd_create’ was here
        | int memfd_create (const char *__name, unsigned int __flags) __THROW;
        | ^~~~~~~~~~~~
        | CC util/bitmap.o
        | /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/rules.mak:59: recipe for target 'util/memfd.o' failed
        | make: *** [util/memfd.o] Error 1
        | make: *** Waiting for unfinished jobs....
        | /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c: In function ‘follow_path’:
        | /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:126:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
        | if (!cursor->populated_entries)
        | ^~
        | /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:128:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
        | cursor = *source;
        | ^~~~~~
        | WARNING: /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/run.do_compile.8435:1 exit 1 from 'exit 1'
        | ERROR: Function failed: do_compile (log file is located at /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.8435)
        ERROR: Task (virtual:native:/home2/jared_huang/rdk-20194q/openembedded-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile) failed with exit code '1'

        1. Hi, Huang JaredNarayanaswamy Ramaiyer Z-Mahesh Singh

          i've encountered the same error. After some research on the web i found out that this has to do with an update on the glibc library in the ubuntu 18.04 distribution. 'memfd_create' is also defined here, which causes a conflict. To resolve this issue I applied the patch as described in: 

          https://git.qemu.org/?p=qemu.git;a=commitdiff;h=75e5b70e6b5dcc4f2219992d7cffa462aa406af0#patch1


          After you fixed this issue and continue compiling, you might run into another error: 


          "error fatal error: /misc/create_inode.c:395:18: error: conflicting types for ‘copy_file_range’ "

          This error is caused by the use of copy_file_range in both glibc 2.27 as well as in e2fsprogs. I resolved this issue by applying the patch described in: 

          https://github.com/openembedded/openembedded-core/commit/0dbe43e520be5e60e3a98fc0e46358bb291b0c13

          https://www.toradex.com/community/questions/24010/errors-with-glibc227-while-building-current-yocto.html?childToView=24039#comment-24039


          After resolving both these issues i was able to compile succesfully on ubuntu 18.04

  9. Hi,

    As per the tech spec RPI 3 B+ has the 2.4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN on board.

    Do we still need the USB dongle for wireless ?

  10. Hi,

    By choose raspberrypi-rdk-broadband.conf and run, both kernel and userspace compiled with armv7 ISA.

    Is there any plan for armv8 ISA for 64?

    When will raspberrypi3-64-rdk-broadband be supported?


    Thanks!

  11. Hello, 

    I try to build the RPI image.

    I got the following issue: 

    builduser@6dfb18b43ea6:~/rdkb$ source meta-cmf-raspberrypi/setup-environment
     1) meta-cmf-96boards/conf/machine/hikey32-rdk-mc.conf
     2) meta-cmf-ci20/conf/machine/ci20-rdk-broadband.conf
     3) meta-cmf-ci20/conf/machine/ci20-rdk-mc.conf
     4) meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.conf
     5) meta-cmf-raspberrypi/conf/machine/raspberrypi3-64-rdk-broadband.conf
     6) meta-cmf-raspberrypi/conf/machine/raspberrypi3-64-rdk-broadband-musl.conf
     7) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-boot-time-broadband.conf
     8) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband.conf
     9) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband-dev.conf
    10) meta-cmf-raspberrypi/conf/machine/raspberrypirdkbroadbandlxc.conf
    11) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband-musl.conf
    12) meta-cmf-raspberrypi/conf/machine/raspberrypirdkhyblxc.conf
    13) meta-cmf-raspberrypi/conf/machine/raspberrypirdkhybrefapp.conf
    14) meta-cmf-raspberrypi/conf/machine/raspberrypirdkhybrefapp-seven-inch-lcd.conf
    15) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid.conf
    16) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-dvb.conf
    17) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-thunder.conf
    18) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-thunder-next.conf
    19) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-westeros.conf
    20) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-mc.conf
    21) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-mc-westeros.conf
    22) meta-jz-mips/conf/machine/creator-ci20.conf
    23) meta-raspberrypi/conf/machine/raspberrypi0.conf
    24) meta-raspberrypi/conf/machine/raspberrypi0-wifi.conf
    25) meta-raspberrypi/conf/machine/raspberrypi2.conf
    26) meta-raspberrypi/conf/machine/raspberrypi3-64.conf
    27) meta-raspberrypi/conf/machine/raspberrypi3.conf
    28) meta-raspberrypi/conf/machine/raspberrypi-cm3.conf
    29) meta-raspberrypi/conf/machine/raspberrypi-cm.conf
    30) meta-raspberrypi/conf/machine/raspberrypi.conf
    31) meta-rdk-bsp-emulator/conf/machine/qemuarmbroadband.conf
    32) meta-rdk-bsp-emulator/conf/machine/qemux86broadband.conf
    33) meta-rdk-bsp-emulator/conf/machine/qemux86broadband-dev.conf
    34) meta-rdk-bsp-emulator/conf/machine/qemux86broadband-morty.conf
    35) meta-rdk-bsp-emulator/conf/machine/qemux86broadband-musl.conf
    36) meta-rdk-bsp-emulator/conf/machine/qemux86hyb.conf
    37) meta-rdk-bsp-emulator/conf/machine/qemux86hyb-dev.conf
    38) meta-rdk-bsp-emulator/conf/machine/qemux86hyb-dvb.conf
    39) meta-rdk-bsp-emulator/conf/machine/qemux86hyb-morty.conf
    40) meta-rdk-bsp-emulator/conf/machine/qemux86mc.conf
    41) meta-rdk-bsp-emulator/conf/machine/qemux86mc-dev.conf
    42) meta-rdk-bsp-emulator/conf/machine/qemux86mc-morty.conf
    43) meta-rdk-containers/conf/machine/qemux86hybsecure.conf
    44) openembedded-core/meta/conf/machine/qemuarm64.conf
    45) openembedded-core/meta/conf/machine/qemuarm.conf
    46) openembedded-core/meta/conf/machine/qemux86-64.conf
    47) openembedded-core/meta/conf/machine/qemux86.conf
    48) openembedded-core/meta-selftest/conf/machine/qemux86copy.conf
    Please enter your choice of machine [1..48]: 8
    
    ### Shell environment set up for builds. ###
    
    You can now run 'bitbake <target>'
    
    
    Common targets are:
        core-image-minimal
        rdk-oss-image
        rdk-generic-hybrid-image
        rdk-generic-hybrid-wpe-image
        rdk-generic-hybrid-thunder-image
        rdk-generic-hybrid-refapp-image
        rdk-generic-hybrid-westeros-wpe-image
        rdk-generic-hybrid-wpe-lxc-image
        rdk-generic-hybrid-wpe-dvb-image
        rdk-generic-mediaclient-image
        rdk-generic-mediaclient-wpe-image
        rdk-generic-mediaclient-westeros-wpe-image
        rdk-generic-broadband-image
        rdk-generic-camera-image
        rdk-generic-broadband-tdk-image
        rdk-generic-broadband-dev-image
        rdk-generic-hybrid-dev-image
        rdk-generic-mediaclient-dev-image
    
    You can also run generated qemu images with a command like 'runqemu qemuarm'
    
    Config files already exist in folder build-raspberrypi-rdk-broadband/conf/, they were not modified.
    BSP Layer selected is: meta-cmf-raspberrypi
    Project path: /home/builduser/rdkb
    Traceback (most recent call last):
      File "meta-cmf/gen-autoconf.py", line 730, in <module>
        main()
      File "meta-cmf/gen-autoconf.py", line 523, in main
        manifest_projects = get_projects(topdir)
      File "meta-cmf/gen-autoconf.py", line 228, in get_projects
        stdout=subprocess.PIPE, cwd=path)
      File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
        errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory

    Is there a fix available? 


    Br,

    Andy

    1. Hi Andreas Wittmann,

      Are you trying to build the code in an already existing build or an altogether fresh build? Can you pls share the repo init and repo sync commands used?

      1. 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


        im using a Ubuntu (16.04) with the following packages:

        apt-get install -y --no-install-recommends --fix-missing make gcc g++ diffstat texinfo chrpath gcc-multilib git gawk build-essential autoconf libtool libncurses-dev gettext gperf lib32z1 libc6 g++-multilib python-git
        apt-get install -y python3
    2. Hi Andy,

      maybe you have already done this, but try to change the chown of your rdkb folder. I have some problem with the owning.


      from terminal, inside rdkb folder:

      ls -lrt -a

      "if only build-raspberrypi-rdk-broadband" has privilieges different from root, make all rdkb folder with privileges of your account:


      sudo chown -hR nameofyouraccount:nameofyouraccount rdkb


      The main problems that I met were about privileges.


      Hope this help you



  12. Hi Andreas Wittmann,

    Please follow the below build instructions :

    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

    Also , please verify your yocto build environment if the issue still persists .

    Regards,
    Priyankaa 


  13. Hello guys,

         has anyone tried running RDK-B on raspberry pi 4? I am not even able to boot the Pi version 4 with generated RDK-B image. Has anyone tried and got it working? If so what was changed to boot the PI? 


    Thanks.

  14. Hello guys,

    I've just installed RDK-B on my RPI3+ and I have installed TDK test manager on my pc. Now, my setup is simply composed of a router connected to the wan of RPI and my pc in the same subnet of the router. 

    When I add a new device in Test manager in section add device RDKB (Type RPI or RDKB gateway, manifacturer raspberry3 ans soc vednor Raspberry3), in particular the RPI, the status of the device isn't found, but I can ping the RPI and I can enter in remote management of RPI.


    Whats wrong?



    Moreover, another question. this link RPI TDK-B Build steps what is for? In RDK-B is also TDK-B agent? i can't understand.


    Thank you very much

  15. Hi,  I've successfully built and booted a telemetry enabled image but don't see any information about resizing the flash
    media.  How is this done.   I'm using a 64 GB flash, are there any recommendations with respect to partition sizes? 

    Is the solution a matter of using fdisk, noting the starting block, deleting the partition, recreate partition with same starting block but new end (defaults to full size of media), then using resize2fs/other?

    Update:  Used Gparted, took a while but it worked.

    Thanks!

  16. Hi Guys I have been able to bring up RDKB on RaspberryPi4. In order to push these changes what do you recommend I should do? Create a new machine type for RDKB4 or just regular instructions should work with these changes?


    Please let me know.

    Thanks.

    1. Hi Z-Mihir Sevak,

                                      Thanks for the update on RDKB RaspberryPi4.our technical team will support you on the same.adding our tech team below

                                    

      Rajkumar Narayanan

      Thanks,

      Chandrakanth



      1. I am posting the link of contribution process

        Community Contribution Process

  17. Hi Mihir Sevak,

    Please let us know, Are you facing any difficulty in pushing the changes to gerrit.

    Thanks and Regards

    Srinivas

    1. Hi Z-srinivas kota ramaiah ,

           there are a couple of things. With my porting of RDKB on RPI4 I am not seeing wlan0 coming up. As a result devices/computers connected to LAN side are not getting IP addresses. brlan0 also is flaky. Sometimes it comes up fine other times it doesn't. I am trying to resolve this issue. If you have any insights please share so I can modify necessary things and try to push changes.


      Another thing is that I am pulling latest kernel of linux which is 4.18.113 as of now but when they upgrade in repo that would change and it would be a constant cat and mouse game so if you have a different strategy let us discuss that. One possible solution can be that you host a stable kernel in your github repo and I can pull it from there.


      If you want we can discuss this over email or slack.

      Thanks.

  18. HI Z-Mihir Sevak

    Please share the steps to port the RDKB on RPI4, we will try to look in to the issues, why wlan0 interface is not coming up, and connectivity issues that you are facing.

    Please find the email address to discuss and sharing the porting info support@rdkcentral.com

    Z-Yogomaya Maharana  Please help us to get connected with Mihir Sevak


    1. Hi Z-srinivas kota ramaiah ,

          I have sent an email to support with my currently stable work and instructions for you to reproduce the results. Please let me know if you have any questions of comments.


      Thanks.

      1. Hi,  everyone! Would you have any update about running RDKB on RPI4? Thank you in advance.

        1. Hello Z-Thiago Navarro

          The current releases are now officially supporting RPi 3b+ only now. We did had some RDK-B builds targeted for RPI4 during the Tech summit 2020 Hackathon. We are expecting to start supporting RPI4 for RDK-B but not in the immediate vicinity . We will check with the corresponding team and update you when a RPI4 port can be expected officially

          1. Thank you! Would you have the issues which were faced during the Hackathon?