RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.
Note: 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.
Create workspace directory
mkdir <workspace dir> cd <workspace dir>
Follow below instructions to create build with external sources
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-extsrc.xml -b dunfell repo sync -j4 --no-clone-bundle sed -i '/kernel5.x/ s/^#//' meta-turris/conf/distro/include/rdk-turris.inc MACHINE=turris source meta-turris/setup-environment bitbake rdk-generic-broadband-image
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-nosrc.xml -b dunfell repo sync -j4 --no-clone-bundle sed -i '/kernel5.x/ s/^#//' meta-turris/conf/distro/include/rdk-turris.inc MACHINE=turris source meta-turris/setup-environment bitbake rdk-generic-broadband-image
Note: The kernel Image and root filesystem will be placed under <workspace dir>/build-turris/tmp/deploy/images/turris_5.10 folder
Build issue with rdk-generic-broadband-image
Error/ Issues | Layer and Recipe | Fix | Reference | |
---|---|---|---|---|
1 | ERROR: Nothing PROVIDES 'linux-marvell' Missing or unbuildable dependency chain was: ['rdk-generic-broadband-image', 'opensync', 'openvswitch', 'linux-marvell']" | rdk-generic-broadband-image | change to linux-yocto | |
2 | error: passing argument 4 of 'proc_create' from incompatible pointer type | ccsp-hotspot-kmod | convert file_operations to proc_ops | https://lore.kernel.org/netdev/20191225172546.GB13378@avx2/ https://github.com/mtorromeo/r8168/issues/22 |
3 | create ovsdb | clean ovsdb in work/RDKB/rootfs//usr/opensync/etc | rm -f -f "work/RDKB/rootfs//usr/opensync/etc/conf.db.bck" | rm -f -f "work/RDKB/rootfs//usr/opensync/etc"/.*lock* | init ovsdb in work/RDKB/rootfs//usr/opensync/etc/conf.db.bck | mkdir -p "work/RDKB/rootfs//usr/opensync/etc" | ovsdb-tool create "work/RDKB/rootfs//usr/opensync/etc/conf.db.bck" "interfaces/opensync.ovsschema" | /bin/sh: 1: ovsdb-tool: not found | build/ovsdb.mk:114: recipe for target 'ovsdb-create' failed | make[1]: *** [ovsdb-create] Error 127 | make[1]: Leaving directory '/home/kkumar511/Kavs/turris_5.10/build-turris_5.10/tmp/work/armv7ahf-neon-rdk-linux-gnueabi/opensync/3.2.7-r0/git/core' | build/rootfs.mk:177: recipe for target 'rootfs' failed | make: *** [rootfs] Error 2 | opensync | upgrade openvswitch to 2.17 version |
linux-kernel 5.10 boot-up issue
Error/ Issues | Layer and Recipe | Fix | Reference | |
---|---|---|---|---|
1 | [FAILED] Failed to mount NFSD configuration filesystem. See 'systemctl status proc-fs-nfsd.mount' for details. [DEPEND] Dependency failed for NFS Mount Daemon. [DEPEND] Dependency failed for NFS server and services. | linux-kernel 5.10 boot-up issue | https://github.com/rdkcentral/meta-turris/pull/455 | |
2 | [ 4.425921] mv88e6085 f1072004.mdio-mii:10: this chip requires | linux-kernel 5.10 boot-up issue | https://github.com/rdkcentral/meta-turris/pull/456 | |
3 | [FAILED] Failed to start network@bond0.service. [FAILED] Failed to start network@dummy0.service. [FAILED] Failed to start network@eql.service. [FAILED] Failed to start network@erspan0.service. [FAILED] Failed to start network@eth0.service. [FAILED] Failed to start network@eth1.service. [FAILED] Failed to start network@eth2.service. [FAILED] Failed to start network@gre0.service. [FAILED] Failed to start network@gretap0.service. [FAILED] Failed to start network@ifb0.service. [FAILED] Failed to start network@ifb1.service. [FAILED] Failed to start network@lan0.service. [FAILED] Failed to start network@lan1.service. [FAILED] Failed to start network@lan2.service. [FAILED] Failed to start network@lan3.service. [FAILED] Failed to start network@lan4.service. [FAILED] Failed to start network@teql0.service. [FAILED] Failed to start network@tunl0.service. | linux-kernel 5.10 boot-up issue | https://github.com/rdkcentral/meta-turris/pull/461 | |
4 | [ 5.218448] systemd[1]: Failed to find module 'autofs4' | linux-kernel 5.10 boot-up issue | https://github.com/rdkcentral/meta-turris/pull/461 | |
5 | [ 8.403019] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 8.412892] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 8.421569] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db | linux-kernel 5.10 boot-up issue | https://github.com/rdkcentral/meta-turris/pull/461 | |
6 | [FAILED] Failed to start CcspCrSsp service. [FAILED] Failed to start Utopia service. | linux-kernel 5.10 boot-up issue | Once the network services and needed kernel config are enabled, ccsp process will be actively running |