Skip to end of metadata
Go to start of metadata

A tutorial to set up your environment and Download Source Code

  • Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access.
  • Please login to code.rdkcentral.com before attempting to clone.

The RDK-B code can be obtained from the CMF Gerrit instance using the repo commands below :

$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2018q2
$ repo sync -j4 --no-clone-bundle
  • The -m rdkb.xml in the build sequence above is important. If this is not specified, you will get an RDK-V tree by default.

Note : The above commands illustrate how to access the specific CMF iteration (snapshot) RDK-B_2018Q2. Substitute the latest iteration currently available in RDK-B Releases page. If you want to get the very latest state of the code (i.e. current development), do not supply a branch, and master will be fetched:

$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b morty
$ repo sync -j4 --no-clone-bundle

The first command will download the manifest, while the other command will fetch and checkout all the relevant git trees. Now you have a complete folder structure ready to build the RDK-B OpenEmbedded distro. The Manifest file (manifest.xml or default.xml) defines which repositories the project uses and links to appropriate revisions of each git repository. After completing "repo init", manifest files will be downloaded in ".repo/manifests/" path.

For other details on how to set up your Environment refer to Getting Started with the Code

Build Source Code


Steps to build the Source code:
 
In order to build the source code, we need to follow two primary steps,
 
1. Source the environment setup file
2. Build the required image using bitbake
 
The build instructions are device specific (e.g Emulator, RaspberryPi) and we need to be careful in using the proper environment setup file. We will take example of raspberry-pi and emulator here for reference.
 

Building the Emulator Version

 

RDK-B Emulator Users Guide

RDK-B Emulator Build Instructions


Building for RaspberryPi


RDK-B (RaspberryPi) User's Guide

RDK-B (RaspberryPi) Build Instructions - Morty

  
For further details on download and build instructions please refer to the RDK-B Release manuals provided with every release.
  • No labels

