Versions Compared

Key

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

...

Code Block
themeRDark
titleOCI Build instructions for aarch64
collapsetrue
#Following repo commands will required meta-layers see manifest of https://code.rdkcentral.com/r/plugins/gitiles/manifests/+/refs/heads/rdk-next/rdkb-extsrc.xml
1)repo init -u https://code.rdkcentral.com/r/rdkcmf/manifests -m rdkb-extsrc.xml -b kirkstone   


#execute the below command to clone the meta-dac-sdk-broadband and bitbake 
2)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-extsrc.xml 

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


# cherrypick the below link to overcome the old syntax override issue with bitbake 
4)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 ..   

5). ./oe-init-build-env  #Command used for setting up build folder. 
6)cp ../meta-dac-sdk-broadband/manifests/bblayers.conf conf/ 
7)echo 'MACHINE = "raspberrypi4-64"' >> conf/local.conf # This step is used to differentiate the arch where BPIR4 supports 64 bit arch by default.        

# Building Iperf DAC app 
8)bitbake dac-image-iperf3

Instructions for

...

on-boarding new applications to meta-dac-sdk-broadband .

As of now we are offering iperf application in meta-dac-sdk-broadband, So taking Iperf as reference for this steps.

1)At initial create a recipe wrt specific application.

 eg: Iperf application recipe file application path and info.
         meta-dac-sdk-broadband/recipes-example/example/iperf3/iperf3_3.11.bb .

2)Create and include application dependent parameters info in <application Name>-appmetadata.json file.

eg: meta data file for iperf application.
       meta-dac-sdk-broadband/recipes-example/images/metadatas/iperf3-appmetadata.json .

3)Create application specific image bb file which is responsible for combining all the depended component to generate final OCI image for application.

eg: Image bb file for iperf application
       meta-dac-sdk-broadband/recipes-example/images/dac-image-iperf3.bb .

Bundle Creation for BPIR4.

...