Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow below instructions to create build with external sources

Deck of Cards
startHiddenfalse
idbuild steps
loopCardstrue
Card
idbuild instructions
labelExternal soruce
Code Block
languagebash
themeDJango
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
Card
idBuild instructions
labelNo (External) Source
Code Block
languagebash
themeDJango
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/ IssuesLayer and RecipeFixReference
1ERROR: Nothing PROVIDES 'linux-marvell' 
Missing or unbuildable dependency chain was: ['rdk-generic-broadband-image', 'opensync', 'openvswitch', 'linux-marvell']"
rdk-generic-broadband-imagechange to linux-yocto
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
opensyncupgrade openvswitch to 2.17 version

linux-kernel 5.10 boot-up issue


Error/ Issues

Layer and Recipe

FixReference
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 issuehttps://github.com/rdkcentral/meta-turris/pull/461
4[    5.218448] systemd[1]: Failed to find module 'autofs4'linux-kernel 5.10 boot-up issuehttps://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 issuehttps://github.com/rdkcentral/meta-turris/pull/461
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

...

linux-kernel 5.10 boot-up issueOnce the network services and needed kernel config are enabled,
ccsp process will be actively running

Limitations

  • Failing to bring up 5GHz radio