To build Cobalt with Wayland-egl support on Raspberrypi follow the below instructions.

1) Create directory name "cobalt-wayland".

mkdir -p cobalt-wayland

cd cobalt-wayland


2) Initialize the repo as shown below

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


3) Add the below line in file ".repo/manifests/oe-layers.xml" after line#12 as shown below.

<project name="stagingrdkm/meta-stagingrdkm" remote="github" path="meta-raspberrypi/recipes-extended" revision="4a51e664e45248825410b0e03bcd3b06578ec83e" upstream="master">


4) Get the sources using following command.

repo sync -j16 --no-tags


5) Remove "lg" recipes from meta-stagingrdkm as it requires classes specific to LGI.

rm -rf meta-raspberry/recipes-extended/lg



6) To make cobalt as part of rootfs add the below line in file "meta-cmf-raspberrypi/recipes-core/images/rdk-generic-mediaclient-westeros-wpe-image.bb" at the end of file

IMAGE_INSTALL_append = "\

    cobalt \

"



7) Run the following commands to build and generate the rpi image with cobalt

export MACHINE=raspberrypi-rdk-mc-westeros"

bitbake  rdk-generic-mediaclient-westeros-wpe-image

  • No labels