Versions Compared

Key

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

...

Copyright 2021 RDK Management, LLC. All rights reserved. The contents of this document are RDK Management, LLC Proprietary and Confidential and may not be distributed or otherwise disclosed without prior written permission of RDK Management, LLC.

Host Setup

Refer to the below link for Host Machine Setup

How to Build#SettinguptheHostEnvironment

Yocto Build Setup

All RPi based RDK images with the latest features are from the rdk-next branch

Initializing the Build Environment

To build RDK images from rdk-next branch, follow the below build procedure

...

Code Block
languagebash
titleapply fixes
# bringing qt dependent components to dynamic layer
(cd meta-rdk; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk refs/changes/76/55976/3 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-ext; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext refs/changes/75/55975/2 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video refs/changes/05/55905/3 && git cherry-pick FETCH_HEAD)

# depedencies removal
(cd meta-rdk-video; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video refs/changes/34/55534/1 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video refs/changes/04/55904/12 && git cherry-pick FETCH_HEAD)

# IP STB changes
(cd meta-rdk; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk refs/changes/56/55456/8 && git cherry-pick FETCH_HEAD)

# others
## bringing sysint to rdk-video layer (open sourcing)
(cd meta-rdk-video; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video refs/changes/12/55812/4 && git cherry-pick FETCH_HEAD)

...

Code Block
languagebash
titleother workarounds
git clone https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi-restricted -b rdk-next
mkdir -p meta-cmf-raspberrypi/recipes-oem
mv meta-cmf-raspberrypi-restricted/recipes-oem/mfrlibs meta-cmf-raspberrypi/recipes-oem
rm -rf meta-cmf-raspberrypi-restricted

Image build

Code Block
languagebash
themeRDark
titlegeneric image
MACHINE=raspberrypi-rdk-ipmc source meta-cmf-raspberrypi/setup-environment

bitbake rdk-ip-mc-image

Flashing Procedure

The image file will be generated under build-<MACHINE>/tmp/deploy/images/<MACHINE> directory

Code Block
languagebash
themeRDark
# Insert the micro SD card to the host system and mention the card's device file name
# input file (if) is the image file to flash and the output file (of) is the card's device file name
bzcat rdk-ip-mc-image-raspberrypi-rdk-ipmc.wic.bz2 | sudo of=/dev/<sd file> bs=4M iflag=fullblock oflag=direct conv=fsync

JIRA Tracker

Jira
serverJIRA
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
maximumIssues20
jqlQuerytargets = R-Pi AND project = REFPLTV AND labels in (_rdk_ip_stb, _rdk_rpi_open_sourcing)
serverId11deff04-0380-3a3d-a916-0849d4e573f7