You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Host Setup

NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.

Building

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  '/kernel5.x/ s/^.//' 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

Flashing procedure

Errors and Challenges

Build issue with rdk-generic-broadband-image


1ERROR: Nothing PROVIDES 'linux-marvell' 
Missing or unbuildable dependency chain was: ['rdk-generic-broadband-image', 'opensync', 'openvswitch', 'linux-marvell']"
rdk-generic-broadband-image

2error: passing argument 4 of 'proc_create' from incompatible pointer typeccsp-hotspot-kmodconvert file_operations to proc_opshttps://lore.kernel.org/netdev/20191225172546.GB13378@avx2/
https://github.com/mtorromeo/r8168/issues/22
3create 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


linux-kernel 5.10 boot-up issue

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 issuehttps://github.com/rdkcentral/meta-turris/pull/455
2
[ 4.425921] mv88e6085 f1072004.mdio-mii:10: this chip requires 
CONFIG_NET_DSA_MV88E6XXX_GLOBAL2 enabled [ 4.435356] mv88e6085: probe of f1072004.mdio-mii:10 failed with error -95
linux-kernel 5.10 boot-up issuehttps://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

4[    5.218448] systemd[1]: Failed to find module 'autofs4'


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



6

[FAILED] Failed to start CcspCrSsp service.
[FAILED] Failed to start PsmSsp service.
[FAILED] Failed to start CcspPandMSsp service.
[FAILED] Failed to start CcspEthAgent service.
[FAILED] Failed to start CcspLMLite service.
[FAILED] Failed to start CcspTandDSsp service.
[FAILED] Failed to start CcspTr069PaSsp service.
[FAILED] Failed to start Rdk Wan Manager service.

[FAILED] Failed to start Utopia service.




7[FAILED] Failed to start DNS forwarder and DHCP server.
See 'systemctl status dnsmasq.service' for details.
[FAILED] Failed to start Lightweight UPnP IGD daemon.
See 'systemctl status miniupnpd.service' for details.



Limitations

Basic sanity with kernel5.10 image is failing. The Validation is taken for upcoming sprint.

  • No labels