Skip to end of metadata
Go to start of metadata

Introduction

This manual describes the rdk-generic-broadband-image build procedure for Yocto 3.1 builds. This will upgrade the default build system used in RDKB, from morty(2.2) to dunfell(3.1). In addition to upgrades to opensource packages, Yocto 3.1 also contain Long term Support release feature. The current version lacks the variety of features available in the dunfell. The upgraded build tools will be used to generate rdk-generic-broadband-image for Raspberrypi reference platform. 

Yocto 3.1 Upgradation support the following:

  • Yocto BSP layer for meta-raspberrypi.
  • OpenEmbedded and Yocto Dunfell.
  • Linux kernel 5.4.72.
  • Version upgrades for bitbake, and other oe/python recipes.

Each component in RDK is a standalone repository with its own individual build tools producing a library or set of binaries. When we upgrade the OE layers to the newer versions, we need to make necessary changes in the RDK layers which use these components, to avoid build failures.

Host Setup

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.

  • Git 1.8.3.1 or greater
  • tar 1.27 or greater
  • Python 3.4.0 or greater
  • Coreutils(E.g realpath)

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:

$ 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

Repo Setup

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

Repo Setup Steps
$ 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

.netrc
machine code.rdkcentral.com
login YOUR_USERNAME
password YOUR_PASSWORD

Yocto Build Steps

To build, follow below instructions

Build Steps
$ 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
$ MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment
$ bitbake rdk-generic-broadband-image

 

Flashing Procedure

Following command can be used to flash the RPI image to sd card using linux machine . bmap tool should be available in linux

Flash command
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-raspberrypi-rdk-broadband.wic.bz2
$ sudo -E bmaptool copy --nobmap rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic /dev/sdb

Validated Functionalities


No

Feature

Supported

1LAN Connected Devices-Ethernet(tick)
2WAN Connected Devices-Wi-Fi(tick)
3Parental Control(tick)
4Firewall settings(tick)
5Advanced Config: Port Triggering(error)
6Advanced Config: Port Forwarding(tick)
7Advanced Config: Remote Management(tick)
8Advanced Config: DMZ(tick)
9Xfinity Wi-Fi 2.4/5 GHz – Public Hotspot(tick)
10Test and Diagnostics(tick)
11Local WebUI Configuration(tick)
12Factory Reset(tick)
13DHCP /Reserved IP(tick)
14EthWan(tick)
15Eth Agent(tick)
162.4 GHz Band Support(tick)
175 GHz Band Support(tick)
18Bridge Mode Support(tick)
19Persistent Storage Management(tick)
20WebPA for Comcast,community(tick)
21Lost and Found(error)
22Bluetooth(error)
22Harvester Support(error)
23TR-69(error)
24SNMP(tick)
27Boot time data measurement(error)
28Wireless Protection Setup(WPS)(tick)
29Captive Portal(tick)
30Wi-Fi MAC Filtering(error)
31Log Rotation Support(tick)
32Firmware Upgrade Support(tick)
33Multiboot Support(tick)
34Telemetry Support(tick)
35IPV6(error)
     36

Log level control through CcspLogAgent

                (tick)
      37

Band Steering using RSSI

                (tick)  
      38

Backup and Restore

                (error)
      39

SelfHeal

                (tick) 
       40Password-Reset                (tick) 
       41WebUI JST                  (tick) 




  • No labels

