Versions Compared

Key

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

...

Code Block
languagebash
themeMidnight
titleBuild Steps
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/reference/manifests -m rpi-tags/rpi3_rdkb_dunfell_m7.xml -b master
$ repo sync -j`nproc` --no-clone-bundle



Please append the below lines in setup-environment file in your local workspace,

Code Block
languagebash
themeDJango
titleset-up environment
collapsetrue
$ cd ~/meta-cmf-raspberrypi
$ vi setup-environment

if [ -L ${TOP_DIR}/.repo/manifest.xml ] ; then
    MANIFEST="$(basename `readlink -f ${TOP_DIR}/.repo/manifest.xml` .xml)"
else
    MANIFEST=$(grep include ${TOP_DIR}/.repo/manifest.xml | cut -d '"' -f 2 | xargs basename -s .xml )
fi
echo "Manifest Name = ${MANIFEST}.xml"
if [ -f "${TOP_DIR}/.repo/manifests/rpi-tags/${MANIFEST}.conf" ]; then
    cat ${TOP_DIR}/.repo/manifests/rpi-tags/${MANIFEST}.conf >> $BUILD_DIR/conf/auto.conf
    if [ $? == 0 ]; then
        echo "${MANIFEST}.conf copied to auto.conf successfully"
    else
        echo "FAILED to copy auto.conf"
    fi
fi
Code Block
languagebash
themeDJango
titleBuild Steps
$ MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment 
$ bitbake rdk-generic-broadband-image

...



Flashing Procedure

Following command can be used to flash the RPI image to sd card using linux machine . bmap tool should be available in linux

...