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

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

Upgrading Turris-Omnia Reference Platform for Yocto 3.1 ie., from morty to dunfell

Considerations for broadband & extender build:

  • OpenEmbedded and Yocto Dunfell.
  • Linux kernel 4.14.
  • Version upgrades for bitbake and other oe recipes(if needed).

Environment Setup

  • Host- environment

Start with the core-image-minimal build, for generating the rdk-generic-broadband-image

Build instructions for core-image-minimal,

  • repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-extsrc.xml  -b  yocto-dunfell-upgrade
  • repo sync -j4 --no-clone-bundle
  • MACHINE=turris source meta-turris/setup-environment 
  • bitbake core-image-minimal

Once the core-image-minimal build is completed, 

  • bitbake rdk-generic-broadband-image

Start resolving all the errors that is being faced during the build

Error Handling

For rdk-generic-broadband image,

Error/warningLayer/ReciepeFixRemarks
ERROR: Nothing PROVIDES 'wireless-tools'

meta-rdk-opensync

meta-rdk

In opensync_1.4.0.bb, remove wireless-tools from depends 

And in packagegroup-rdk-oss-broadband.bb, remove wireless-tools for dunfell branch

wireless-tools is not there in yocto-3.1

ERROR: Nothing PROVIDES 'bridge-utils-native'

ERROR: Nothing PROVIDES 'virtual/kernel-native'

meta-virtualization

openvswitch_git.bb

upgraded from 2.6.3 to 2.13

Add,
DEPENDS_remove = "virtual/kernel bridge-utils"
DEPENDS_append_class-target = " virtual/kernel"
DEPENDS_append_class-target = " bridge-utils"
Building the dependencies only for the target , not for the narive
ERROR: Nothing RPROVIDES 'cpp-symlinks'

ERROR: Nothing RPROVIDES 'cpp'

meta-openembedded

python3-pycparser_2.19.bb
Add,
RDEPENDS_${PN}_class-target_remove = " cpp cpp-symlinks"
cpp and cpp-symlinks recipes are not present in 3.1

ERROR: mosquitto-1.4.8-r0 do_compile: oe_runmake failed

security_default.c:773:13: error: storage size of 'context' isn't known

meta-rdk-ext

mosquitto_1.4.8.bb



Flashing procedure

            Turris Omnia Reference Platform: Flashing Instruction

  • No labels