80 Comments

  1. repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml

    The above command fails with the following error:

    fatal: remote error: access at least one ref not permitted
    
    manifests:
    None

    Is that a permission issue?

    1. Hello Serhiy Chumak 

      While most of the RDK components are available free, a handful of components are distributed under the free RDK License Agreement.
      To obtain the RDK License Agreement, please fill in the form on the right side of this page and click submit. Upon full execution of the agreement, you will be provided access to the RDK source code components. Please contact RDK Management at info@rdkcentral.com in case you need more information.

      Thanks,

      Yogo


  2. Hi, I'm following the steps in this procedure but when I bitbake the image, I got next error: 

    ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

    | Please set the JAVA_HOME variable in your environment to match the
    | location of your Java installation.

    I've tried to resolve it, doing 

    export JAVA_HOME=/usr/share/java , but it can't finish bitbake successfully, 

    may  you give me a hand with that? 

    thank u! 

    1. Hi Felipe Gómez Fonseca 


      Could you please share us the results of below commands?

      which java
      echo $JAVA_HOME


      Also, did you add the 'export JAVA_HOME' command in the terminal or in ~/.bash_rc file?

  3. Hi,

    while trying to build for pi4, this error happens. I think due to bad checksum or so the download isn't successful with wget. Is the archive corrupt. where is the recipe file that does the do_fetch located. bootfiles.bb contains only do_deploy, though the error seems to orginates from here. The download halts at 18.3MB something always. checksum fail?.

    I am a noob in RDK. any help is much appreciated. Thankyou.

    log:

    WARNING: bootfiles-20210527-r3 do_fetch: Failed to fetch URL https://github.com/raspberrypi/firmware/archive/1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz;downloadfilename=raspberrypi-firmware-1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz, attempting MIRRORS if available
    ERROR: bootfiles-20210527-r3 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/akshay/4b/openembedded-core/scripts:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/recipe-sysroot-native/usr/bin/arm-rdk-linux-gnueabi:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/recipe-sysroot/usr/bin/crossscripts:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/recipe-sysroot-native/usr/sbin:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/recipe-sysroot-native/usr/bin:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/recipe-sysroot-native/sbin:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/recipe-sysroot-native/bin:/home/akshay/4b/openembedded-core/bitbake/bin:/home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/hosttools"; export HOME="/home/akshay"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /home/akshay/4b/build-raspberrypi4-rdk-broadband/../downloads/raspberrypi-firmware-1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz -P /home/akshay/4b/build-raspberrypi4-rdk-broadband/../downloads 'https://github.com/raspberrypi/firmware/archive/1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz' --progress=dot -v failed with exit code 4, output:
    --2021-08-02 07:28:59--  https://github.com/raspberrypi/firmware/archive/1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz
    Resolving github.com (github.com)... 13.234.176.102
    Connecting to github.com (github.com)|13.234.176.102|:443... connected.
    WARNING: cannot verify github.com's certificate, issued by ‘CN=10.47.1.250’:
      Self-signed certificate encountered.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/raspberrypi/firmware/tar.gz/1eb8921ae7158249894f89e8bb6c4bfb04ec7377 [following]
    --2021-08-02 07:28:59--  https://codeload.github.com/raspberrypi/firmware/tar.gz/1eb8921ae7158249894f89e8bb6c4bfb04ec7377
    Resolving codeload.github.com (codeload.github.com)... 13.233.43.20
    Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
    WARNING: cannot verify codeload.github.com's certificate, issued by ‘CN=10.47.1.250’:
      Self-signed certificate encountered.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘/home/akshay/4b/build-raspberrypi4-rdk-broadband/../downloads/raspberrypi-firmware-1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz’

         0K .......... .......... .......... .......... ..........  235K
        50K .......... .......... .......... .......... .......... 68.6M
       100K .......... .......... .......... .......... .......... 42.8M
       150K .......... .......... .......... .......... .......... 48.7M
       200K .......... .......... .......... .......... .......... 45.6M
       250K .......... .......... .......... .......... .......... 46.5M
       300K .......... .......... .......... .......... .......... 47.4M
       350K .......... .......... .......... .......... .......... 53.4M
       400K .......... .......... .......... .......... .......... 41.1M
       450K .......... .......... .......... .......... ..........  110M
       500K .......... .......... .......... .......... ..........  165M
       550K .......... .......... .......... .......... .......... 68.1M
       600K .......... .......... .......... .......... .......... 28.6M
       650K .......... .......... .......... .......... .......... 2.70M
       700K .......... .......... .......... .......... .......... 8.09M
       750K .......... .......... .......... .......... .......... 5.71M
       800K .......... .......... .......... .......... .......... 5.40M
       850K .......... .......... .......... .......... .......... 2.94M
       900K .......... .......... .......... .......... .......... 20.2M
       950K .......... .......... .......... .......... .......... 6.40M
      1000K .......... .......... .......... .......... .......... 5.51M
      1050K .......... .......... .......... .......... .......... 3.28M
      1100K .......... .......... .......... .......... .......... 11.3M
      1150K .......... .......... .......... .......... .......... 5.40M
      1200K .......... .......... .......... .......... .......... 2.93M
      1250K .......... .......... .......... .......... .......... 13.2M
      1300K .......... .......... .......... .......... .......... 9.54M
      1350K .......... .......... .......... .......... .......... 6.41M
      1400K .......... .......... .......... .......... .......... 6.26M
      1450K .......... .......... .......... .......... .......... 3.82M
      1500K .......... .......... .......... .......... .......... 11.0M
      1550K .......... .......... .......... .......... .......... 5.09M
      1600K .......... .......... .......... .......... .......... 10.0M
      1650K .......... .......... .......... .......... .......... 3.50M
      1700K .......... .......... .......... .......... .......... 9.65M
      1750K .......... .......... .......... .......... .......... 12.9M
      1800K .......... .......... .......... .......... .......... 5.81M
      1850K .......... .......... .......... .......... .......... 3.56M
      1900K .......... .......... .......... .......... .......... 11.5M
      1950K .......... .......... .......... .......... .......... 9.98M
      2000K .......... .......... .......... .......... .......... 6.66M
      2050K .......... .......... .......... .......... .......... 6.25M
      2100K .......... .......... .......... .......... .......... 4.30M
      2150K .......... .......... .......... .......... .......... 18.9M
      2200K .......... .......... .......... .......... .......... 11.5M
      2250K .......... .......... .......... .......... .......... 7.33M
      2300K .......... .......... .......... .......... .......... 5.58M
      2350K .......... .......... .......... .......... .......... 3.44M
      2400K .......... .......... .......... .......... .......... 18.9M
      2450K .......... .......... .......... .......... .......... 17.9M
      2500K .......... .......... .......... .......... .......... 6.69M
      2550K .......... .......... .......... .......... .......... 11.0M
      2600K .......... .......... .......... .......... .......... 2.90M
      2650K .......... .......... .......... .......... .......... 11.7M
      2700K .......... .......... .......... .......... .......... 11.4M
      2750K .......... .......... .......... .......... .......... 14.5M
      2800K .......... .......... .......... .......... .......... 14.7M
      2850K .......... .......... .......... .......... .......... 2.98M
      2900K .......... .......... .......... .......... .......... 12.6M
      2950K .......... .......... .......... .......... .......... 12.9M
      3000K .......... .......... .......... .......... .......... 18.8M
      3050K .......... .......... .......... .......... .......... 9.55M
      3100K .......... .......... .......... .......... .......... 7.11M
      3150K .......... .......... .......... .......... .......... 3.57M
      3200K .......... .......... .......... .......... .......... 16.3M
      3250K .......... .......... .......... .......... .......... 15.1M
      3300K .......... .......... .......... .......... .......... 19.0M
      3350K .......... .......... .......... .......... .......... 8.35M
      3400K .......... .......... .......... .......... .......... 8.81M
      3450K .......... .......... .......... .......... .......... 3.69M
      3500K .......... .......... .......... .......... .......... 18.5M
      3550K .......... .......... .......... .......... .......... 13.2M
      3600K .......... .......... .......... .......... .......... 17.3M
      3650K .......... .......... .......... .......... .......... 9.38M
      3700K .......... .......... .......... .......... .......... 12.5M
      3750K .......... .......... .......... .......... .......... 3.66M
      3800K .......... .......... .......... .......... .......... 13.5M
      3850K .......... .......... .......... .......... .......... 16.8M
      3900K .......... .......... .......... .......... .......... 14.9M
      3950K .......... .......... .......... .......... .......... 10.1M
      4000K .......... .......... .......... .......... .......... 19.0M
      4050K .......... .......... .......... .......... .......... 8.34M
      4100K .......... .......... .......... .......... .......... 3.65M
      4150K .......... .......... .......... .......... .......... 20.3M
      4200K .......... .......... .......... .......... .......... 19.8M
      4250K .......... .......... .......... .......... .......... 13.4M
      4300K .......... .......... .......... .......... .......... 14.3M
      4350K .......... .......... .......... .......... .......... 9.37M
      4400K .......... .......... .......... .......... .......... 9.99M
      4450K .......... .......... .......... .......... .......... 5.02M
      4500K .......... .......... .......... .......... .......... 11.9M
      4550K .......... .......... .......... .......... .......... 17.8M
      4600K .......... .......... .......... .......... .......... 6.32M
      4650K .......... .......... .......... .......... .......... 19.7M
      4700K .......... .......... .......... .......... .......... 28.3M
      4750K .......... .......... .......... .......... .......... 10.9M
      4800K .......... .......... .......... .......... .......... 4.54M
      4850K .......... .......... .......... .......... .......... 29.1M
      4900K .......... .......... .......... .......... .......... 14.2M
      4950K .......... .......... .......... .......... .......... 8.37M
      5000K .......... .......... .......... .......... .......... 11.3M
      5050K .......... .......... .......... .......... .......... 8.98M
      5100K .......... .......... .......... .......... .......... 8.78M
      5150K .......... .......... .......... .......... .......... 9.09M
      5200K .......... .......... .......... .......... .......... 21.5M
      5250K .......... .......... .......... .......... .......... 20.8M
      5300K .......... .......... .......... .......... .......... 16.6M
      5350K .......... .......... .......... .......... .......... 6.11M
      5400K .......... .......... .......... .......... .......... 11.3M
      5450K .......... .......... .......... .......... .......... 14.3M
      5500K .......... .......... .......... .......... .......... 9.34M
      5550K .......... .......... .......... .......... .......... 8.09M
      5600K .......... .......... .......... .......... .......... 13.5M
      5650K .......... .......... .......... .......... .......... 21.7M
      5700K .......... .......... .......... .......... .......... 16.3M
      5750K .......... .......... .......... .......... .......... 9.09M
      5800K .......... .......... .......... .......... .......... 12.2M
      5850K .......... .......... .......... .......... .......... 16.5M
      5900K .......... .......... .......... .......... .......... 6.62M
      5950K .......... .......... .......... .......... .......... 5.96M
      6000K .......... .......... .......... .......... .......... 2.30M
      6050K .......... .......... .......... .......... ..........  106M
      6100K .......... .......... .......... .......... .......... 91.1M
      6150K .......... .......... .......... .......... .......... 89.3M
      6200K .......... .......... .......... .......... .......... 72.1M
      6250K .......... .......... .......... .......... ..........  130M
      6300K .......... .......... .......... .......... .......... 32.5M
      6350K .......... .......... .......... .......... .......... 9.78M
      6400K .......... .......... .......... .......... .......... 11.3M
      6450K .......... .......... .......... .......... .......... 19.1M
      6500K .......... .......... .......... .......... .......... 19.8M
      6550K .......... .......... .......... .......... .......... 10.6M
      6600K .......... .......... .......... .......... .......... 31.1M
      6650K .......... .......... .......... .......... .......... 17.6M
      6700K .......... .......... .......... .......... .......... 7.75M
      6750K .......... .......... .......... .......... .......... 6.13M
      6800K .......... .......... .......... .......... .......... 11.1M
      6850K .......... .......... .......... .......... .......... 13.0M
      6900K .......... .......... .......... .......... .......... 20.9M
      6950K .......... .......... .......... .......... .......... 12.3M
      7000K .......... .......... .......... .......... .......... 9.92M
      7050K .......... .......... .......... .......... .......... 33.2M
      7100K .......... .......... .......... .......... .......... 23.6M
      7150K .......... .......... .......... .......... .......... 17.3M
      7200K .......... .......... .......... .......... .......... 15.9M
      7250K .......... .......... .......... .......... .......... 7.54M
      7300K .......... .......... .......... .......... .......... 12.8M
      7350K .......... .......... .......... .......... .......... 7.38M
      7400K .......... .......... .......... .......... .......... 9.19M
      7450K .......... .......... .......... .......... .......... 22.1M
      7500K .......... .......... .......... .......... .......... 14.4M
      7550K .......... .......... .......... .......... .......... 24.0M
      7600K .......... .......... .......... .......... .......... 28.9M
      7650K .......... .......... .......... .......... .......... 22.1M
      7700K .......... .......... .......... .......... .......... 17.3M
      7750K .......... .......... .......... .......... .......... 8.75M
      7800K .......... .......... .......... .......... .......... 12.9M
      7850K .......... .......... .......... .......... .......... 8.19M
      7900K .......... .......... .......... .......... .......... 12.9M
      7950K .......... .......... .......... .......... .......... 19.9M
      8000K .......... .......... .......... .......... .......... 11.4M
      8050K .......... .......... .......... .......... .......... 10.4M
      8100K .......... .......... .......... .......... .......... 25.0M
      8150K .......... .......... .......... .......... .......... 56.8M
      8200K .......... .......... .......... .......... .......... 11.5M
      8250K .......... .......... .......... .......... .......... 11.9M
      8300K .......... .......... .......... .......... .......... 17.4M
      8350K .......... .......... .......... .......... .......... 13.1M
      8400K .......... .......... .......... .......... .......... 8.34M
      8450K .......... .......... .......... .......... .......... 14.8M
      8500K .......... .......... .......... .......... .......... 10.5M
      8550K .......... .......... .......... .......... .......... 9.52M
      8600K .......... .......... .......... .......... .......... 21.0M
      8650K .......... .......... .......... .......... .......... 21.5M
      8700K .......... .......... .......... .......... .......... 23.4M
      8750K .......... .......... .......... .......... .......... 15.0M
      8800K .......... .......... .......... .......... .......... 21.7M
      8850K .......... .......... .......... .......... .......... 18.6M
      8900K .......... .......... .......... .......... .......... 6.03M
      8950K .......... .......... .......... .......... .......... 19.9M
      9000K .......... .......... .......... .......... .......... 17.0M
      9050K .......... .......... .......... .......... .......... 7.99M
      9100K .......... .......... .......... .......... .......... 9.29M
      9150K .......... .......... .......... .......... .......... 54.1M
      9200K .......... .......... .......... .......... .......... 9.50M
      9250K .......... .......... .......... .......... .......... 9.51M
      9300K .......... .......... .......... .......... .......... 5.41M
      9350K .......... .......... .......... .......... ..........  214M
      9400K .......... .......... .......... .......... ..........  198M
      9450K .......... .......... .......... .......... .......... 11.8M
      9500K .......... .......... .......... .......... .......... 15.2M
      9550K .......... .......... .......... .......... .......... 11.5M
      9600K .......... .......... .......... .......... .......... 14.6M
      9650K .......... .......... .......... .......... .......... 9.76M
      9700K .......... .......... .......... .......... .......... 38.0M
      9750K .......... .......... .......... .......... .......... 6.99M
      9800K .......... .......... .......... .......... .......... 15.5M
      9850K .......... .......... .......... .......... .......... 8.08M
      9900K .......... .......... .......... .......... .......... 15.0M
      9950K .......... .......... .......... .......... .......... 20.3M
     10000K .......... .......... .......... .......... .......... 28.6M
     10050K .......... .......... .......... .......... .......... 15.1M
     10100K .......... .......... .......... .......... .......... 9.19M
     10150K .......... .......... .......... .......... .......... 21.5M
     10200K .......... .......... .......... .......... .......... 28.8M
     10250K .......... .......... .......... .......... .......... 6.87M
     10300K .......... .......... .......... .......... .......... 7.44M
     10350K .......... .......... .......... .......... .......... 22.0M
     10400K .......... .......... .......... .......... .......... 12.3M
     10450K .......... .......... .......... .......... .......... 11.0M
     10500K .......... .......... .......... .......... .......... 18.0M
     10550K .......... .......... .......... .......... .......... 26.9M
     10600K .......... .......... .......... .......... .......... 21.2M
     10650K .......... .......... .......... .......... .......... 26.1M
     10700K .......... .......... .......... .......... .......... 8.73M
     10750K .......... .......... .......... .......... .......... 9.40M
     10800K .......... .......... .......... .......... .......... 11.8M
     10850K .......... .......... .......... .......... .......... 18.8M
     10900K .......... .......... .......... .......... .......... 8.54M
     10950K .......... .......... .......... .......... .......... 44.1M
     11000K .......... .......... .......... .......... .......... 10.1M
     11050K .......... .......... .......... .......... .......... 13.8M
     11100K .......... .......... .......... .......... .......... 11.2M
     11150K .......... .......... .......... .......... ..........  216M
     11200K .......... .......... .......... .......... .......... 15.3M
     11250K .......... .......... .......... .......... .......... 8.17M
     11300K .......... .......... .......... .......... .......... 16.0M
     11350K .......... .......... .......... .......... .......... 7.87M
     11400K .......... .......... .......... .......... .......... 25.7M
     11450K .......... .......... .......... .......... .......... 11.3M
     11500K .......... .......... .......... .......... .......... 17.1M
     11550K .......... .......... .......... .......... .......... 24.7M
     11600K .......... .......... .......... .......... .......... 9.31M
     11650K .......... .......... .......... .......... .......... 14.1M
     11700K .......... .......... .......... .......... .......... 32.2M
     11750K .......... .......... .......... .......... .......... 12.5M
     11800K .......... .......... .......... .......... .......... 8.02M
     11850K .......... .......... .......... .......... .......... 12.2M
     11900K .......... .......... .......... .......... .......... 17.3M
     11950K .......... .......... .......... .......... .......... 12.3M
     12000K .......... .......... .......... .......... .......... 5.88M
     12050K .......... .......... .......... .......... .......... 88.4M
     12100K .......... .......... .......... .......... .......... 10.5M
     12150K .......... .......... .......... .......... .......... 4.48M
     12200K .......... .......... .......... .......... .......... 93.0M
     12250K .......... .......... .......... .......... .......... 86.9M
     12300K .......... .......... .......... .......... .......... 16.4M
     12350K .......... .......... .......... .......... .......... 4.97M
     12400K .......... .......... .......... .......... .......... 21.9M
     12450K .......... .......... .......... .......... .......... 21.8M
     12500K .......... .......... .......... .......... .......... 14.0M
     12550K .......... .......... .......... .......... .......... 14.1M
     12600K .......... .......... .......... .......... .......... 18.6M
     12650K .......... .......... .......... .......... .......... 29.5M
     12700K .......... .......... .......... .......... .......... 19.1M
     12750K .......... .......... .......... .......... .......... 16.5M
     12800K .......... .......... .......... .......... .......... 5.23M
     12850K .......... .......... .......... .......... .......... 7.91M
     12900K .......... .......... .......... .......... .......... 12.0M
     12950K .......... .......... .......... .......... .......... 8.88M
     13000K .......... .......... .......... .......... .......... 18.9M
     13050K .......... .......... .......... .......... .......... 30.8M
     13100K .......... .......... .......... .......... .......... 17.8M
     13150K .......... .......... .......... .......... .......... 17.6M
     13200K .......... .......... .......... .......... .......... 19.8M
     13250K .......... .......... .......... .......... .......... 5.55M
     13300K .......... .......... .......... .......... .......... 10.2M
     13350K .......... .......... .......... .......... .......... 23.3M
     13400K .......... .......... .......... .......... .......... 13.5M
     13450K .......... .......... .......... .......... .......... 17.8M
     13500K .......... .......... .......... .......... .......... 14.1M
     13550K .......... .......... .......... .......... .......... 15.2M
     13600K .......... .......... .......... .......... .......... 10.2M
     13650K .......... .......... .......... .......... .......... 27.7M
     13700K .......... .......... .......... .......... .......... 23.8M
     13750K .......... .......... .......... .......... .......... 7.72M
     13800K .......... .......... .......... .......... .......... 8.78M
     13850K .......... .......... .......... .......... .......... 15.2M
     13900K .......... .......... .......... .......... .......... 20.1M
     13950K .......... .......... .......... .......... .......... 13.0M
     14000K .......... .......... .......... .......... .......... 17.4M
     14050K .......... .......... .......... .......... .......... 11.0M
     14100K .......... .......... .......... .......... .......... 21.6M
     14150K .......... .......... .......... .......... .......... 15.4M
     14200K .......... .......... .......... .......... .......... 19.0M
     14250K .......... .......... .......... .......... .......... 11.3M
     14300K .......... .......... .......... .......... .......... 6.81M
     14350K .......... .......... .......... .......... .......... 8.94M
     14400K .......... .......... .......... .......... .......... 15.7M
     14450K .......... .......... .......... .......... .......... 20.1M
     14500K .......... .......... .......... .......... .......... 14.1M
     14550K .......... .......... .......... .......... .......... 19.0M
     14600K .......... .......... .......... .......... .......... 13.6M
     14650K .......... .......... .......... .......... .......... 17.5M
     14700K .......... .......... .......... .......... .......... 19.4M
     14750K .......... .......... .......... .......... .......... 7.57M
     14800K .......... .......... .......... .......... .......... 10.3M
     14850K .......... .......... .......... .......... .......... 11.1M
     14900K .......... .......... .......... .......... .......... 36.8M
     14950K .......... .......... .......... .......... .......... 15.9M
     15000K .......... .......... .......... .......... .......... 18.5M
     15050K .......... .......... .......... .......... .......... 10.6M
     15100K .......... .......... .......... .......... .......... 14.0M
     15150K .......... .......... .......... .......... .......... 16.9M
     15200K .......... .......... .......... .......... .......... 15.6M
     15250K .......... .......... .......... .......... .......... 6.90M
     15300K .......... .......... .......... .......... .......... 14.9M
     15350K .......... .......... .......... .......... .......... 6.44M
     15400K .......... .......... .......... .......... .......... 13.7M
     15450K .......... .......... .......... .......... .......... 13.8M
     15500K .......... .......... .......... .......... .......... 23.8M
     15550K .......... .......... .......... .......... .......... 17.0M
     15600K .......... .......... .......... .......... .......... 14.2M
     15650K .......... .......... .......... .......... .......... 20.9M
     15700K .......... .......... .......... .......... .......... 25.8M
     15750K .......... .......... .......... .......... .......... 9.65M
     15800K .......... .......... .......... .......... .......... 16.7M
     15850K .......... .......... .......... .......... .......... 6.03M
     15900K .......... .......... .......... .......... .......... 15.4M
     15950K .......... .......... .......... .......... .......... 20.9M
     16000K .......... .......... .......... .......... .......... 7.37M
     16050K .......... .......... .......... .......... .......... 18.9M
     16100K .......... .......... .......... .......... .......... 20.9M
     16150K .......... .......... .......... .......... .......... 17.5M
     16200K .......... .......... .......... .......... .......... 29.0M
     16250K .......... .......... .......... .......... .......... 10.4M
     16300K .......... .......... .......... .......... .......... 12.4M
     16350K .......... .......... .......... .......... .......... 12.1M
     16400K .......... .......... .......... .......... .......... 5.05M
     16450K .......... .......... .......... .......... .......... 42.2M
     16500K .......... .......... .......... .......... .......... 6.66M
     16550K .......... .......... .......... .......... .......... 17.7M
     16600K .......... .......... .......... .......... .......... 22.2M
     16650K .......... .......... .......... .......... .......... 9.33M
     16700K .......... .......... .......... .......... .......... 44.4M
     16750K .......... .......... .......... .......... .......... 12.5M
     16800K .......... .......... .......... .......... .......... 27.2M
     16850K .......... .......... .......... .......... .......... 25.6M
     16900K .......... .......... .......... .......... .......... 6.38M
     16950K .......... .......... .......... .......... .......... 8.29M
     17000K .......... .......... .......... .......... .......... 10.7M
     17050K .......... .......... .......... .......... .......... 9.87M
     17100K .......... .......... .......... .......... .......... 16.4M
     17150K .......... .......... .......... .......... .......... 23.8M
     17200K .......... .......... .......... .......... .......... 23.8M
     17250K .......... .......... .......... .......... .......... 23.4M
     17300K .......... .......... .......... .......... .......... 10.4M
     17350K .......... .......... .......... .......... .......... 5.93M
     17400K .......... .......... .......... .......... .......... 11.1M
     17450K .......... .......... .......... .......... .......... 20.5M
     17500K .......... .......... .......... .......... .......... 8.96M
     17550K .......... .......... .......... .......... .......... 5.11M
     17600K .......... .......... .......... .......... .......... 17.2M
     17650K .......... .......... .......... .......... .......... 21.1M
     17700K .......... .......... .......... .......... .......... 14.9M
     17750K .......... .......... .......... .......... .......... 23.9M
     17800K .......... .......... .......... .......... .......... 14.7M
     17850K .......... .......... .......... .......... .......... 11.8M
     17900K .......... .......... .......... .......... .......... 36.3M
     17950K .......... .......... .......... .......... .......... 24.4M
     18000K .......... .......... .......... .......... .......... 6.23M
     18050K .......... .......... .......... .......... .......... 10.8M
     18100K .......... .......... .......... .......... .......... 15.2M
     18150K .......... .......... .......... .......... .......... 9.81M
     18200K .......... .......... .......... .......... .......... 11.8M
     18250K .......... .......... .......... .......... .......... 9.79M
     18300K .......... .......... .......... .......... .......... 13.1M
     18350K .......... .......... .......... .......... .......... 15.7M
     18400K .......... .......... .......... .......... .......... 16.8M
     18450K .......... .......... .......... .......... .......... 23.6M
     18500K .......... .......... .......... .......... .......... 13.5M
     18550K ..                                                     4835G=1.8s

    2021-08-02 07:29:02 (9.86 MB/s) - Read error at byte 18997796 (Success).Retrying.

    --2021-08-02 07:29:03--  (try: 2)  https://codeload.github.com/raspberrypi/firmware/tar.gz/1eb8921ae7158249894f89e8bb6c4bfb04ec7377
    Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
    WARNING: cannot verify codeload.github.com's certificate, issued by ‘CN=10.47.1.250’:
      Self-signed certificate encountered.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘/home/akshay/4b/build-raspberrypi4-rdk-broadband/../downloads/raspberrypi-firmware-1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz’

         0K .......... .......... .......... .......... ..........  520K
        50K .......... .......... .......... .......... .......... 1.52M
       100K .......... .......... .......... .......... .......... 1.12M
       150K .......... .......... .......... .......... .......... 1.23M
       200K .......... .......... .......... .......... .......... 1.13M
       250K .......... .......... .......... .......... .......... 1.22M
       300K .......... .......... .......... .......... .......... 1.19M
       350K .......... .......... .......... .......... .......... 4.08M
       400K .......... .......... .......... .......... .......... 1.21M
       450K .......... .......... .......... .......... .......... 1.41M
       500K .......... .......... .......... .......... .......... 1.22M
       550K .......... .......... .......... .......... .......... 5.21M
       600K .......... .......... .......... .......... ..........  831K
       650K .......... .......... .......... .......... ..........  777K
       700K .......... .......... .......... .......... .......... 4.96M
       750K .......... .......... .......... .......... .......... 1008K
       800K .......... .......... .......... .......... .......... 1.25M
       850K .......... .......... .......... .......... .......... 9.95M
       900K .......... .......... .......... .......... .......... 1.26M
       950K .......... .......... .......... .......... .......... 15.4M
      1000K .......... .......... .......... .......... .......... 1.24M
      1050K .......... .......... .......... .......... .......... 13.4M
      1100K .......... .......... .......... .......... .......... 1.25M
      1150K .......... .......... .......... .......... .......... 10.5M
      1200K .......... .......... .......... .......... .......... 1.28M
      1250K .......... .......... .......... .......... .......... 6.44M
      1300K .......... .......... .......... .......... .......... 1.46M
      1350K .......... .......... .......... .......... .......... 8.87M
      1400K .......... .......... .......... .......... .......... 9.41M
      1450K .......... .......... .......... .......... .......... 1.44M
      1500K .......... .......... .......... .......... .......... 6.42M
      1550K .......... .......... .......... .......... .......... 1.40M
      1600K .......... .......... .......... .......... .......... 6.29M
      1650K .......... .......... .......... .......... .......... 1.60M
      1700K .......... .......... .......... .......... .......... 11.0M
      1750K .......... .......... .......... .......... .......... 6.88M
      1800K .......... .......... .......... .......... .......... 1.58M
      1850K .......... .......... .......... .......... .......... 7.58M
      1900K .......... .......... .......... .......... .......... 1.38M
      1950K .......... .......... .......... .......... .......... 11.0M
      2000K .......... .......... .......... .......... .......... 10.5M
      2050K .......... .......... .......... .......... .......... 1.50M
      2100K .......... .......... .......... .......... .......... 13.9M
      2150K .......... .......... .......... .......... .......... 8.69M
      2200K .......... .......... .......... .......... .......... 1.68M
      2250K .......... .......... .......... .......... .......... 7.36M
      2300K .......... .......... .......... .......... .......... 7.69M
      2350K .......... .......... .......... .......... .......... 1.71M
      2400K .......... .......... .......... .......... .......... 7.94M
      2450K .......... .......... .......... .......... .......... 11.2M
      2500K .......... .......... .......... .......... .......... 7.23M
      2550K .......... .......... .......... .......... .......... 1.63M
      2600K .......... .......... .......... .......... .......... 20.1M
      2650K .......... .......... .......... .......... .......... 8.70M
      2700K .......... .......... .......... .......... .......... 1.52M
      2750K .......... .......... .......... .......... .......... 14.9M
      2800K .......... .......... .......... .......... .......... 14.3M
      2850K .......... .......... .......... .......... .......... 8.03M
      2900K .......... .......... .......... .......... .......... 1.67M
      2950K .......... .......... .......... .......... .......... 13.5M
      3000K .......... .......... .......... .......... .......... 15.4M
      3050K .......... .......... .......... .......... .......... 8.18M
      3100K .......... .......... .......... .......... .......... 1.48M
      3150K .......... .......... .......... .......... .......... 25.0M
      3200K .......... .......... .......... .......... .......... 26.3M
      3250K .......... .......... .......... .......... .......... 7.63M
      3300K .......... .......... .......... .......... .......... 1.57M
      3350K .......... .......... .......... .......... .......... 25.7M
      3400K .......... .......... .......... .......... .......... 23.3M
      3450K .......... .......... .......... .......... .......... 6.73M
      3500K .......... .......... .......... .......... .......... 1.64M
      3550K .......... .......... .......... .......... .......... 18.0M
      3600K .......... .......... .......... .......... .......... 18.2M
      3650K .......... .......... .......... .......... .......... 14.2M
      3700K .......... .......... .......... .......... .......... 11.2M
      3750K .......... .......... .......... .......... .......... 1.64M
      3800K .......... .......... .......... .......... .......... 16.4M
      3850K .......... .......... .......... .......... .......... 14.5M
      3900K .......... .......... .......... .......... .......... 13.1M
      3950K .......... .......... .......... .......... .......... 1.65M
      4000K .......... .......... .......... .......... .......... 10.3M
      4050K .......... .......... .......... .......... .......... 17.9M
      4100K .......... .......... .......... .......... .......... 23.1M
      4150K .......... .......... .......... .......... .......... 13.0M
      4200K .......... .......... .......... .......... .......... 1.79M
      4250K .......... .......... .......... .......... .......... 8.36M
      4300K .......... .......... .......... .......... .......... 7.98M
      4350K .......... .......... .......... .......... .......... 11.5M
      4400K .......... .......... .......... .......... .......... 23.1M
      4450K .......... .......... .......... .......... .......... 1.79M
      4500K .......... .......... .......... .......... .......... 5.46M
      4550K .......... .......... .......... .......... .......... 23.2M
      4600K .......... .......... .......... .......... .......... 10.6M
      4650K .......... .......... .......... .......... .......... 6.83M
      4700K .......... .......... .......... .......... .......... 4.81M
      4750K .......... .......... .......... .......... .......... 2.40M
      4800K .......... .......... .......... .......... .......... 16.5M
      4850K .......... .......... .......... .......... .......... 16.2M
      4900K .......... .......... .......... .......... .......... 11.2M
      4950K .......... .......... .......... .......... .......... 13.8M
      5000K .......... .......... .......... .......... .......... 1.97M
      5050K .......... .......... .......... .......... .......... 10.6M
      5100K .......... .......... .......... .......... .......... 20.9M
      5150K .......... .......... .......... .......... .......... 19.4M
      5200K .......... .......... .......... .......... .......... 8.32M
      5250K .......... .......... .......... .......... .......... 5.48M
      5300K .......... .......... .......... .......... .......... 6.34M
      5350K .......... .......... .......... .......... .......... 3.67M
      5400K .......... .......... .......... .......... .......... 9.39M
      5450K .......... .......... .......... .......... .......... 20.2M
      5500K .......... .......... .......... .......... .......... 10.1M
      5550K .......... .......... .......... .......... .......... 11.3M
      5600K .......... .......... .......... .......... .......... 2.80M
      5650K .......... .......... .......... .......... .......... 3.89M
      5700K .......... .......... .......... .......... .......... 18.9M
      5750K .......... .......... .......... .......... .......... 18.0M
      5800K .......... .......... .......... .......... .......... 15.0M
      5850K .......... .......... .......... .......... .......... 13.4M
      5900K .......... .......... .......... .......... .......... 4.54M
      5950K .......... .......... .......... .......... .......... 3.04M
      6000K .......... .......... .......... .......... .......... 6.65M
      6050K .......... .......... .......... .......... .......... 3.59M
      6100K .......... .......... .......... .......... .......... 93.3M
      6150K .......... .......... .......... .......... .......... 70.3M
      6200K .......... .......... .......... .......... .......... 61.4M
      6250K .......... .......... .......... .......... .......... 9.91M
      6300K .......... .......... .......... .......... .......... 3.24M
      6350K .......... .......... .......... .......... .......... 10.4M
      6400K .......... .......... .......... .......... .......... 26.7M
      6450K .......... .......... .......... .......... .......... 13.7M
      6500K .......... .......... .......... .......... .......... 14.3M
      6550K .......... .......... .......... .......... .......... 7.11M
      6600K .......... .......... .......... .......... .......... 4.45M
      6650K .......... .......... .......... .......... .......... 3.79M
      6700K .......... .......... .......... .......... .......... 11.9M
      6750K .......... .......... .......... .......... .......... 18.1M
      6800K .......... .......... .......... .......... .......... 20.8M
      6850K .......... .......... .......... .......... .......... 23.1M
      6900K .......... .......... .......... .......... .......... 13.1M
      6950K .......... .......... .......... .......... .......... 4.09M
      7000K .......... .......... .......... .......... .......... 9.39M
      7050K .......... .......... .......... .......... .......... 4.55M
      7100K .......... .......... .......... .......... .......... 13.3M
      7150K .......... .......... .......... .......... .......... 10.1M
      7200K .......... .......... .......... .......... .......... 19.0M
      7250K .......... .......... .......... .......... .......... 12.8M
      7300K .......... .......... .......... .......... .......... 15.2M
      7350K .......... .......... .......... .......... .......... 6.09M
      7400K .......... .......... .......... .......... .......... 4.66M
      7450K .......... .......... .......... .......... .......... 8.25M
      7500K .......... .......... .......... .......... .......... 10.9M
      7550K .......... .......... .......... .......... .......... 6.05M
      7600K .......... .......... .......... .......... .......... 19.5M
      7650K .......... .......... .......... .......... .......... 15.1M
      7700K .......... .......... .......... .......... .......... 7.99M
      7750K .......... .......... .......... .......... .......... 9.25M
      7800K .......... .......... .......... .......... .......... 12.5M
      7850K .......... .......... .......... .......... .......... 6.17M
      7900K .......... .......... .......... .......... .......... 8.52M
      7950K .......... .......... .......... .......... .......... 12.3M
      8000K .......... .......... .......... .......... .......... 10.7M
      8050K .......... .......... .......... .......... .......... 12.0M
      8100K .......... .......... .......... .......... .......... 7.67M
      8150K .......... .......... .......... .......... .......... 29.0M
      8200K .......... .......... .......... .......... .......... 8.04M
      8250K .......... .......... .......... .......... .......... 11.1M
      8300K .......... .......... .......... .......... .......... 8.47M
      8350K .......... .......... .......... .......... .......... 8.98M
      8400K .......... .......... .......... .......... .......... 13.3M
      8450K .......... .......... .......... .......... .......... 11.3M
      8500K .......... .......... .......... .......... .......... 8.73M
      8550K .......... .......... .......... .......... .......... 7.73M
      8600K .......... .......... .......... .......... .......... 14.1M
      8650K .......... .......... .......... .......... .......... 17.4M
      8700K .......... .......... .......... .......... .......... 19.3M
      8750K .......... .......... .......... .......... .......... 5.51M
      8800K .......... .......... .......... .......... .......... 18.8M
      8850K .......... .......... .......... .......... .......... 4.15M
      8900K .......... .......... .......... .......... .......... 3.66M
      8950K .......... .......... .......... .......... .......... 13.0M
      9000K .......... .......... .......... .......... .......... 21.9M
      9050K .......... .......... .......... .......... .......... 13.5M
      9100K .......... .......... .......... .......... .......... 20.0M
      9150K .......... .......... .......... .......... .......... 14.3M
      9200K .......... .......... .......... .......... .......... 24.3M
      9250K .......... .......... .......... .......... .......... 10.6M
      9300K .......... .......... .......... .......... .......... 6.75M
      9350K .......... .......... .......... .......... .......... 17.6M
      9400K .......... .......... .......... .......... .......... 4.22M
      9450K .......... .......... .......... .......... .......... 21.2M
      9500K .......... .......... .......... .......... .......... 20.9M
      9550K .......... .......... .......... .......... .......... 7.14M
      9600K .......... .......... .......... .......... .......... 51.3M
      9650K .......... .......... .......... .......... .......... 9.76M
      9700K .......... .......... .......... .......... .......... 15.1M
      9750K .......... .......... .......... .......... .......... 10.2M
      9800K .......... .......... .......... .......... .......... 16.8M
      9850K .......... .......... .......... .......... .......... 4.19M
      9900K .......... .......... .......... .......... .......... 20.8M
      9950K .......... .......... .......... .......... .......... 14.2M
     10000K .......... .......... .......... .......... .......... 27.2M
     10050K .......... .......... .......... .......... .......... 5.80M
     10100K .......... .......... .......... .......... .......... 10.5M
     10150K .......... .......... .......... .......... .......... 19.3M
     10200K .......... .......... .......... .......... .......... 17.6M
     10250K .......... .......... .......... .......... .......... 10.3M
     10300K .......... .......... .......... .......... .......... 18.5M
     10350K .......... .......... .......... .......... .......... 5.84M
     10400K .......... .......... .......... .......... .......... 20.1M
     10450K .......... .......... .......... .......... .......... 8.78M
     10500K .......... .......... .......... .......... .......... 23.5M
     10550K .......... .......... .......... .......... .......... 8.57M
     10600K .......... .......... .......... .......... .......... 5.59M
     10650K .......... .......... .......... .......... .......... 10.5M
     10700K .......... .......... .......... .......... .......... 18.7M
     10750K .......... .......... .......... .......... .......... 16.4M
     10800K .......... .......... .......... .......... .......... 25.8M
     10850K .......... .......... .......... .......... .......... 8.51M
     10900K .......... .......... .......... .......... .......... 11.6M
     10950K .......... .......... .......... .......... .......... 16.8M
     11000K .......... .......... .......... .......... .......... 6.82M
     11050K .......... .......... .......... .......... .......... 26.1M
     11100K .......... .......... .......... .......... .......... 7.01M
     11150K .......... .......... .......... .......... .......... 6.67M
     11200K .......... .......... .......... .......... .......... 10.3M
     11250K .......... .......... .......... .......... .......... 9.70M
     11300K .......... .......... .......... .......... .......... 27.9M
     11350K .......... .......... .......... .......... .......... 21.7M
     11400K .......... .......... .......... .......... .......... 13.6M
     11450K .......... .......... .......... .......... .......... 21.3M
     11500K .......... .......... .......... .......... .......... 8.38M
     11550K .......... .......... .......... .......... .......... 19.4M
     11600K .......... .......... .......... .......... .......... 4.50M
     11650K .......... .......... .......... .......... .......... 9.63M
     11700K .......... .......... .......... .......... .......... 7.22M
     11750K .......... .......... .......... .......... .......... 14.3M
     11800K .......... .......... .......... .......... .......... 18.3M
     11850K .......... .......... .......... .......... .......... 24.6M
     11900K .......... .......... .......... .......... .......... 18.4M
     11950K .......... .......... .......... .......... .......... 28.7M
     12000K .......... .......... .......... .......... .......... 6.76M
     12050K .......... .......... .......... .......... .......... 11.4M
     12100K .......... .......... .......... .......... .......... 6.58M
     12150K .......... .......... .......... .......... .......... 9.99M
     12200K .......... .......... .......... .......... .......... 8.01M
     12250K .......... .......... .......... .......... .......... 10.3M
     12300K .......... .......... .......... .......... .......... 10.2M
     12350K .......... .......... .......... .......... .......... 24.6M
     12400K .......... .......... .......... .......... .......... 21.5M
     12450K .......... .......... .......... .......... .......... 18.8M
     12500K .......... .......... .......... .......... .......... 18.4M
     12550K .......... .......... .......... .......... .......... 6.90M
     12600K .......... .......... .......... .......... .......... 15.6M
     12650K .......... .......... .......... .......... .......... 10.9M
     12700K .......... .......... .......... .......... .......... 5.83M
     12750K .......... .......... .......... .......... .......... 7.03M
     12800K .......... .......... .......... .......... .......... 24.5M
     12850K .......... .......... .......... .......... .......... 14.6M
     12900K .......... .......... .......... .......... .......... 8.88M
     12950K .......... .......... .......... .......... .......... 19.7M
     13000K .......... .......... .......... .......... .......... 22.5M
     13050K .......... .......... .......... .......... .......... 10.5M
     13100K .......... .......... .......... .......... .......... 18.5M
     13150K .......... .......... .......... .......... .......... 8.53M
     13200K .......... .......... .......... .......... .......... 5.83M
     13250K .......... .......... .......... .......... .......... 6.68M
     13300K .......... .......... .......... .......... .......... 13.9M
     13350K .......... .......... .......... .......... .......... 22.8M
     13400K .......... .......... .......... .......... .......... 13.4M
     13450K .......... .......... .......... .......... .......... 22.0M
     13500K .......... .......... .......... .......... .......... 14.3M
     13550K .......... .......... .......... .......... .......... 10.9M
     13600K .......... .......... .......... .......... .......... 20.3M
     13650K .......... .......... .......... .......... .......... 6.69M
     13700K .......... .......... .......... .......... .......... 9.58M
     13750K .......... .......... .......... .......... .......... 6.10M
     13800K .......... .......... .......... .......... .......... 13.9M
     13850K .......... .......... .......... .......... .......... 15.6M
     13900K .......... .......... .......... .......... .......... 9.06M
     13950K .......... .......... .......... .......... .......... 12.4M
     14000K .......... .......... .......... .......... .......... 22.5M
     14050K .......... .......... .......... .......... .......... 32.6M
     14100K .......... .......... .......... .......... .......... 26.5M
     14150K .......... .......... .......... .......... .......... 6.86M
     14200K .......... .......... .......... .......... .......... 10.5M
     14250K .......... .......... .......... .......... .......... 2.76M
     14300K .......... .......... .......... .......... .......... 13.9M
     14350K .......... .......... .......... .......... .......... 21.1M
     14400K .......... .......... .......... .......... .......... 19.9M
     14450K .......... .......... .......... .......... .......... 14.8M
     14500K .......... .......... .......... .......... .......... 18.5M
     14550K .......... .......... .......... .......... .......... 21.2M
     14600K .......... .......... .......... .......... .......... 41.0M
     14650K .......... .......... .......... .......... .......... 26.5M
     14700K .......... .......... .......... .......... .......... 7.16M
     14750K .......... .......... .......... .......... .......... 2.14M
     14800K .......... .......... .......... .......... .......... 11.1M
     14850K .......... .......... .......... .......... .......... 12.5M
     14900K .......... .......... .......... .......... .......... 20.4M
     14950K .......... .......... .......... .......... .......... 25.4M
     15000K .......... .......... .......... .......... .......... 18.4M
     15050K .......... .......... .......... .......... .......... 22.3M
     15100K .......... .......... .......... .......... .......... 11.2M
     15150K .......... .......... .......... .......... .......... 13.7M
     15200K .......... .......... .......... .......... .......... 4.17M
     15250K .......... .......... .......... .......... .......... 6.39M
     15300K .......... .......... .......... .......... .......... 8.45M
     15350K .......... .......... .......... .......... .......... 12.3M
     15400K .......... .......... .......... .......... .......... 13.0M
     15450K .......... .......... .......... .......... .......... 13.8M
     15500K .......... .......... .......... .......... .......... 8.99M
     15550K .......... .......... .......... .......... .......... 16.2M
     15600K .......... .......... .......... .......... .......... 5.30M
     15650K .......... .......... .......... .......... .......... 18.7M
     15700K .......... .......... .......... .......... .......... 9.82M
     15750K .......... .......... .......... .......... .......... 10.1M
     15800K .......... .......... .......... .......... .......... 18.4M
     15850K .......... .......... .......... .......... .......... 19.2M
     15900K .......... .......... .......... .......... .......... 12.9M
     15950K .......... .......... .......... .......... .......... 9.42M
     16000K .......... .......... .......... .......... .......... 13.5M
     16050K .......... .......... .......... .......... .......... 5.08M
     16100K .......... .......... .......... .......... .......... 11.4M
     16150K .......... .......... .......... .......... .......... 18.9M
     16200K .......... .......... .......... .......... .......... 13.4M
     16250K .......... .......... .......... .......... .......... 10.6M
     16300K .......... .......... .......... .......... .......... 13.8M
     16350K .......... .......... .......... .......... .......... 7.31M
     16400K .......... .......... .......... .......... .......... 7.88M
     16450K .......... .......... .......... .......... .......... 17.7M
     16500K .......... .......... .......... .......... .......... 49.1M
     16550K .......... .......... .......... .......... .......... 7.14M
     16600K .......... .......... .......... .......... .......... 9.05M
     16650K .......... .......... .......... .......... .......... 14.5M
     16700K .......... .......... .......... .......... .......... 18.4M
     16750K .......... .......... .......... .......... .......... 15.1M
     16800K .......... .......... .......... .......... .......... 11.3M
     16850K .......... .......... .......... .......... .......... 3.41M
     16900K .......... .......... .......... .......... .......... 19.4M
     16950K .......... .......... .......... .......... .......... 17.7M
     17000K .......... .......... .......... .......... .......... 10.6M
     17050K .......... .......... .......... .......... .......... 7.11M
     17100K .......... .......... .......... .......... .......... 13.1M
     17150K .......... .......... .......... .......... .......... 22.7M
     17200K .......... .......... .......... .......... .......... 40.6M
     17250K .......... .......... .......... .......... .......... 21.2M
     17300K .......... .......... .......... .......... .......... 26.1M
     17350K .......... .......... .......... .......... .......... 3.54M
     17400K .......... .......... .......... .......... .......... 8.45M
     17450K .......... .......... .......... .......... .......... 13.3M
     17500K .......... .......... .......... .......... .......... 14.1M
     17550K .......... .......... .......... .......... .......... 10.3M
     17600K .......... .......... .......... .......... .......... 9.30M
     17650K .......... .......... .......... .......... .......... 21.8M
     17700K .......... .......... .......... .......... .......... 20.4M
     17750K .......... .......... .......... .......... .......... 24.9M
     17800K .......... .......... .......... .......... .......... 22.2M
     17850K .......... .......... .......... .......... .......... 3.47M
     17900K .......... .......... .......... .......... .......... 17.4M
     17950K .......... .......... .......... .......... .......... 12.0M
     18000K .......... .......... .......... .......... .......... 25.2M
     18050K .......... .......... .......... .......... .......... 10.4M
     18100K .......... .......... .......... .......... .......... 8.73M
     18150K .......... .......... .......... .......... .......... 19.5M
     18200K .......... .......... .......... .......... .......... 13.1M
     18250K .......... .......... .......... .......... .......... 12.8M
     18300K .......... .......... .......... .......... .......... 6.38M
     18350K .......... .......... .......... .......... .......... 6.93M
     18400K .......... .......... .......... .......... .......... 15.7M
     18450K .......... .......... .......... .......... .......... 12.0M
     18500K .......... .......... .......... .......... .......... 12.8M
     18550K ..                                                     4701G=3.1s

    2021-08-02 07:29:06 (5.88 MB/s) - Read error at byte 18997796 (Success).Giving up.


    ERROR: bootfiles-20210527-r3 do_fetch: Fetcher failure for URL: 'https://github.com/raspberrypi/firmware/archive/1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz;downloadfilename=raspberrypi-firmware-1eb8921ae7158249894f89e8bb6c4bfb04ec7377.tar.gz'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/akshay/4b/build-raspberrypi4-rdk-broadband/tmp/work/raspberrypi4_rdk_broadband-rdk-linux-gnueabi/bootfiles/20210527-r3/temp/log.do_fetch.8247
    ERROR: Task (/home/akshay/4b/meta-raspberrypi/recipes-bsp/bootfiles/bootfiles.bb:do_fetch) failed with exit code '1'



  4. I did found an issue while compiling for Rapi4 :


    Sstate summary: Wanted 6 Found 0 Missed 6 Current 200 (0% match, 97% complete)
    NOTE: Executing Tasks
    WARNING: heaptrack-1.0.0-r0 do_populate_lic: Could not copy license file /home/ubuntu/RDKB-raspi/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/heaptrack/1.0.0-r0/git/COPYING to /home/ubuntu/RDKB-raspi/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/heaptrack/1.0.0-r0/license-destdir/heaptrack/COPYING: [Errno 2] No such file or directory: '/home/ubuntu/RDKB-raspi/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/heaptrack/1.0.0-r0/git/COPYING'
    ERROR: heaptrack-1.0.0-r0 do_populate_lic: QA Issue: heaptrack: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/RDKB-raspi/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/heaptrack/1.0.0-r0/git/COPYING [license-checksum]
    ERROR: heaptrack-1.0.0-r0 do_populate_lic: Fatal QA errors found, failing task.
    ERROR: Logfile of failure stored in: /home/ubuntu/RDKB-raspi/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/heaptrack/1.0.0-r0/temp/log.do_populate_lic.413553
    ERROR: Task (/home/ubuntu/RDKB-raspi/meta-rdk-ext/recipes-common/heaptrack/heaptrack_1.0.0.bb:do_populate_lic) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 915 tasks of which 909 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 2 seconds

    Summary: 1 task failed:
      /home/ubuntu/RDKB-raspi/meta-rdk-ext/recipes-common/heaptrack/heaptrack_1.0.0.bb:do_populate_lic
    Summary: There were 3 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    Any clue why I can get this ? Any fix planned ?

    I did run to make sure I was in a clean env :

    • bitbake -c cleanall heaptrack
    • bitbake heaptrack

    I also try to remove the checksum line in the  heaptrack.inc, but then anyther QA issue happen. I tried to ignore the issue with INSANE_SKIP_${PN} = "", but do not find the proper flag for that.

    Any idea how to get this fixed ?

      1. Hi Narayanaswamy Ramaiyer ,

        The above heaptrack issue is fixed by below patch-set,
        https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-rdk-ext/+/62765/1/recipes-common/heaptrack/heaptrack.inc 


        Ask them to apply this fix manually or try with new build.

  5. Hello,

    I've been able to compile thanks to the patch.

    Thanks,

    Florent.

  6. I get it running with following the doc, but I do not succeed in getting the USB to Ethernet up and running.

    I've tried with severals devices (https://elinux.org/RPi_USB_Ethernet_adapters)

    But I mainly tried with : Linksys - USB3GIG v1 (Vendor ID: 13b1, Product ID: 0041) - USB 3.0 gigabit adapter,

    Here is the dmesg output :

    [22335.352646] usb 2-1: new SuperSpeed Gen 1 USB device number 10 using xhci_hcd

    [22335.383454] usb 2-1: New USB device found, idVendor=13b1, idProduct=0041, bcdDevice=30.00

    [22335.383475] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6

    [22335.383492] usb 2-1: Product: Linksys USB3GIGV1

    [22335.383509] usb 2-1: Manufacturer: Linksys

    [22335.383525] usb 2-1: SerialNumber: 000001000000

    Here is the lsmod output :

    Module                  Size  Used by

    nf_conntrack_tftp      16384  0

    ip6table_nat           16384  1

    brMtuMod               20480  0

    brcmfmac              327680  0

    brcmutil               20480  1 brcmfmac

    cfg80211              692224  1 brcmfmac

    rfkill                 28672  2 cfg80211

    rpivid_mem             16384  0

    openvswitch           135168  0

    nsh                    16384  1 openvswitch

    Here is the ifconfig output :

    br0       Link encap:Ethernet  HWaddr E2:C6:D3:29:01:52  
              inet addr:192.168.101.3  Bcast:192.168.101.255  Mask:255.255.255.0
              inet6 addr: fe80::e0c6:d3ff:fe29:152/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:1684 (1.6 KiB)

    br106     Link encap:Ethernet  HWaddr 5A:33:FB:ED:9D:14  
              inet addr:192.168.106.1  Bcast:192.168.106.255  Mask:255.255.255.0
              inet6 addr: fe80::5833:fbff:feed:9d14/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:1684 (1.6 KiB)

    br403     Link encap:Ethernet  HWaddr 0A:85:25:EA:23:E9  
              inet addr:192.168.245.1  Bcast:192.168.245.255  Mask:255.255.255.0
              inet6 addr: fe80::885:25ff:feea:23e9/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:1754 (1.7 KiB)

    brebhaul  Link encap:Ethernet  HWaddr 2A:C4:D7:01:D9:35  
              inet addr:169.254.85.1  Bcast:169.254.85.255  Mask:255.255.255.0
              inet6 addr: fe80::28c4:d7ff:fe01:d935/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:1684 (1.6 KiB)

    brlan0    Link encap:Ethernet  HWaddr DC:A6:32:6F:4D:F1  
              inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
              inet6 addr: fe80::cc54:68ff:fe9e:c3ab/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:12197 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22653 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:2052373 (1.9 MiB)  TX bytes:23387731 (22.3 MiB)

    erouter0  Link encap:Ethernet  HWaddr DC:A6:32:6F:4D:F0  
              inet addr:192.168.0.111  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::dea6:32ff:fe6f:4df0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:22613 errors:0 dropped:0 overruns:0 frame:0
              TX packets:14000 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:22140888 (21.1 MiB)  TX bytes:2402013 (2.2 MiB)

    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:1426822 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1426822 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:71601993 (68.2 MiB)  TX bytes:71601993 (68.2 MiB)

    wlan0     Link encap:Ethernet  HWaddr DC:A6:32:6F:4D:F1  
              inet6 addr: fe80::dea6:32ff:fe6f:4df1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:12197 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22669 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:2052373 (1.9 MiB)  TX bytes:23934552 (22.8 MiB)

  7. Here is the brctl show output :

    bridge name    bridge id        STP enabled    interfaces

    br0        8000.000000000000    no        

    br106        8000.000000000000    no        

    br403        8000.000000000000    no        

    brebhaul        8000.000000000000    no        

    brlan0        8000.dca6326f4df1    no        wlan0


    So what I suspect is that the driver is not compiled for r8152 directly in the kernel ? Maybe firmware is missing ?

  8. hello Narayanaswamy Ramaiyer  or Z-Keerthana Pandurangan 

    Any idea why I get this ? Do you need extra info to help to debug this ?

    1. Hi Z-Florent Le Saout 

      yes.. you are right .. rtl8152 driver is not compiled in kernel ..

      Can you please cherry-pick the below change in your workspace and check once,

      https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi/+/63843/1/recipes-kernel/linux/files/remove_unused_modules.cfg

      Thanks!!

      1. Hi Z-Keerthana Pandurangan  (update as I did more experiments)

        With this change, I do have the device recognized and a new interface named eth0 visible when I do a : ifconfig -a

        But still this doesn't work. To make it work I needed to proceed as follow (when I plug the ethernet interface at run time) :

        1. Make eth0 up => ifconfig eth0 up
        2. Add eth0 to brlan0 bridge => brctl addif brlan0 eth0

        Now my PC attached to the USB to ethernet port can get dhcp answer to dhcp discover broadcast.

        But when I let the USB/Ethernet interface plugged in at boot time :

        • eth0 is renamed in eth1
        • eth1 is properly attached to the brlan0

        But there is no dhcp answer onto ethernet and wifi doesn't work anymore.

        If I unplug the ethernet device then the PC can get back an IP and browse the web, so back as normal. So it's like when plugging the ethernet device was change some params somewhere ...

          1. I'm still stuck with that. Any idea ?

            1. After some more investigation we think that this is due to the fact that the USB dongle takes too long to correctly been setup, so start of dhcp and other things are not properly delayed but instead started unproperly so doesn't work

              1. Hi Z-Florent Le Saout 

                I checked on the latest RPi4 image. I'm able to connect Ethernet and WiFi client and able to browse internet on both the client device. 

                USB to Ethernet adaptor used - CADYCE (Model - CA-U2GE)

                Thank you

                1. So I guess this means that my USB dongle takes more time to get up and running. How can we make sure the sync on this event or delay this for some time ?

                  1. I did test with another USB dongle : Trendnet TU2-ET100, and it does work.

                    So this tend to confirm my comprehension that the issue is due to some synchro mechanism with the linksis dongle which is not correct.

                    As it is USB2 it's only 100Mb/s sync and not Gigabit could you tell me   Shilpa S N  which dongle you did test successfully else than CADYCE, as it seems that CADYCE is only sold in india ?

                    I refer to this list as written in the Wiki : https://elinux.org/RPi_USB_Ethernet_adapters and my adaptor is listed but doesn't work properly.

                    I see that eth1 is properly attached to the bridge brlan0 but  when I try to check eth1 I can see that ifconfig eth1 is failing with error device not found.

                    1. Hi Z-Florent Le Saout ,

                      Other than CADYCE, we have tested in Cisco Linksys (model: USB 300M), even that works.

                      Thanks

                      1. Hi Shilpa S N  Linksys Cisco USB 300M USB 2.0 is 10/100MB/s but I'm looking for a Gigabit ?

                        1. Hi Z-Florent Le Saout   Linksys Cisco USB 300M & CADYCE (Model - CA-U2GE) are available and tested on those. We will check for Gigabit adaptor and update.

                          Thank you

                          1. Hello Shilpa S N  yes I do confirm as well that  Trendnet TU2-ET100 works fine at 10/100MB/s as I explained earlier in one of my comment.

  9. Hi, 

    bitbake rdk-generic-broadband-image

    The above command fails with the following error: 

    ERROR: Unable to start bitbake server (None)
    ERROR: Server log for this session (/home/yanina/yocto/build-raspberrypi4-rdk-broadband/bitbake-cookerdaemon.log):
    --- Starting bitbake server pid 4908 at 2021-11-04 09:30:40.017276 ---
    ERROR: ParseError at /home/yanina/yocto/build-raspberrypi4-rdk-broadband/conf/local.conf:247: Could not include required file conf/distro/include/##RDK_FLAVOR##.inc

    Removing bitbake.lock, retrying the source command for setup_environment file, killing bitbake process, and rebooting didn't help. 
    Do you have any idea how to get this fixed?

    1. Hi Yanina Husarevych ,

      RDK_FLAVOR Value should be substituted during the source of set-up env . Could you please confirm whether you followed the below instructions or not

      • repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
      • repo sync -j`nproc` --no-clone-bundle
      • MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment
      • bitbake rdk-generic-broadband-image

      Regards,
      Priyankaa KVB

      1. Hi, Priyankaa K V B ,
        Yes, I followed these instructions.
        The output for repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml:

        Downloading Repo source from https://gerrit.googlesource.com/git-repo
        Downloading manifest from https://code.rdkcentral.com/r/manifests
        remote: Counting objects: 252, done
        remote: Finding sources: 100% (11468/11468)
        remote: Total 11468 (delta 8677), reused 11462 (delta 8677)
        Receiving objects: 100% (11468/11468), 1.61 MiB | 170.00 KiB/s, done.
        Resolving deltas: 100% (8677/8677), done.

        The output for repo sync -j`nproc` --no-clone-bundle:

        Fetching: 96% (121/125) rdk/components/opensource/oe/meta-python2
        Fetching: 100% (125/125), done in 14m12.563s
        rdkb/components/generic/CcspLogAgent/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/generic/harvester/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspCr/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspLMLite/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspPandM/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspPsm/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspSnmpPa/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspTr069Pa/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/CcspWifiAgent/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/TestAndDiagnostic/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/Utopia/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/components/opensource/ccsp/hal/source/dhcpv4c/devices_rpi: Shared project rdkb/devices/raspberrypi/hal found, disabling pruning.
        rdkb/components/opensource/ccsp/hal/source/ethsw/devices_rpi: Shared project rdkb/devices/raspberrypi/hal found, disabling pruning.
        rdkb/components/opensource/ccsp/hal/source/platform/devices_rpi: Shared project rdkb/devices/raspberrypi/hal found, disabling pruning.
        rdkb/components/opensource/ccsp/hal/source/wifi/devices_rpi: Shared project rdkb/devices/raspberrypi/hal found, disabling pruning.
        rdkb/components/opensource/ccsp/hotspot/devices: Shared project rdkb/devices/rdkbemu/ccsp/rdkb found, disabling pruning.
        rdkb/devices/raspberrypi/hal: Shared project rdkb/devices/raspberrypi/hal found, disabling pruning.
        Garbage collecting: 100% (125/125), done in 1.629s
        Checking out: 100% (125/125), done in 1.819s
        repo sync has finished successfully.

        The output for MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment:

        You had no conf/local.conf file. This configuration file has therefore been
        created for you with some default values. You may wish to edit it to, for
        example, select a different MACHINE (target hardware). See conf/local.conf
        for more information as common configuration options are commented.

        You had no conf/bblayers.conf file. This configuration file has therefore been
        created for you with some default values. To add additional metadata layers
        into your configuration please add entries to conf/bblayers.conf.

        The Yocto Project has extensive documentation about OE including a reference
        manual which can be found at:
            http://yoctoproject.org/documentation

        For more information about OpenEmbedded see their website:
            http://www.openembedded.org/


        Common targets are:
            core-image-minimal
            rdk-oss-image
            rdk-generic-hybrid-image
            rdk-generic-mediaclient-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'
        meta-rdk/setup-environment:142: no matches found: /home/yanina/rdk_broadband_workspace_dir/*/*/conf/machine/raspberrypi4-rdk-broadband.conf

        ##
        ## WARNING: No machine configs found for 'raspberrypi4-rdk-broadband' !
        ##
        ## That looks very suspicious, you should check your configuration
        ##
        ## Possible alternatives might be:
        ##
        ##   ci20-rdk-broadband
        ##   ci20-rdk-mc
        ##   creator-ci20
        ##   hikey32-rdk-mc
        ##   qemuarm
        ##   qemuarm64
        ##   qemuarmbroadband
        ##   qemuarmv5
        ##   qemumips
        ##   qemumips64
        ##   qemuppc
        ##   qemuriscv64
        ##   qemux86
        ##   qemux86-64
        ##   qemux86broadband
        ##   qemux86broadband-bci
        ##   qemux86broadband-dev
        ##   qemux86broadband-musl
        ##   qemux86copy
        ##   qemux86hyb
        ##   qemux86hyb-dev
        ##   qemux86hyb-morty
        ##   qemux86mc
        ##   qemux86mc-dev
        ##   qemux86mc-morty
        ##   raspberrypi
        ##   raspberrypi0
        ##   raspberrypi0-rdk-camera
        ##   raspberrypi0-wifi
        ##   raspberrypi2
        ##   raspberrypi3
        ##   raspberrypi3-64
        ##   raspberrypi3-64-rdk-broadband
        ##   raspberrypi3-64-rdk-broadband-musl
        ##   raspberrypi3-rdk-camera
        ##   raspberrypi4
        ##   raspberrypi4-64
        ##   raspberrypi4-64-rdk-broadband
        ##   raspberrypi4-rdk-broadband
        ##   raspberrypi4-rdk-broadband_5.10
        ##   raspberrypi4-rdk-extender
        ##   raspberrypi4-rdk-hybrid
        ##   raspberrypi4-rdk-mc
        ##   raspberrypi-cm
        ##   raspberrypi-cm3
        ##   raspberrypi-rdk-boot-time-broadband
        ##   raspberrypi-rdk-broadband
        ##   raspberrypi-rdk-broadband-bci
        ##   raspberrypi-rdk-broadband-dev
        ##   raspberrypirdkbroadbandlxc
        ##   raspberrypi-rdk-broadband-musl
        ##   raspberrypirdkhyblxc
        ##   raspberrypirdkhybrefapp
        ##   raspberrypirdkhybrefapp-seven-inch-lcd
        ##   raspberrypi-rdk-hybrid
        ##   raspberrypirdkhybriddtv
        ##   raspberrypi-rdk-hybrid-generic
        ##   raspberrypi-rdk-hybrid-westeros
        ##   raspberrypi-rdk-ipmc
        ##   raspberrypi-rdk-mc
        ##   raspberrypi-rdk-mc-westeros
        ##

        Configuration files have been created for the following configuration:

         DISTRO: 
         MACHINE: raspberrypi4-rdk-broadband

        meta-rdk/setup-environment:205: no matches found: ../*/conf/machine/sky-setup.sh

        The output for bitbake rdk-generic-broadband-image:

        ERROR: Unable to start bitbake server (None)
        ERROR: Server log for this session (/home/yanina/rdk_broadband_workspace_dir/build-raspberrypi4-rdk-broadband/bitbake-cookerdaemon.log):
        --- Starting bitbake server pid 19196 at 2021-11-09 14:05:47.977303 ---
        ERROR: ParseError at /home/yanina/rdk_broadband_workspace_dir/build-raspberrypi4-rdk-broadband/conf/local.conf:247: Could not include required file conf/distro/include/##RDK_FLAVOR##.inc

        Thanks.

        1. Hi Yanina Husarevych ,

          Could you please try removing the build directory and then source the setup-environment and do bitbake

          Regards,
          Priyankaa KVB

  10. Hi,


    Does anyone know if the default password is still "password" for user "admin"?  It seems that I can not login with "password".


    Tony

    1. I don't know why it's OK now. Seems that I just:

      1.  connected the console cable and used the console.

      2. changed a USB NIC.

      3. Used a power adapter instead of connecting to my laptop USB port.


      I don't know how to reproduce this issue. If anyone come across this issue, you may leave a comment here.


      Tony

  11. Hello, 
    Recently I was unable to fetch heaptrack anymore (couple of weeks)
    It seems: SRC_URI = "git://github.com/KDE/heaptrack 
    doesn't work anymore, does anyone have this issue as well?
    Thanks, Reinoud.

  12. Hi,
    Once the Raspberry PI 4B booted with the RDK-B image, I connect my laptop to the "RPI3_RDKB-AP0" SSID.
    From then, I can ping the router 10.0.0.1 and access to the WebUI through my browser.

    However, it is impossible to open a SSH session (ssh 10.0.01). Nothing is happening...
    It is a bug? Can you provide steps for opening a SSH session?

    Thanks / Regards

    1. see same issue. Should be a bug.

      1. Yep - May be a route is missing as a SSH session can be opened via the WAN interface...

    2. Hi Gilles Printemps 

      Can you confirm whether ssh is working with wan ip ?

      In latest rdk-next code base, dropbear enabled the ssh through erouter0 interface. Please check the below code https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/Utopia/+/refs/heads/rdkb-2021q4-dunfell/source/scripts/init/service.d/service_sshd.sh

      ssh to other interfaces can be done by changing the code where it points to CMINTERFACE(erouter0)

      1. HiDeepika Ganapathi Bhat

        Yes, I can confirm it is not working via the SSID but working via the WAN interface

        During the test, Raspberry is connected through the RJ45 (WAN interface) to my LAN.
        It got the IP 192.168.0.172 from my DHCP

        1) Laptop is connected to my WiFi SSID (192.168.0.x LAN)

        en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
              options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
              ether f0:2f:4b:07:b6:16
              inet6 fe80::1815:1be2:1a9d:9e26%en0 prefixlen 64 secured scopeid 0xf
              inet 192.168.0.110 netmask 0xffffff00 broadcast 192.168.0.255
              nd6 options=201<PERFORMNUD,DAD>
              media: autoselect
              status: active 

        ... Ping 192.168.0.172 is working
        ... ssh root@192.168.0.172 is working 


        2) Laptop is connected to the "RPI3_RDKB-AP0" SSID (10.0.0.x LAN)

        en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
             options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
             ether f0:2f:4b:07:b6:16
             inet6 fe80::1815:1be2:1a9d:9e26%en0 prefixlen 64 secured scopeid 0xf
             inet 10.0.0.109 netmask 0xffffff00 broadcast 10.0.0.255
             nd6 options=201<PERFORMNUD,DAD>
             media: autoselect
             status: active

        ... Ping 10.0.0.1 is working
        ... ssh root@10.0.0.1 is not working

        1. Hi Gilles Printemps 

           dropbear could be running with WAN alone , that is the reason why ssh to lan ip is failing .please make the below line change in your service_sshd.sh file

          dropbear -R -E -a -r $DROPBEAR_PARAMS_1 -r $DROPBEAR_PARAMS_2 -p [$CM_IP]:22 -p [$brlan_IP]:22 -P $PID_FILE -B

          here CM_IP : erouter0 ip address
                  brlan_IP:  brlan0 ip address
          after making these changes in service_sshd.sh file ,reboot the device.

          1. Hi Deepika Ganapathi Bhat

            As requested, I've done the modification (See below). 

            if ([ "$BOX_TYPE" = "XB6" -a "$MANUFACTURE" = "Arris" ] || [ "$MODEL_NUM" = "INTEL_PUMA" ]) ;then
                    dropbear -R -E -a -r $DROPBEAR_PARAMS_1 -r $DROPBEAR_PARAMS_2 -p [$CM_IP]:22 -p [$brlan_IP]:22 -P $PID_FILE -B
            #       dropbear -R -E  -a -r $DROPBEAR_PARAMS_1 -r $DROPBEAR_PARAMS_2 $LISTEN_PARAMS -P $PID_FILE 2>/dev/null -B


            Now, I'm getting "Connection refused"

            ssh root@10.0.0.1
            ssh: connect to host 10.0.0.1 port 22: Connection refused".

            Seems another modification is needed

            1. Hi Gilles Printemps 

              •  If the Device which you are using is RPI Board, make these changes in else part of above if condition.
              •  From the connected client, SSH to other m/c or devices are working fine? 
              1. Hi Deepika Ganapathi Bhat

                • Modification is still not working
                • Yes - From a laptop connected to the RDKB SSID, I can connection via SSH to any hosts connected to my LAN

                I have also another question:
                I built a UDP server and I'm able to execute it from RDKB. Locally, I can reach it (from an SSH session/using nc). However, it is not possible to reach it from a device connected to my LAN (again a route problem).
                Is there a way to allow everything (disabling any firewall)? I tried to do it though the UI but it is not working...

                PS: I rebuilt nc and install it on the image 

                1. Hi Gilles Printemps 

                  Created RDKBSUP-677 - Getting issue details... STATUS to track this issue. Please let us know if you don't have access

                  1. I can confirm that the provided instructions are working fine.
                    Can all of them be integrated by default in the main stream to have SSH connections working via WiFi?  

                    1. Hi Gilles Printemps 

                      The code changes can be integrated for your platform.

  13. Hi
    I'm trying to enable gdb on the platform in order to debug a component.

    For adding "gdb", I added the following lines at the end of build-raspberrypi4-rdk-broadband/conf/local.conf

    IMAGE_INSTALL_append = "gdb"
    INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0"
    INCOMPATIBLE_LICENSE_pn-gdb = ""
    EXTRA_IMAGE_FEATURES += "tools-debug"
    EXTRA_IMAGE_FEATURES += "dbg-pkgs"

    When I'm building the image, compilation of "gdb" is stopping ("configure" step) with the following error:

    | checking for iconv... yes
    | checking for iconv declaration...
    |          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    | checking for library containing waddstr... -lncursesw
    | checking for library containing tgetent... none required
    | checking whether system readline is new enough... no
    | configure: error: system readline is not new enough
    | Makefile:8865: recipe for target 'configure-gdb' failed
    | make[1]: *** [configure-gdb] Error 1

    GDB is now requesting readline 7 or newer
    >> Edit: When configure is executed, readline version 5 is found !!!

    1. Hi Gilles Printemps 

      Could you please try with the below changes

      1. In <image>.bbappend file
      IMAGE_INSTALL_append = " gdb"

      2. In local.conf
      WHITELIST_GPL-3.0 += " gdb"
      INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0"
      PACKAGECONFIG_remove_pn-gdb = "readline"

      Note: currently gdb support is available for debugging signal dump and coredump.

      1. Thanks Deepika Ganapathi Bhat for your quick answer.

        Following this configuration, I can build and install successfully gdb. Can you explain the meaning of the line?

         PACKAGECONFIG_remove_pn-gdb = "readline"

        In step (1), you mentioned <image>.bbappend.
        Can you provide the path for the Raspberry PI4?

        1. Hi Gilles Printemps 

          PACKAGECONFIG: This variable provides a means of enabling or disabling features of a recipe on a per-recipe basis.
          PACKAGECONFIG_remove will disable the feature dependency on a package. pn refers to the recipe name which is gdb in above scenario.

          <image>.bbappend path for the Raspberry PI4: meta-cmf-raspberrypi/recipes-core/images/rdk-generic-broadband-image.bbappend


  14. Hi
    The captive portal seems no more responding with the latest source code for RPI 4B model
      - Right after flashing the image, I connect my device(s) to the RPi3_RDKB-AP0 SSID
      - Once connected, I open a browser and try to reach the URL: 10.0.0.1/captiveportal.jst

    I tried it with Safari and Chrome from different devices (Laptop, tablet, mobile phone) but without any success
    Is it a bug or this feature has been removed? 

  15. Hi
    In addition to my previous comment regarding the access to the captive portal, I cannot established anymore the connection to the WebUI (10.0.0.1) too.
    Can someone confirm this issue?

    1. Hi Gilles Printemps ,

      We verified with the latest rpi4 64 bit and 32 bit images. Captive portal page is working fine . Could you please check once with the latest image?

      Regards,
      Priyankaa KVB

      1. Hi Priyankaa K V B

        As requested, I started to fetch and rebuild a new image for verifying again the captive portal.
        Then, I discovered a compilation issue (fetch from  ) - See part of the log below...

        In file included from /home/corellia/Raspberry4B/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_platform.h:76,
                         from ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/include/TR-181/ml/cosa_apis.h:74,
                         from ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:73:
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c: In function 'CosaDmlWiFi_SetPreferPrivatePsmData':
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9875:28: error: 'apIndex' undeclared (first use in this function); did you mean 'RadioIndex'?
         9875 |     UNREFERENCED_PARAMETER(apIndex);
              |                            ^~~~~~~
        /home/corellia/Raspberry4B/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'
          103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)
              |                                                    ^~~
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9875:28: note: each undeclared identifier is reported only once for each function it appears in
         9875 |     UNREFERENCED_PARAMETER(apIndex);
              |                            ^~~~~~~
        /home/corellia/Raspberry4B/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'
          103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)
              |                                                    ^~~
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9876:28: error: 'index' undeclared (first use in this function)
         9876 |     UNREFERENCED_PARAMETER(index);
              |                            ^~~~~
        /home/corellia/Raspberry4B/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'
          103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)
              |                                                    ^~~
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9877:28: error: 'idx' undeclared (first use in this function)
         9877 |     UNREFERENCED_PARAMETER(idx);
              |                            ^~~
        /home/corellia/Raspberry4B/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'
          103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)
              |                                                    ^~~  

        ...

        ./../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c: In function 'CosaDmlWiFiApKickAssocDevices':
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:19807:10: error: variable 'isDeviceKicked' set but not used [-Werror=unused-but-set-variable]
        19807 |     BOOL isDeviceKicked = FALSE;
              |          ^~~~~~~~~~~~~~
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c: In function '_Band_Switch':
        ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:22672:45: error: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Werror=sign-compare]
        22672 |         if((radioIndex >= 0) || (radioIndex < getNumberRadios())){
              |                                             ^

        ...

        cc1: all warnings being treated as errors
        Makefile:534: recipe for target 'libCcspWifiAgent_sbapi_la-cosa_wifi_apis.lo' failed
        make[4]: *** [libCcspWifiAgent_sbapi_la-cosa_wifi_apis.lo] Error 1
        make[4]: *** Waiting for unfinished jobs....
        1. Hi Gilles Printemps ,

          That was a known issue . Could you please check whether you have the below code changes 

          https://code.rdkcentral.com/r/c/rdkb/components/opensource/ccsp/CcspWifiAgent/+/71975

          With latest build , you should not be seeing the build issues. Could you please try to do repo init, sync and then build again.

          Regards,
          Priyankaa KVB

          1. HiPriyankaa K V B

            As mentioned in my previous comment, I fetched ALL the source code yesterday and twice this morning (once with Ubuntu 18.04 and a second time with Ubuntu 20.04). Each time, VM was a clean one.
            Then, are you sure it is working? Can you check on your side?  

            1. Hi Priyankaa K V B

              I can even confirm that the update is not retrieve after the following commands:

               repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
               repo sync

              Can you explain why is there some differences? 

            2. Hi Gilles Printemps ,

              We also faced build errors related to CcspWiFiAgent.

              | make: *** [all] Error 2
              | ERROR: oe_runmake failed
              | WARNING: exit code 1 from a shell command.
              | ERROR: Execution of '/home/pkandh088/rpi4/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/temp/run.do_compile.2832036' failed with exit code 1
              ERROR: Task (/home/pkandh088/rpi4/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-wifi-agent.bb:do_compile) failed with exit code '1'

              But on adding the below code changes  build is success (the same check-in was shared in previous comment)

              https://code.rdkcentral.com/r/c/rdkb/components/opensource/ccsp/CcspWifiAgent/+/71975

              Please add this and rebuild the code

              Steps followed:
              ===========
              repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-extsrc.xml -b dunfell
              repo sync -j `nproc` --no-clone-bundle --no-tags
              MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment
              bitbake rdk-generic-broadband-image

              Regards,
              Priyankaa KVB

              1. Hi Priyankaa K V B

                Sync is not resolving the issue. It seems your fix is not in git/branch...
                https://code.rdkcentral.com/r/c/rdkb/components/opensource/ccsp/CcspWifiAgent/+/71975 has to be applied manually.

                BR Gilles

                1. Hi Gilles Printemps ,

                  Yes, The changes are yet to be merged into dunfell branch . Need to add manually for now.

                  On adding this changes , resolves your build issue?

                  Regards,
                  Priyankaa KVB


                  1. Yes - Patch is working

      2. Hi 
        After testing the new image, it seems that the captive portal is working.
        However, After connecting my devices to the PI4/RDK WiFi, I have to manually enter its URL (http://10.0.0.1/captiveportal.jst) for setting URL the new SSID/Password. Banner is not called automatically as it should... (FYI, I'm using Apple devices...)
        BR Gilles

        1. Hi Gilles Printemps 

          We will verify from our end and will update you.

          Thanks & Regards,

          Deepika Bhat

  16. Hi,

    Is there any way to upgrade the image from GUI? It is really helpful if we work remotely. Any plan to support this?

    Tony

    1. Hi Tony He 

      Currently firmware upgrade from GUI is not supported and there is no plan in current roadmap .However firmware upgrade through Xconf server feature is available.

  17. The bitbake process fails with the following error.

    ERROR: ccsp-wifi-agent-1.99+git999-r0 do_compile: oe_runmake failed
    ERROR: ccsp-wifi-agent-1.99+git999-r0 do_compile: Execution of '/home/jearle/rdk-build/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/temp/run.do_compile.6566' failed with exit code 1
    ERROR: Logfile of failure stored in: /home/jearle/rdk-build/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/temp/log.do_compile.6566


    Looking into the log file there are several errors thrown from the rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis file.


    May I receive some assistance with this issue?

    1. Hi Varij Gosine ,

      Please try adding below code changes and check whether that fixes your build issues

      https://code.rdkcentral.com/r/c/rdkb/components/opensource/ccsp/CcspWifiAgent/+/71975

      Regards,
      Priyankaa KVB

      1. I can confirm this works as well.

  18. Seeing similar issue with compiling ccsp-wifi-agent:

    In file included from /home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_platform.h:76,

                     from ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/include/TR-181/ml/cosa_apis.h:74,

                     from ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:73:

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c: In function 'CosaDmlWiFi_SetPreferPrivatePsmData':

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9875:28: error: 'apIndex' undeclared (first use in this function); did you mean 'RadioIndex'?

     9875 |     UNREFERENCED_PARAMETER(apIndex);

          |                            ^~~~~~~

    /home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'

      103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)

          |                                                    ^~~

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9875:28: note: each undeclared identifier is reported only once for each function it appears in

     9875 |     UNREFERENCED_PARAMETER(apIndex);

          |                            ^~~~~~~

    /home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'

      103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)

          |                                                    ^~~

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9876:28: error: 'index' undeclared (first use in this function)

     9876 |     UNREFERENCED_PARAMETER(index);

          |                            ^~~~~

    /home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'

      103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)

          |                                                    ^~~

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:9877:28: error: 'idx' undeclared (first use in this function)

     9877 |     UNREFERENCED_PARAMETER(idx);

          |                            ^~~

    /home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/recipe-sysroot/usr/include/ccsp/ansc_wrapper_base.h:103:52: note: in definition of macro 'UNREFERENCED_PARAMETER'

      103 | #define UNREFERENCED_PARAMETER(_p_)         (void)(_p_)

          |                                                    ^~~

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c: In function 'CosaDmlWiFiApKickAssocDevices':

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:19807:10: error: variable 'isDeviceKicked' set but not used [-Werror=unused-but-set-variable]

    19807 |     BOOL isDeviceKicked = FALSE;

          |          ^~~~~~~~~~~~~~

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c: In function '_Band_Switch':

    ../../../../../../../../../../rdkb/components/opensource/ccsp/CcspWifiAgent/source/TR-181/sbapi/cosa_wifi_apis.c:22672:45: error: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Werror=sign-compare]

    22672 |         if((radioIndex >= 0) || (radioIndex < getNumberRadios())){

          |                                             ^

    cc1: all warnings being treated as errors

    make[4]: *** [Makefile:534: libCcspWifiAgent_sbapi_la-cosa_wifi_apis.lo] Error 1

    make[4]: Leaving directory '/home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/ccsp-wifi-agent-1.99+git999/source/TR-181/sbapi'

    make[3]: *** [Makefile:371: all-recursive] Error 1

    make[3]: Leaving directory '/home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/ccsp-wifi-agent-1.99+git999/source/TR-181'

    make[2]: *** [Makefile:372: all-recursive] Error 1

    make[2]: Leaving directory '/home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/ccsp-wifi-agent-1.99+git999/source'

    ERROR: oe_runmake failed

    make[1]: *** [Makefile:549: all-recursive] Error 1

    make[1]: Leaving directory '/home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/ccsp-wifi-agent-1.99+git999'

    make: *** [Makefile:437: all] Error 2

    WARNING: exit code 1 from a shell command.

    ERROR: Execution of '/home/ftk/dev/rdkb/rasp/build-raspberrypi4-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ccsp-wifi-agent/1.99+git999-r0/temp/run.do_compile.1599324' failed with exit code 1


    1. Hi Frederik Thomas Karlsson ,

      Please try adding below code changes which should resolve your build issue

      https://code.rdkcentral.com/r/c/rdkb/components/opensource/ccsp/CcspWifiAgent/+/71975

      Regards,
      Priyankaa KVB

      1. Hi Priyankaa K V B 

        I can confirm that the patch with changes to cosa_wifi_apis.c#9882 works! thx! (smile) 

        NOTE: Tasks Summary: Attempted 5233 tasks of which 4957 didn't need to be rerun and all succeeded.
        NOTE: Writing buildhistory
        NOTE: Writing buildhistory took: 3 seconds

        Summary: There were 54 WARNING messages shown.

  19. Hello

    I  found an issue while compiling for Rapi4 :

    Any idea why I am getting  this error  ? 

    error traceback :

    ERROR: heaptrack-1.0.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=6f59b2cd1e3d4521633a2ed362eb4074"; export SSH_AGENT_PID="2065"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export no_proxy="localhost,127.0.0.0/8,::1"; export NO_PROXY="localhost,127.0.0.0/8,::1"; export HOME="/home/goutam"; git -c core.fsyncobjectfiles=0 ls-remote "git://github.com/KDE/heaptrack"  failed with exit code 128, output:
    fatal: unable to connect to github.com:
    github.com[0: 20.207.73.82]: errno=Connection timed out


    Reinoud Koornstra how did you resolve this issue ?

           Please help me out.

          Thanks

    1. Hi Goutam Singh 

      I hope , the issue resolved from the below comments ,

      If still persists , please add the below changes in your workspace

      https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-cmf/+/69360/1/recipes-common/heaptrack/heaptrack_1.0.0.bbappend

  20. Hello Goutam Singh 

    Yes, I've found a way to make this work.

    in your ~/.gitconfig

    You can put:

    [url "https://github.com"]
            insteadOf = git://github.com

    This worked for me, let me know if this works for you too.
    Thanks,

    Reinoud.

    1. Thank you so much Reinoud Koornstra . This issue has been resolved . Now other issue is coming it is not dependent on previous issue it is completely different.

      Error Traceback:

      platform/rdk/src/lib/devinfo/devinfo.c: In function 'devinfo_get_inet_iface_config':
      platform/rdk/src/lib/devinfo/devinfo.c:91:26: error: 'CONFIG_RDK_LAN_BRIDGE_NAME' undeclared (first use in this function); did you mean 'CONFIG_TARGET_LAN_BRIDGE_NAME'?
         91 |     if (!strcmp(if_name, CONFIG_RDK_LAN_BRIDGE_NAME))
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
            |                          CONFIG_TARGET_LAN_BRIDGE_NAME
      platform/rdk/src/lib/devinfo/devinfo.c:91:26: note: each undeclared identifier is reported only once for each function it appears in
      platform/rdk/src/lib/devinfo/devinfo.c:96:31: error: 'CONFIG_RDK_WAN_BRIDGE_NAME' undeclared (first use in this function); did you mean 'CONFIG_TARGET_LAN_BRIDGE_NAME'?
         96 |     else if (!strcmp(if_name, CONFIG_RDK_WAN_BRIDGE_NAME))
            |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
            |                               CONFIG_TARGET_LAN_BRIDGE_NAME

      make: *** [build/unit-build.mk:575: work/RDKB/obj/platform.rdk.src.lib.devinfo/platform/rdk/src/lib/devinfo/devinfo.o] Error 1

      Please help me out.

      Thanks

      Goutam Singh

      1. Hi Goutam Singh 

        can you share us the complete log file and build steps you followed. 

        1. We cannot share with you

          Thanks

      2. Hello Priyankaa K V B  Please give some suggestion how we can over come  this issue .

        1. Hi Goutam Singh ,

          Could you please confirm

          • Steps that you followed to build the code . Are they same as below ? If not , please share the steps that you followed

            repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
            repo sync -j`nproc` --no-clone-bundle

          • Please confirm for which platform you are trying for ?
          • Do a fresh build once and check whether you are still hitting the error
          • If you are still seeing , can you share log.do_compile file from build directory 
          • Can you give the output of "find . -iname devinfo.c ". 

          Regards,
          Priyankaa KVB

          1. Thank you Priyankaa K V B  for  responding on my comment

            I tried with fresh build and didn't get  this error.


            Regards,

            Goutam Singh

  21. Hi Goutam Singh 

    I did a search on yocto and opensync:

    Additional configuration TheOpenSynccanbeconfiguredusingasetofCONFIG_options.Therecommendedwayisto                generateaconfigfileusing‘menuconfig’asittakescareofallthedependencies.However,to                manuallysetoptions,youcanmodifytheconfigfileinthevendorlayer             (“vendor/template/kconfig/TEMPLATE”): This example shows a possible RDK-specific configuration: CONFIG_RDK_LAN_BRIDGE_NAME=br-lan CONFIG_RDK_WAN_BRIDGE_NAME=br-wan CONFIG_RDK_MULTI_PSK_SUPPORT=y CONFIG_RDK_HAS_ASSOC_REQ_IES=y

    It can be found here:

    https://static1.squarespace.com/static/5bbce542d7819e023f203f03/t/5eebb8c6a846e25876f8c5e3/1592506567282/EIN-020-061-601_Building_OpenSync_with_RDK-B.pdf

    It seems you didn't configure:

    (“vendor/template/kconfig/TEMPLATE”) ?

    Please look at this pdf closely.
    In addition Deepika Ganapathi Bhat asked you for details build instructions, you did not provide these and a complete log.
    There is always a log.do_compile of the build, please provide Deepika with what he needs to help you out as I am not familiar with Opensync and yocto, but he may be able to help you out here.
    Thanks, Reinoud


  22. Hi Goutam Singh ,

    I am seeing two things here:

    1) brcm93390smwvg2 (this is a Broadcom product)

    2) I see here vendors is castlenet, please let me know if you're building for Castlenet

    Please let me know if you're trying to build rdk for the Broadcom product.
    Thanks, Reinoud.