134 Comments

  1. I can't download the source code, get the following error:

    Get https://gerrit-googlesource.lug.ustc.edu.cn/git-repo/clone.bundle

    Get https://gerrit-googlesource.lug.ustc.edu.cn/git-repo

    warning: redirecting to https://gerrit-googlesource.proxy.ustclug.org/git-repo/

    remote: Finding sources: 100% (13/13)

    remote: Total 13 (delta 0), reused 13 (delta 0)

    Unpacking objects: 100% (13/13), done.

    From https://gerrit-googlesource.lug.ustc.edu.cn/git-repo

       da40341..a6515fb  master     -> origin/master

    Get https://code.rdkcentral.com/r/manifests

      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                     Dload  Upload   Total   Spent    Left  Speed

      0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0

    curl: (22) The requested URL returned error: 404 

    Server does not provide clone.bundle; ignoring.

    fatal: remote error: access not permitted

    fatal: remote error: access not permitted

    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

  2. Z-ZheLiu,

    It seems to be an licence issue. I think you need to be an RDK licensee to access the source code

  3. Hi I trying to build the image for Rasspberry PI but a have an error :

    ERRORParseError at /home/epanciera/wk/rdkb-rpi-master/meta-raspberrypi/recipes-rdk/westeros/westeros-soc-rpi.bb:1: Could not include required file recipes-graphics/westeros/westeros.inc

    Could you help us?


    I m using the master branch  → repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml

    When I set the setupenviroment  (source meta-cmf-raspberrypi/setup-environment) , I'm using the option 9 (meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband.conf)

    This is the output when I try to do bitbake: 


    $ bitbake rdk-generic-broadband-image

    WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjdk-6-jre ( ${JDK_HOME}/jre/bin/keytool         ${JDK_HOME}/jre/bin/orbd ${JDK_HOME}/jre/bin/pack200         ${JDK_HOME}/jre/bin/rmid ${JDK_HOME}/jre/bin/rmiregistry         ${JDK_HOME}/jre/bin/servertool ${JDK_HOME}/jre/bin/tnameserv         ${JDK_HOME}/jre/bin/unpack200${JDK_HOME}/jre/bin/policytool         ${JDK_HOME}/jre/bin/javaws        ).

    WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjdk-6-jre ( ${JDK_HOME}/jre/bin/keytool         ${JDK_HOME}/jre/bin/orbd ${JDK_HOME}/jre/bin/pack200         ${JDK_HOME}/jre/bin/rmid ${JDK_HOME}/jre/bin/rmiregistry         ${JDK_HOME}/jre/bin/servertool ${JDK_HOME}/jre/bin/tnameserv         ${JDK_HOME}/jre/bin/unpack200${JDK_HOME}/jre/bin/policytool         ${JDK_HOME}/jre/bin/javaws        ).

    WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjdk-6-jre ( ${JDK_HOME}/jre/bin/keytool         ${JDK_HOME}/jre/bin/orbd ${JDK_HOME}/jre/bin/pack200         ${JDK_HOME}/jre/bin/rmid ${JDK_HOME}/jre/bin/rmiregistry         ${JDK_HOME}/jre/bin/servertool ${JDK_HOME}/jre/bin/tnameserv         ${JDK_HOME}/jre/bin/unpack200${JDK_HOME}/jre/bin/policytool         ${JDK_HOME}/jre/bin/javaws        ).

    WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjdk-6-jre ( ${JDK_HOME}/jre/bin/keytool         ${JDK_HOME}/jre/bin/orbd ${JDK_HOME}/jre/bin/pack200         ${JDK_HOME}/jre/bin/rmid ${JDK_HOME}/jre/bin/rmiregistry         ${JDK_HOME}/jre/bin/servertool ${JDK_HOME}/jre/bin/tnameserv         ${JDK_HOME}/jre/bin/unpack200${JDK_HOME}/jre/bin/policytool         ${JDK_HOME}/jre/bin/javaws        ).

    WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjdk-7-jre ( ${JDK_HOME}/jre/bin/keytool         ${JDK_HOME}/jre/bin/orbd ${JDK_HOME}/jre/bin/pack200         ${JDK_HOME}/jre/bin/rmid ${JDK_HOME}/jre/bin/rmiregistry         ${JDK_HOME}/jre/bin/servertool ${JDK_HOME}/jre/bin/tnameserv         ${JDK_HOME}/jre/bin/unpack200${JDK_HOME}/jre/bin/policytool         ${JDK_HOME}/jre/bin/javaws        ).

    ERROR: ParseError at /home/epanciera/wk/rdkb-rpi-master/meta-raspberrypi/recipes-rdk/westeros/westeros-soc-rpi.bb:1: Could not include required file recipes-graphics/westeros/westeros.inc


    Summary: There were 5 WARNING messages shown.

    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

  4. Eduardo Panciera


    At present,We are working with Morty branch(updated), please follow the below build instructions steps to build a rpi image,

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

                2. repo sync --no-tags

                3. source meta-cmf-raspberrypi/setup-environment

                4. choose 9) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband.conf

                5. bitbake rdk-generic-broadband-image

  5. I have a problem compiling


    repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2018q2


    0.61-r0/temp/log.do_compile.20918)
    ERROR: Logfile of failure stored in: /home/producto/repo/rdkb/build-qemux86broadband/tmp/work/x86_64-linux/quilt-native/0.61-r0/temp/log.do_compile.20918
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 4
    | /home/producto/repo/rdkb/build-qemux86broadband/tmp/work/x86_64-linux/quilt-native/0.61-r0/temp/run.do_compile.20918: line 140: make: command not found
    | ERROR: oe_runmake failed
    | WARNING: /home/producto/repo/rdkb/build-qemux86broadband/tmp/work/x86_64-linux/quilt-native/0.61-r0/temp/run.do_compile.20918:1 exit 1 from
    | exit 1
    | ERROR: Function failed: do_compile (log file is located at /home/producto/repo/rdkb/build-qemux86broadband/tmp/work/x86_64-linux/quilt-native/0.61-r0/temp/log.do_compile.20918)
    ERROR: Task 23 (/home/producto/repo/rdkb/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.61.bb, do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 11 tasks of which 0 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/producto/repo/rdkb/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.61.bb, do_compile
    Summary: There were 32 WARNING messages shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

  6. Z-Alfredo Aparicio,


    At present,We are working with Morty branch.So requested to use the below command for generating the RDK-B Emulator image,

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

  7. I'm getting an error when trying to get the source code.  (Tried both master and morty)

    Checking out project rdk/devices/intel-x86-pc/emulator/iarmmgrs
    Syncing work tree: 95% (146/153)Checking out project rdk/devices/raspberrypi/iarmmgrs
    Syncing work tree: 96% (147/153)Checking out project rdk/devices/raspberrypi/webpa-client
    Checking out project rdk/devices/raspberrypi/wifi
    Syncing work tree: 97% (149/153)Checking out project rdk/tools/tdk
    error: Cannot checkout rdk/tools/tdk: ManifestInvalidRevisionError: revision master in rdk/tools/tdk not found
    error: in `sync --no-clone-bundle`: revision master in rdk/tools/tdk not found


  8. I meet a problem for downloading the code

    I got the message "access not permitted" after I type the user name and password for"repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2018q2"?

    how to access the code?

    1. Hi Z-jhe wei, jhang


      We tried with the command you mentioned and it seems to work fine. Let us see if your account has some access issues.Could you please raise an issue at https://jira.rdkcentral.com/ on the same?


      Thanks,

      Swamy

  9. After I do the steps for "Building for RaspberryPi" on the page "RDK-B_2019Q3".

    I got the message "ERROR: Layer 'cmf-raspberrypi' depends on layer 'cmf-video', but this layer is not enabled in your configuration" for "bitbake rdk-generic-broadband-image" command.

    What is the best suggestion for solving this problem?

    1. Hi Z-Wilson

      This error is mostly seen when we select an option with a video component included for a broadband build. Could you please let us know the option selected( the number too ) during step 3( the 'source' command )

      Thanks,

      Swamy

      1. the option are 23) meta-raspberrypi/conf/machine/raspberrypi3-64.conf and 24) meta-raspberrypi/conf/machine/raspberrypi3.conf

        My device is raspberrypi 3 model B and I have another problem.

        What is the difference with raspberrypi3-64-rdk-broadband.conf, raspberrypi3-64-rdk-broadband-musl.conf, raspberrypi3-64.conf
        and raspberrypi3.conf?

        Following content is my test result.

        case 1: choose the config raspberrypi3-64-rdk-broadband-musl.conf and build the code.

                    i got the error message "ucresolv/git+AUTOINC+996c3778b1-r1/git/./include/sys/resource.h:2:35: fatal error: resource/sys/resource.h: No such file or directory"

        case 2: choose the config raspberrypi3-64-rdk-broadband.conf and build the code.

                    After the device boot up, i find that the network interface don't link up. I have to type the commnad "ip link set eth0 up"...etc.

                    The lighttpd is not enable too. I use the command "lighttpd -f /etc/lighttpd.conf" to enable the gui feature.

                    what is the GUI default username and passoword? 

                    After I input the admin and password based on "RDK-B-RaspberryPi-UserGuide 2.0", I got the error message "Incorrect password for admin!"

                     I also find the error message like "swctl command not found" and more message in the /rdklogs/logs/Console.txt.0.

        case 3: raspberrypi3-64.conf&raspberrypi3.conf

                    i got the error message "ERROR: Layer 'cmf-raspberrypi' depends on layer 'cmf-video', but this layer is not enabled in your configuration"


  10. Am unable to download the sources for RDK-B emulator. Getting following error.

    root@vtguser:/home/RDKB-Rpi# repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b morty
    Username for 'https://code.rdkcentral.com': jpcleona
    Password for 'https://jpcleona@code.rdkcentral.com':
    fatal: remote error: access not permitted

    Pls let me know the solution

    1. Unfortunately I have the same problem (but I am using .netrc, so not questioned for username and pw)

      git and repo are in their latest version.

      What can I do ?


      Thanks for any help.




  11. I am not able to download RDK code for raspberry pi

    inuxtest@faketbs:~/sanjeet/RDKB$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-raspberrypi.xml -b morty
    Username for 'https://code.rdkcentral.com': sanjeet8.23@gmail.com
    Password for 'https://sanjeet8.23@gmail.com@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'
    Username for 'https://code.rdkcentral.com':

    1. HI Sanjeet,

      Please share your username so that we can see if it has proper access rights. We see you are not using a company email ID so mostly your account might not be having enough access to some repos

  12. I am getting the below error while downloading the source code.

    error: in `sync -j4 --no-clone-bundle`: revision master in components/generic/rdk-oe/meta-cmf-96boards not found

    Also, Authentication failure happened during code fetch.

    1. Hi Z-Mahesh Singh,


      please share the repo init command used, its results and the authentication failure you saw

  13. dear admin:

    I am not able to download RDK-b code, log as follows:

    repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2019q3
    Username for 'https://code.rdkcentral.com': tb0128_kal
    Password for 'https://tb0128_kal@code.rdkcentral.com':
    fatal: remote error: access not permitted
    Username for 'https://code.rdkcentral.com': tb0128_kal
    Password for 'https://tb0128_kal@code.rdkcentral.com':
    fatal: remote error: access not permitted

    fatal: remote error: access not permitted
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests


    Narayanaswamy Ramaiyer

    my username is tb0128_kal, thank you!

    1. Hello Z-kal tang,


      Could you please run the below commands in terminal and let us know the output?


      git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"

      git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"


      Also, please let us know if you can login to https://code.rdkcentral.com with your username and password



      1. dear Narayanaswamy Ramaiyer:

        I can login to  https://code.rdkcentral.com sucess,and clone output as follows:

        git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
        Cloning into 'Utopia'...
        remote: Counting objects: 84, done
        remote: Total 15919 (delta 0), reused 15919 (delta 0)
        Receiving objects: 100% (15919/15919), 10.74 MiB | 223.00 KiB/s, done.
        Resolving deltas: 100% (10233/10233), done.


        git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
        Cloning into 'meta-cmf-raspberrypi'...
        Username for 'https://code.rdkcentral.com': tb0128_kal
        Password for 'https://tb0128_kal@code.rdkcentral.com':
        fatal: remote error: access not permitted

        1. HI Z-kal tang,

          Let us check you access rights and confirm this. Yogomaya Maharana could you please check his access rights?


          Thanks,

          Swamy

  14. Narayanaswamy Ramaiyer - Z-kal tang has signe dup with personal email address.  While most of the RDK components are available free, a handful of components are distributed under the free RDK License Agreement. Please contact RDK Management at info@rdkcentral.com in case you need more information

  15. Hi

    Iam not able to download RDK-V source code for X-86, while downloading Iam getting errors like,

    fatal: remote error: access not permitted


    1. Z-SharanyaBakkanagari While most of the RDK components are available free, a handful of components are distributed under the free RDK License Agreement. Please contact RDK Management at info@rdkcentral.com in case you need more information. 

  16. Hi,  I cannot download rdkb-2019q3 code.

    Logs is as follows. 

    What can I do?

    My username is whliao.tw


    Thanks


    frankliao@dororo:~/RDKB3$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2019q3
    Downloading Repo source from https://gerrit.googlesource.com/git-repo
    remote: Counting objects: 2, done
    remote: Finding sources: 100% (48/48)
    remote: Total 48 (delta 6), reused 48 (delta 6)
    Unpacking objects: 100% (48/48), 146.66 KiB | 2.01 MiB/s, done.
    From https://gerrit.googlesource.com/git-repo
    d38300c..910dfe8 master -> origin/master
    0b57eed..d957ec6 stable -> origin/stable
    * [new tag] v2.4 -> v2.4
    * [new tag] v2.4.1 -> v2.4.1
    Downloading manifest from https://code.rdkcentral.com/r/manifests
    Server does not provide clone.bundle; ignoring.
    Username for 'https://code.rdkcentral.com': whliao.tw
    Password for 'https://whliao.tw@code.rdkcentral.com':
    manifests:
    fatal: remote error: access at least one ref not permitted

    Username for 'https://code.rdkcentral.com': whliao.tw
    Password for 'https://whliao.tw@code.rdkcentral.com':
    manifests:
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'

  17. Hi,
    I am not able to download rdkb-2019q3 and getting below errors.

    root@chauhan-pvf:/home/chauhan/emulator# repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdk-2019q3
    fatal: remote error: access at least one ref not permitted
    manifests:

    I Tried to clone Utopia which I am able to clone properly.

    Please help me to fix this issue.

    My user name is digvijay.chauhan


    Thanks.

    1. Hi Z-Digvijay Singh Chauhan

      Did you tried logging in once to https://code.rdkcentral.com once before trying to checkout the code?

      Thanks

  18. Hi Narayanaswamy Ramaiyer

    Thanks for quick reply, Yes I logged in to https://code.rdkcentral.com  before cloning, also I am able to clone Utopia. see the status below but other repos I am not able to clone.

    root@chauhan-pvf:/home/chauhan/emulator# git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    Cloning into 'Utopia'...
    remote: Counting objects: 93, done
    remote: Total 17024 (delta 0), reused 17024 (delta 0)
    Receiving objects: 100% (17024/17024), 12.34 MiB | 311.00 KiB/s, done.
    Resolving deltas: 100% (10760/10760), done.


    root@chauhan-pvf:/home/chauhan/emulator# repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdk-2019q3
    fatal: remote error: access at least one ref not permitted
    manifests:
    fatal: remote error: access at least one ref not permitted

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

    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

  19. Hi Z-Digvijay Singh Chauhan

    Please try with 'rdkb-2019q3' instead of 'rdk-2019q3'

  20. Hi Narayanaswamy Ramaiyer


    I am trying to download latest rdk-next branch but ran into following error. Could you please help me with this.

    Username: ravindra1235

    I am able to login into code.rdkcentral.com with ravindra1235 username.

    #repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
    fatal: remote error: access at least one ref not permitted
    manifests:
    fatal: remote error: access at least one ref not permitted

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

    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests


    Following information is for reference:

    ravindra@ravindra:~/Code/rdkv-repo$ git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    Cloning into 'Utopia'...
    remote: Counting objects: 121, done
    remote: Finding sources: 100% (21/21)
    remote: Total 17744 (delta 2), reused 17740 (delta 2)
    Receiving objects: 100% (17744/17744), 13.26 MiB | 1.13 MiB/s, done.
    Resolving deltas: 100% (11101/11101), done.
    ravindra@ravindra:~/Code/rdkv-repo$
    ravindra@ravindra:~/Code/rdkv-repo$ git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
    Cloning into 'meta-cmf-raspberrypi'...
    fatal: remote error: access at least one ref not permitted
    ravindra@ravindra:~/Code/rdkv-repo$


    Thanks in advance!!

    Regards

    Ravindra


    1. Hello Ravindra,

       
      Thank you for reaching out to RDK Support. 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,

      RDK Support


  21. Hi all,

     I was trying to fetch the code from the repository. But, I got this problem :

    (base) blade@blade-Blade:~/emulator$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-raspberrypi.xml -b morty
    Username for 'https://code.rdkcentral.com': mohamed.jaafar.vp
    Password for 'https://mohamed.jaafar.vp@code.rdkcentral.com':
    fatal: remote error: access at least one ref not permitted
    manifests:
    fatal: remote error: access at least one ref not permitted


    1. Hello Mohamed,

       
      Thank you for reaching out to RDK Support. 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,

      RDK Support

    2. I'm getting the same error. I can log into gerrit OK and as far as I am aware have a licence agreement that includes commits. 

      I can git clone Utopia but not meta-cmf-raspberrypi. Does this need a separate agreement because there doesn't seem to be a summary of what is and isn't available?

      1. Hello Carl,

        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 https://rdkcentral.com/rdk-license-application-form/ 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.
        You can get all the Apache components, but for any of the RDK Components, you have to obtain the RDK License Agreement.


        Thanks,

        RDK Support


        1. Thankyou, form filled in.

  22. Hi ,

    I am getting following in middle of sync .

    python3 repo sync -j4 --no-clone-bundle
    Username for 'https://code.rdkcentral.com': rajeshrm
    Password for 'https://rajeshrm@code.rdkcentral.com':
    Fetching projects: 3% (4/107) components/opensource/gdbus-clientUsername for 'https://code.rdkcentral.com': Username for 'https://code.rdkcentral.com': Username for 'https://code.rdkcentral.com': rajeshrm
    Password for 'https://rajeshrm@code.rdkcentral.com': Username for 'https://code.rdkcentral.com': Password for 'https://rajeshrm@code.rdkcentral.com':
    Fetching projects: 4% (5/107) components/generic/rdk-oe/meta-cmfUsername for 'https://code.rdkcentral.com': rajeshrm
    Password for 'https://rajeshrm@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-broadband/'
    components/generic/rdk-oe/meta-cmf-broadband:
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-broadband/'

    Username for 'https://code.rdkcentral.com':


    Please help me.. My user name and password was correct and i have approved licence also.

    1. Hi Z-Rajesh Reddy


      Could you please confirm

      1. You have once logged into https://code.rdkcentral.com with your credentials without issues
      2. You have saved the credentials in ~/.netrc file


      1. YES .I am able to login into https://code.rdkcentral.com without any issues.

        I have saved credentials in ~/.netrc .

          1. Hi Narayanaswamy Ramaiyer

            I am able clone both. The output as follows.

            spanidea@span:~/rpi$ git clone"https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
            Cloning into 'Utopia'...
            remote: Counting objects: 109, done
            remote: Total 18768 (delta 0), reused 18768 (delta 0)
            Receiving objects: 100% (18768/18768), 14.84 MiB | 1.18 MiB/s, done.
            Resolving deltas: 100% (11601/11601), done.
            Checking connectivity... done.

            spanidea@span:~/rpi$ git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
            Cloning into 'meta-cmf-raspberrypi'...
            Username for 'https://code.rdkcentral.com': rajeshrm
            Password for 'https://rajeshrm@code.rdkcentral.com':
            remote: Counting objects: 143, done
            remote: Total 10381 (delta 0), reused 10381 (delta 0)
            Receiving objects: 100% (10381/10381), 2.47 MiB | 503.00 KiB/s, done.
            Resolving deltas: 100% (4105/4105), done.
            Checking connectivity... done.




            1. HI Z-Rajesh Reddy


              Looks like this is not related to access as you are able to checkout components. But if you have set your .netrc file properly, it should not have asked for password. Could you please check if the .netrc file is at the proper location ( in your home folder, ie at ~/ ) and the values in it are proper?

  23. Hi,

    I am getting the below error in the middle of sync:

    * [new branch] ​2002_feature -> rdkgerrit/​2002_feature
    * [new branch] ​test_branching_axg1v3 -> rdkgerrit/​test_branching_axg1v3
    * [new branch] ​test_branching_python_axg1v3 -> rdkgerrit/​test_branching_python_axg1v3

    Password for 'https://code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted/'
    Username for 'https://code.rdkcentral.com': sravanthi_peta
    Password for 'https://sravanthi_peta@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted/'
    error: Cannot fetch components/generic/rdk-oe/meta-cmf-video-restricted

    error: Exited sync due to fetch errors

     Able to login into https://code.rdkcentral.com with my credentials without any issues and also saved the credentials in ~/.netrc file

    Could someone please help me on this.

    1. Sravanthi Peta - What is the exact username (lower/upper/mixed case) you are using for login to code.rdkcentral.com? 

      1. Yogomaya Maharana – Username : sravanthi_peta , the same I am using to open code.rdkcentral.com.

        1. Hi Sravanthi Peta


          Are you trying to build RDK-V target ?

          Could you please run the below commands in terminal and let us know the output?

          git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
          git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"

          1. Hi Narayanaswamy Ramaiyer

            Working fine now after doing some changes in .netrc 

            Thank you

            1. Hi Sravanthi Peta can you please tell me what change in .netrc you did to make it work ? I am facing exactly the same issue.


              fatal: remote error: access at least one ref not permitted
              Fetching projects:  92% (230/249)  Fetching project rdk/components/cpc/lostandfound/generic
              Fetching project rdk/components/cpc/netzyn/soc/realtek/common
              Fetching projects:  93% (232/249)  Fetching project rdk/components/cpc/rf4ce/generic
              Fetching project rdk/components/cpc/firewall/generic
              Fetching projects:  94% (235/249)  Fetching project rdk/components/cpc/socprovisioning/generic
              Fetching project rdk/components/cpc/tdk/generic
              Fetching project rdk/components/generic/rmf_tools/tenableHDCP/generic
              Fetching projects:  99% (247/249)  fatal: remote error: access at least one ref not permitted
              error: Cannot fetch components/generic/rdk-oe/meta-cmf-video-restricted

              error: Exited sync due to fetch errors

              I can access code.rdkcentral.com. with my login and also .netrc contains the same login but still seeing same error.

              Thanks

              Narayanaswamy Ramaiyer  Terminal output of above 2 commands are

              nve@server001:~$ git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
              Cloning into 'Utopia'...
              remote: Counting objects: 123, done
              remote: Total 19485 (delta 0), reused 19485 (delta 0)
              Receiving objects: 100% (19485/19485), 15.53 MiB | 14.44 MiB/s, done.
              Resolving deltas: 100% (11939/11939), done.
              Checking connectivity... done.


              nve@server001:~$ git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
              Cloning into 'meta-cmf-raspberrypi'...
              fatal: remote error: access at least one ref not permitted


              Appreciate your help,

              Thanks

              1. Hi Nagendra Verma ,

                This looks like an access issue. Yogomaya Maharana  could you please check user access? User has confirmed login to code.rdkcentral.com

                  1. Hello Nagendra Verma  , 
                    Thank you for reaching out to RDK Support. 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.


  24. Hi, 

    Please help with this issue. password keep on asking but i am getting below error. 

    Fetching projects: 2% (2/98) rdk/components/opensource/oe/meta-browserUsername for 'https://code.rdkcentral.com': rajeshrm
    Password for 'https://rajeshrm@code.rdkcentral.com': Password for 'https://9030558931@aA@code.rdkcentral.com': Password for 'https://rajeshrm@code.rdkcentral.com': Password for 'https://rajeshrm@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/asp/rdk-oe/meta-cmf-bsp-emulator/'
    components/asp/rdk-oe/meta-cmf-bsp-emulator:
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/components/asp/rdk-oe/meta-cmf-bsp-emulator/'

    I am facing this issue from couple of days. Please help asap



    1. HI Z-Rajesh Reddy 


      This issue looks more like your ~/.netrc file is not providing credentials in a proper way and hence it is asking for your username and password everytime during repo sync.  Please see if ~/.netrc is stored properly and the contents are correct. A sample content might look like

      :~$ cat ~/.netrc
      machine code.rdkcentral.com
      login santaclaus
      password christmas

      1. Hi,

        Thank you.  working fine after adding .netrc

  25. Hi,
    I am unable to download the code base.


    I have tried following based on issues reported by others.
    1> https://code.rdkcentral.com: I can sign-in successfully
    2>git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    The output is:

    Cloning into 'Utopia'...
    remote: Counting objects: 109, done
    remote: Total 18786 (delta 0), reused 18786 (delta 0)
    Receiving objects: 100% (18786/18786), 14.85 MiB | 2.64 MiB/s, done.
    Resolving deltas: 100% (11611/11611), done.

    3>~/.netrc
    I have saved credentials here:
    cat ~/.netrc
    machine code.rdkcentral.com
    login kiran.kumar2
    password <my-password>

    4> git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"

    Output shows:
    Cloning into 'meta-cmf-raspberrypi'...
    fatal: remote error: access at least one ref not permitted

    5>repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-raspberrypi.xml -b morty

    Output shows:
    fatal: remote error: access at least one ref not permitted

    fatal: remote error: access at least one ref not permitted
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests


    Could you please let me know the reason for the above failures.

    Login details:
    User Name: kiran.kumar2
    Email: kiran.kumar2@commscope.com

    Regards,
    Kiran

    1. Hi Z-Kiran Kumar as you are able to clone generic repo but not restricted repo, let us first check your access


      Yogomaya Maharana  can you please cross check the access for the user?does a '.' in username cause any issue?

      1. Z-Kiran Kumar - Please try your access now. Login to code.rdkcentral.com with username kiran.kumar2 before checking out.

        1. Yogomaya Maharana  Narayanaswamy Ramaiyer  Thanks. Checkout issue is resolved.

          For Pi version, I checked out using:

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

          repo sync -j4 --no-clone-bundle


          The above commands results in error:

          Checking out projects: 41% (39/93) rdk/devices/raspberrypi/webpa-clienterror: Cannot checkout rdk/devices/intel-x86-pc/rdkemulator/tdk: ManifestInvalidRevisionError: revision master in rdk/devices/intel-x86-pc/rdkemulator/tdk not found

          error: in `sync -j4 --no-clone-bundle`: revision master in rdk/devices/intel-x86-pc/rdkemulator/tdk not found

          Is there any further issue of permissions?. Also, the the link "RDK-B (RaspberryPi) Build Instructions - Morty" is not working. Could you please help to resolve.

          1. Narayanaswamy Ramaiyer - Please take a look at the checkout error

          2. Hi Z-Kiran Kumar,


            RDK-B build instructions are now moved at here


            The build issue you are seeing - Could you please try with rdk-next branch( or the instructions in above link ) which should work fine based on latest trials ?


            repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdk-next
            repo sync -j35 --no-clone-bundle



            1. Thanks Narayanaswamy Ramaiyer . I can check-out repo now.

  26. In the page https://code.rdkcentral.com, and click sign in, there is error message denying access, how to go the sign in?

    And the above link to the "code.rdkcentral.com" drives to another ads page of games.

    Please indicate the the page code.rdkcentral.com is yet to be used.

    Thanks.

    1. Hi Z-Zeng Juan ,


      The site https://code.rdkcentral.com/ still works fine. You can login by clicking on the 'Login' button on the top right corner of the page. ( https://code.rdkcentral.com/r/login/%2F%2Fq%2Fstatus%3Aopen Is the direct link to login page)

      The login credentials are same as the RDK wiki credentials which you used to login to post this comment


  27. Hi,
    I am unable to download the code base.

    I have tried following based on issues reported by others.
    1> https://code.rdkcentral.com: I can sign-in successfully
    2>git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    The output is:

    Cloning into'Utopia'...
    remote: Counting objects: 120, done
    remote: Total 19332 (delta 0), reused 19332 (delta 0)
    Receiving objects: 100% (19332/19332), 15.41 MiB | 179.00 KiB/s, done.
    Resolving deltas: 100% (11854/11854), done.


    3>~/.netrc
    I have saved credentials :
    cat ~/.netrc
    machine code.rdkcentral.com
    login aimee_qiu
    password Sdc.2020@


    4> git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"

    Output shows:

    Cloning into'meta-cmf-raspberrypi'...
    fatal: remote error:access at least one ref not permitted


    5>repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-raspberrypi.xml -b morty

    Output shows:

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

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

    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests



    Could you please let me know the reason for the above failures.Does a '_' in username cause any issue?

    Login details:
    User Name: aimee_qiu
    Email: aimee_qiu@sdc.sercomm.com


    Regards,
    Aimee

    1. Hi Z-aimeeqiu 


      Thanks for the detailed info. This looks like an access issue

      Yogomaya Maharana could you please cross check access? User is not able to access licensed repos

      1. Z-aimeeqiu Narayanaswamy Ramaiyer - There were some access missing from this account. Please try your access now and let me know if issue still persists.

        1. work fine !  I can download code base now.Thank you for help!

  28. Yogomaya Maharana 

    Hi , 

    I am also facing the same error fetching this code  https://code.rdkcentral.com/r/soc/broadcom/components/generic/rdkcryptoapi-netflix .

    remote https://code.rdkcentral.com/r/soc/broadcom/components/generic/rdkcryptoapi-netflix failed with exit code 128, output:
    fatal: remote error: access at least one ref not permitted

    Please check and give access to me also.

    1. We need approval for accessing the repos.

      1. I sent mail to support@rdkcentral.com to approval . Please check and approve

  29. Hi, 

    I am also facing an access rights issue. Could you please open the access?

    Username for 'https://code.rdkcentral.com': sriram@skardin.com.tw
    Password for 'https://sriram@skardin.com.tw@code.rdkcentral.com': 
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'

    manifests:
    None

    username: gpsriramprabu 


    1. Sriramprabu P - Please use username "gpsriramprabu" for code.rdkcentral.com and not email. Also, would suggest you to first login to code,rdkcentral.com and them attempt a code cloning.

      Thanks,

      RDK Support

      1. Yogomaya Maharana  I'm having this problem for months.. I can access the code.rdkcentral.com/ but I still have this issue, I already sent email to support but I still having this issue.

        1. Hello Caio Pereira


          Thank you for reaching out to RDK Support. 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

          1. But The license is only available for Companies and not for individual contributor.

  30.  Yogomaya Maharana, I have the same access permission issue. Could you help me? 

    I have tried to use browser to open the link(https://code.rdkcentral.com/), the password is correct.

    username: yiwang


    repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2018q2
    Username for 'https://code.rdkcentral.com': yiwang
    Password for 'https://yiwang@code.rdkcentral.com': 
    fatal: remote error: access at least one ref not permitted



    1. Yi Wang  - I have updated the JITA ticket -  TRIAGE-16352

  31. Yogomaya Maharana, I have the access issue. Could you help me? 

    while trying to clone  from RDK central I  got the below result

    Username for 'https://code.rdkcentral.com': saran.v
    Password for 'https://saran.v@code.rdkcentral.com':
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'
    Traceback (most recent call last):
      File "/home/saran/RDK-B_RPi3/.repo/repo/main.py", line 631, in <module>
        _Main(sys.argv[1:])
      File "/home/saran/RDK-B_RPi3/.repo/repo/main.py", line 605, in _Main
        result = run()
      File "/home/saran/RDK-B_RPi3/.repo/repo/main.py", line 598, in <lambda>
        run = lambda: repo._Run(name, gopts, argv) or 0
      File "/home/saran/RDK-B_RPi3/.repo/repo/main.py", line 262, in _Run
        result = cmd.Execute(copts, cargs)
      File "/home/saran/RDK-B_RPi3/.repo/repo/subcmds/init.py", line 464, in Execute
        self._SyncManifest(opt)
      File "/home/saran/RDK-B_RPi3/.repo/repo/subcmds/init.py", line 247, in _SyncManifest
        if not m.Sync_NetworkHalf(is_new=is_new, quiet=opt.quiet, verbose=opt.verbose,
      File "/home/saran/RDK-B_RPi3/.repo/repo/project.py", line 1140, in Sync_NetworkHalf
        if not self._RemoteFetch(
      File "/home/saran/RDK-B_RPi3/.repo/repo/project.py", line 2208, in _RemoteFetch
        output_redir.write('\n%s:\n%s' % (self.name, gitcmd.stdout))
    AttributeError: 'NoneType' object has no attribute 'write'


    My username is: saran.v


    1. Saran V S  - Please create a support Ticket with the issue . You can send an email to support@rdkcentral.com

  32. Hello team

    I was trying to download 2020q2 RDK-B code from rdkcentral, But facing error below:

    [root@localhost V]# repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2020q2

    Username for 'https://code.rdkcentral.com': vedant.srivastava

    Password for 'https://vedant.srivastava@code.rdkcentral.com':

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

    Traceback (most recent call last):

      File "/root/V/.repo/repo/main.py", line 631, in <module>

        _Main(sys.argv[1:])

      File "/root/V/.repo/repo/main.py", line 605, in _Main

        result = run()

      File "/root/V/.repo/repo/main.py", line 598, in <lambda>

        run = lambda: repo._Run(name, gopts, argv) or 0

      File "/root/V/.repo/repo/main.py", line 262, in _Run

        result = cmd.Execute(copts, cargs)

      File "/root/V/.repo/repo/subcmds/init.py", line 464, in Execute

        self._SyncManifest(opt)

      File "/root/V/.repo/repo/subcmds/init.py", line 252, in _SyncManifest

        partial_clone_exclude=self.manifest.PartialCloneExclude):

      File "/root/V/.repo/repo/project.py", line 1146, in Sync_NetworkHalf

        clone_filter=clone_filter, retry_fetches=retry_fetches):

      File "/root/V/.repo/repo/project.py", line 2208, in _RemoteFetch

        output_redir.write('\n%s:\n%s' % (self.name, gitcmd.stdout))

    AttributeError: 'NoneType' object has no attribute 'write'

    Can you please help me resolve issue.
    Also I am unable to access https://code.rdkcentral.com/r/manifests/ on my web browser.


    Regards
    Vedant Srivastava

    1. Yogomaya Maharana  Can u please guide me on my above mentioned issue.

      1. Hello Vedant, 


        Thank you for reaching out to RDK Support. 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.
        You can get all the Apache components, but for any of the RDK Components, you have to obtain the RDK License Agreement.


        Thanks,

        RDK Support


        1. Yogomaya Maharana I dont find any form on right side of this Page.
          Please guide me for the agreement.


          cc Adoni Mohammed Arif 

          Regards,
          Vedant Srivastava


  33. Hi ,

    I got error as well when I repo from rdkcentral for item 5. Would you please help me?

    Thanks.

    1.
    I already login https://code.rdkcentral.com.


    2.

    $ cat ~/.netrc 
    machine  code.rdkcentral.com
    login    stella.su
    password <my password>


    3. this is no problem to git clone
    $ git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    Cloning into 'Utopia'...
    remote: Counting objects: 142, done
    remote: Total 20023 (delta 0), reused 20023 (delta 0)
    Receiving objects: 100% (20023/20023), 16.88 MiB | 801.00 KiB/s, done.
    Resolving deltas: 100% (12161/12161), done.

    4. this is failed to git clone
    $ git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
    Cloning into 'meta-cmf-raspberrypi'...
    fatal: remote error: access at least one ref not permitted


    5.
    $ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdk-next
    Downloading Repo source from https://gerrit.googlesource.com/git-repo
    remote: Finding sources: 100% (3/3)
    remote: Total 3 (delta 0), reused 3 (delta 0)
    Unpacking objects: 100% (3/3), 5.01 KiB | 341.00 KiB/s, done.
    Downloading manifest from https://code.rdkcentral.com/r/manifests
    fatal: remote error: access at least one ref not permitted
    manifests: sleeping 4.0 seconds before retrying
    fatal: remote error: access at least one ref not permitted
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests


    Thanks for help.
    Stella

    1. Hi Z-stella 


      as you are able to clone open repos but not restricted repos, it looks more like a licensee privilege issue. Yogomaya Maharana  could you please check privilege for this account and confirm?

      1. Z-stella 

        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 click here Memberships - RDK Central | Reference Design Kit. 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.
        You can get all the Apache components, but for any of the RDK Components, you have to obtain the RDK License Agreement.

        1. Hi @Yogomaya Maharana

          Stella can't login https://wiki.rdkcentral.com/ now, but it is fine to login https://code.rdkcentral.com by firebox.
          She can login https://wiki.rdkcentral.com/ before.

          We already got the RDK License Agreement, but both I (charles.su) and Stella (stella.su) can't still access to the RDK source code components. I am not sure if I can ask this question here or have to send an email to info@rdkcentral.com

          We still got the same error message as below even though we got the RDK License Agreement. Would you please help to double check?
          Thank you.

          [error]:
          repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdk-next
          Downloading Repo source from https://gerrit.googlesource.com/git-repo
          remote: Counting objects: 2, done
          remote: Finding sources: 100% (95/95)
          remote: Total 95 (delta 48), reused 95 (delta 48)
          Unpacking objects: 100% (95/95), 117.07 KiB | 681.00 KiB/s, done.
          Downloading manifest from https://code.rdkcentral.com/r/manifests
          fatal: remote error: access at least one ref not permitted
          manifests: sleeping 4.0 seconds before retrying
          fatal: remote error: access at least one ref not permitted
          fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests


          1. Z-stella & Z-charles.su  - Your account is now setup. Please try and login to code.rdkcentral.com with username ( all lowercase, not email) and  then try to clone the code. Mail us at support@rdkcentral.com if you are facing any issues.

            Thanks,

            Yogo

  34. Hi,

    while doing repo init we are facing below issue not able to download manifest file.

    ==========================================================================================

    repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2020q4

          Downloading manifest from https://code.rdkcentral.com/r/manifests
          fatal: remote error: access at least one ref not permitted
          manifests: sleeping 4.0 seconds before retrying
          fatal: remote error: access at least one ref not permitted
          fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

    ==========================================================================================

    Prior executing repo init we had logged in to the RDK Central Wiki.

    This issue is not observed earlier and repo init used to be successful.

    Can someone please help me out what might be the reason for failure?

    something needs to be done with license ?


    Thanks & Regards,

    Shamanth

  35. Unable to clone rdkb-2018q2 Code  nandyalap is my Login Id

    git clone "https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf" -b rdkb-2018q2
    Cloning into 'meta-cmf'...
    fatal: Remote branch rdkb-2018q2 not found in upstream origin


    Please help me out 

  36. facing same error like above comments

  37. Hi

    i  m trying to download RDK-B code for raspberry pi

    so while doing repo init i have this error :

    repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
    fatal: remote error: access at least one ref not permitted
    manifests: sleeping 4.0 seconds before retrying
    fatal: remote error: access at least one ref not permitted
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

    i m trying also to git clone  like i read in the comment above and i find :

    git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    Cloning into 'Utopia'...
    remote: Counting objects: 147, done
    remote: Total 20841 (delta 0), reused 20841 (delta 0)
    Receiving objects: 100% (20841/20841), 17.37 MiB | 11.30 MiB/s, done.
    Resolving deltas: 100% (12678/12678), done.

    git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
    Cloning into 'meta-cmf-raspberrypi'...
    fatal: remote error: access at least one ref not permitted

    I am able to login into https://code.rdkcentral.com without any issues and i  have saved credentials in ~/.netrc .

    My username is khanfirnoureddine

    Please help me

    thanks you


      1. hello

         i can login to https://code.rdkcentral.com  but  i can't browse to https://code.rdkcentral.com/r/admin/repos/manifests i have 404 not found for this page

        please help

        1. Hi Yogomaya Maharana 


          Could you please check user access permission for this user account?

  38. Hi,

    the building process stops with error "SyntaxError: invalid syntax":

    kk@ubuntu-mxl:~$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2018q2
    Get https://gerrit.googlesource.com/git-repo/clone.bundle
    Get https://gerrit.googlesource.com/git-repo
    remote: Counting objects: 3, done
    remote: Finding sources: 100% (32/32)
    remote: Total 32 (delta 6), reused 32 (delta 6)
    Unpacking objects: 100% (32/32), 51.38 KiB | 1.43 MiB/s, done.
    From https://gerrit.googlesource.com/git-repo
       b55769a..0468fea  main       -> origin/main
       b55769a..0ec2029  stable     -> origin/stable
     * [new tag]         v2.16.6    -> v2.16.6
     * [new tag]         v2.16.7    -> v2.16.7
     * [new tag]         v2.16.8    -> v2.16.8
    warning: 'https://gerrit.googlesource.com/git-repo' does not look like a git-repo repository, is REPO_URL set correctly?
      File "/home/kk/.repo/repo/main.py", line 79
        file=sys.stderr)
            ^
    SyntaxError: invalid syntax

    How and where should I set REPO_URL?

    What else could I do?

    Thank you.

    1. Hello Kurt Kronschnabl,


      What is the version of Ubuntu you are using ? It seems you are using almost 3 year old branch for cloning ( 2018Q2 ). Would you be able to switch to a latetst version ( 2021 Q2 would be a good candidate ) and try out the builds?

      1. Hi Narayanaswamy Ramaiyer ,

        I'm using 14.04.6 LTS. I just followed the example in the newsletter from Sep 23, 2021 for the first steps.



        1. Hello Kurt Kronschnabl The latest build document is available here at How to Build


          For Dunfell builds(Recommended ) Ubuntu 18.04 can be used and for Morty builds Ubuntu 16.04 is the recommended version

          2018 Q2 builds were morty and were known to work on Ubuntu 14.04 but due to other updates it was recommended to move to Ubuntu 16.04

          1. Hello Narayanaswamy Ramaiyer ,

            in addition It is complicating that my final goal is to build a vendor specific image and the Intel SDK. Every project needs a different Ubuntu version.

            I saw already, that the repo tool suggested to use in "How to Build" is another version, then MxL suggests. I am sure, it is not a good idea at all, to mix the development environments. Therefore I'll concentrate me on MxL.

            Thank you very much!

            1. Hello Kurt Kronschnabl 


              I see you are looking for a different platform than our default reference platforms. My document was referring to Raspberry Pi reference platform. This makes sense that you are working on a three year old port.

              Unfortunately, the repo tool associated with the build is a google software and we do not have direct control on using them. Anyway, there are options to use the old version of repo tool by separately downloading an old version of it and configuring it to be used by default. Anyway, there could still be other issues with python versions later( the main reason for us moving to higher version of Python and higher version of Ubuntu )


              1. Hello Narayanaswamy Ramaiyer ,

                I understand.

                The described error message has its reason in the wrong directory I ran the command.

                Being in the correct directory I get the well know "remote error: access at least one ref not permitted". I filled out meanwhile the rdk-license-application-form and hope, that I will get soon the neccesary permissions.

              2. Hello Narayanaswamy Ramaiyer ,

                I just discovered, that Tele Columbus is already a licencee.

                Then I assume a simpler way as the application form for my username to prevent "remote error: access at least one ref not permitted", isn't it?

                1. Hello Kurt Kronschnabl 


                  If you have en email ID registered for Tele Columbus, you can definitely use it for your account and hence you will be a licensed user with access to the repo 

                  1. Hello Narayanaswamy Ramaiyer ,

                    how can I check if my email ID is registered for Tele Columbus or register it?

                    1. Hello Kurt Kronschnabl 


                      If you have an email ID issued by Tele columbus, you can use that in your RDK wiki account and you should get the priviliages for Tele columbus engineers. 

                      Yogomaya Maharana  is there any other way for Kurt Kronschnabl  get Tele columbus priviliages for his account?

  39. To whom I may concern,

    I am trying to get RDK source, but it seems that It can not authorize my account. What should I do? Thank you

    richardle@richardle-desktop:~/working/code/rdk_sample$ python3 ~/bin/repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2019q3

    ... A new version of repo (2.15) is available.
    ... You should upgrade soon:
        cp /home/richardle/working/code/rdk_sample/.repo/repo/repo /home/richardle/bin/repo

    Username for 'https://code.rdkcentral.com': richardle1988
    Password for 'https://richardle1988@code.rdkcentral.com': 
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'
    manifests: sleeping 4.0 seconds before retrying
    Username for 'https://code.rdkcentral.com': richardle1988
    Password for 'https://richardle1988@code.rdkcentral.com': 
    remote: Unauthorized
    fatal: Authentication failed for 'https://code.rdkcentral.com/r/manifests/'
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests
    richardle@richardle-desktop:~/working/code/rdk_sample$ 

    1. Hello Richard Le 


      Are you able to successfully login to https://code.rdkcentral.com and browse to https://code.rdkcentral.com/r/admin/repos/manifests ?


      Also, it looks like you have not configured/populated the ~/.netrc file properly. Could you please cross check if the file has proper data and has proper read permissions?


      We would also recommend to use a newer branch ( like 2021 Q2 ) rather than an almost 2 year old branch (2019Q3 ) to get the latest updates,features,fixes and enhancements

      1. Richard Le -  While most of the RDK components are available free, a handful of components are distributed under the free RDK License Agreement. Please contact RDK Management at info@rdkcentral.com in case you need more information. 

      2. Hi Narayanaswamy Ramaiyer  Thanks for response!

        I can log in into https://code.rdkcentral.com  but I am not able to browse  https://code.rdkcentral.com/r/admin/repos/manifests , 404 error occured!

        There is no ~/.netrc in my ubuntu machine. Could you share some info about it? Thank you


        1. Hello Richard Le 


          It looks like your account doesnt have permissions else you should not see a 404 ( given you are already logged in at https://code.rdkcentral.com ). Yogomaya Maharana  could you please cross check account access?

          You can refer the section How to Build#Credentialconfiguration to know more about ~/.netrc configurations


          1. Hi Narayanaswamy Ramaiyer  Yogomaya Maharana  Thank you all for your support,

            In response to my email to info@rdkcentral.com, they said that I need to be an RDK licensee to access the manifests, and they don’t issue licenses to individuals but since I am working for a company which already holds an RDK license, I need to signup for a user account at https://wiki.rdkcentral.com/signup.action using your work email address, and then I will be able to access the manifests.

            After creating new account with my company email, I am able to access the manifests. Thank you!


  40. The usual. Pls see below. Help appreciated.

    1.  OK
    https://code.rdkcentral.com

    I can login successfully.

    2.  OK
    git clone "https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia"
    Cloning into 'Utopia'...
    remote: Counting objects: 178, done
    remote: Finding sources: 100% (31/31)
    remote: Total 20895 (delta 1), reused 20870 (delta 1)
    Receiving objects: 100% (20895/20895), 17.60 MiB | 2.48 MiB/s, done.
    Resolving deltas: 100% (12696/12696), done.

    3. OK
    cat ~/.netrc
    machine code.rdkcentral.com
    login the.aparker
    password *******

    4.  FAIL
    git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi"
    Cloning into 'meta-cmf-raspberrypi'...
    fatal: remote error: access at least one ref not permitted

    5. FAIL
    ./repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
    Downloading manifest from https://code.rdkcentral.com/r/manifests
    fatal: remote error: access at least one ref not permitted
    manifests: sleeping 4.0 seconds before retrying
    fatal: remote error: access at least one ref not permitted
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

    1. Hello Andrew, 
      Thank you for reaching out to RDK Support. 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 in the link below. 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.
      You can get all the Apache components, but for any of the RDK Components, you have to obtain the RDK License Agreement.

      https://rdkcentral.com/rdk-license-application-form/

      1. This page is a tutorial to set up an environment and download source code.

        And the very first step:

        repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2018q2

        will always fail unless one has the License Agreement!?

        If that is correct then I suggest that the page be updated to state very clearly in advance that none of the following will work unless you have the license agreement.

        It would save a lot time.

  41. trying to build with bitbake rdk-generic-mediaclient-image i got next message

    git -c core.fsyncobjectfiles=0 ls-remote https://code.rdkcentral.com/r/components/generic/closedcaption  failed with exit code 128, output:
    fatal: remote error: access at least one ref not permitted

    trying to execute git clone "https://code.rdkcentral.com/r/components/generic/closedcaption"

    also got fatal: remote error: access at least one ref not permitted

    agreement was signed, .netrc created and filled correctly.

    username is "viktor.osipov"

    what is wrong?

    1. Hello Viktor, 

      Please try now and let me know if issue persists.

      Thanks. Yogo

    1. linjj - Please try now and let us know if issue persists.

      Thanks,

  42. I am having the same problem as above

    git -c core.fsyncobjectfiles=0 ls-remote https://code.rdkcentral.com/r/components/generic/closedcaption
    fatal: remote error: access at least one ref not permitted

    Can you please me resolve this? Yogomaya Maharana

    Thank you!

    1. Xin Xu - Please try now and let me know

      Thanks,

  43. Hi
    Facing access at least one ref not permitted error and Cannot fetch components/generic/closedcaption from https://code.rdkcentral.com/r/components/generic/closedcaption
    I have followed below steps:

    step 1: repo init -u https://code.rdkcentral.com/r/reference/manifests -b master -m rpi/release/rdkv-dunfell-21m3.xml
    step 2: repo sync -j `nproc` --no-clone-bundle --no-tags
    step 3: MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
    step4: bitbake rdk-generic-hybrid-wpe-image

    results on step2:

    srikanth@srikanth-VirtualBox:~$ repo sync -j `nproc` --no-clone-bundle --no-tags

    ... A new repo command ( 1.27) is available.
    ... You should upgrade soon:

        cp /home/srikanth/.repo/repo/repo /usr/bin/repo

    Fetching projects:   8% (14/173) rdk/components/generic/sys_mon_tools/sys_utilsfatal: remote error: access at least one ref not permitted
    Fetching projects:  31% (54/173) components/generic/fogfatal: remote error: access at least one ref not permitted
    Fetching projects:  56% (97/173) rdk/components/generic/servicemanagererror: Cannot fetch components/generic/closedcaption from https://code.rdkcentral.com/r/components/generic/closedcaption
    Fetching projects: 100% (173/173), done.
    Shared project rdk/components/generic/servicemanager found, disabling pruning.
    Shared project rdk/components/generic/servicemanager found, disabling pruning.
    Shared project devices/intel-x86-pc/rdkemulator/closedcaption found, disabling pruning.
    Shared project devices/intel-x86-pc/rdkemulator/closedcaption found, disabling pruning.
    Checking out projects: 100% (173/173), done.
    srikanth@srikanth-VirtualBox:~$ 

    Could you please provide suggestions on this issue.
    Thanks in Advance,

    Srikanth

      1. Thanks Yogomaya
        I have tried step2 it was successful now, While trying step4 facing issue with meta-rdk-voice-sdk.

        srikanth@srikanth-VirtualBox:~$ MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment

        Common targets are:
            core-image-minimal
            rdk-oss-image
            rdk-generic-hybrid-image
            rdk-generic-hybrid-wpe-image
            rdk-generic-hybrid-dtv-image
            rdk-generic-hybrid-refapp-image
            rdk-generic-hybrid-westeros-wpe-image
            rdk-generic-hybrid-wpe-lxc-image
            rdk-generic-mediaclient-image
            rdk-generic-mediaclient-wpe-image
            rdk-generic-mediaclient-westeros-wpe-image
            rdk-generic-broadband-image
            rdk-generic-extender-image
            rdk-generic-ipclient-image
            rdk-generic-camera-image
            rdk-generic-broadband-tdk-image
            rdk-generic-broadband-dev-image
            rdk-generic-hybrid-dev-image
            rdk-generic-mediaclient-dev-image

        You can also run generated qemu images with a command like 'runqemu qemuarm'

        Config files already exist in folder build-raspberrypi-rdk-hybrid/conf/, they were not modified.
        Project path: /home/srikanth

        ... A new repo command ( 1.27) is available.
        ... You should upgrade soon:

            cp /home/srikanth/.repo/repo/repo /usr/bin/repo


        ... A new repo command ( 1.27) is available.
        ... You should upgrade soon:

            cp /home/srikanth/.repo/repo/repo /usr/bin/repo

        Writing auto.conf ...
        Writing versions.txt ...

        srikanth@srikanth-VirtualBox:~/build-raspberrypi-rdk-hybrid$ bitbake rdk-generic-hybrid-wpe-image
        ERROR: Unable to start bitbake server (None)
        ERROR: Server log for this session (/home/srikanth/build-raspberrypi-rdk-hybrid/bitbake-cookerdaemon.log):
        --- Starting bitbake server pid 6700 at 2021-12-28 09:28:50.909690 ---
        ERROR: The following layer directories do not exist:
        ERROR:    /home/srikanth/meta-rdk-voice-sdk
        ERROR: Please check BBLAYERS in /home/srikanth/build-raspberrypi-rdk-hybrid/conf/bblayers.conf


        1. Hi srikanth palvai 

          Are you able to individually clone the meta-rdk-voice-sdk layer to verify access related issues. Also may be you would like to use the mediaclient/ipclient instead of hybrid profile for RPI.


  44. Hey Can anyone help in setting the communication between core & orchestration , also a small help is required in triggering jenkins job . Pl feel free to call me . 


    Thanks In Advance !!!

  45. Hi ujjawal chaturvedi , could you elaborate little more on your qus  regarding orchestration. As of now triggering custom build in CMF jenkins is not allowed. But you can check with Simon Chung  on this.

  46. Hey Please call me at 7718812926, I am stuck in many things .

    1. Please raise a support ticket at support@rdkcentral.com with the details of the issues you are facing