Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 39

...

Code Block
languagebash
themeRDark
titleOCI Build instructions for aarch64
collapsetrue
#following repo commands will required meta-layers see manifest of BPIR4
repo init -u https://code.rdkcentral.com/r/manifests -b kirkstone -m rdkb-bpi-extsrc.xml  

#execute the below command to clone the projects
sed -i '/oe-layers.xml/a  \ \ \ \ <project name="rdkcentral/meta-dac-sdk-broadband" remote="github" path="meta-dac-sdk-broadband" revision="main" /> \n\ \ \ \ <project name="yoctoproject/poky" remote="github" path="." revision="1e0d58c53b7d9c3feb631e46666ae7a3e3614253" upstream="kirkstone"/>' .repo/manifests/rdkb-bpi-extsrc.xml

#Below command to sync all the code to the folder.
repo sync -j `nproc` --no-clone-bundle

#cherrypick the below link to overcome the old syntax override issue
cd bitbake && git fetch https://code.rdkcentral.com/r/rdk/components/opensource/oe/bitbake refs/changes/35/85335/3 && git cherry-pick FETCH_HEAD && cd .. 
 
#Add below lines to "oe-init-build-env".
TOP_DIR="$(pwd)/.."
internal_link='git01gerrit\.mediatek\.cominc\/openwrt\/feeds\/mtk-_openwrt-_feeds'    
external_link='gitgit01\.githubmediatek\.com\/mediatekopenwrt\/feeds\/mtk-openwrt-feeds'    
sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-netsys/pce/pce.bb
sed -i "s/$internal_link/$external_link/" $TOP_DIR/meta-filogic/recipes-netsys/eip-197/eip-197.bb

. ./oe-init-build-env

cp ../meta-dac-sdk-broadband/manifests/bblayers.conf conf/

sed -i "s/meta-raspberrypi/meta-filogic/" conf/bblayers.conf

#Add below lines in conf/local.conf
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
DISTRO_FEATURES_append = " kirkstone"
MACHINE = "filogic"
BBMASK .= "|meta-filogic/recipes-ccsp/hal"
BBMASK .= "|meta-filogic/recipes-wifi/"
 
# Building Iperf DAC app
bitbake dac-image-iperf3 

...