Yocto BSP build Instructions on AVA Developer PlatformThis documentation explains how to quickly get started with the Yocto BSP on AVA Developer Platform. Build Host SetupPlease refer Yocto Project documentation for the list of essential packages to be installed on the Build Host. Note: The Build Host machine should have at least 150 GBytes of free disk space for Building the Image. Minimal Image BuildThis section describes how to build images for the Yocto BSP project for the following machines: The ArmV8.2 Base Ampere Altra machine, corresponding to the com-hpc MACHINE implemented in meta-adlink-ampere Build InstructionCheckout the meta-adlink-ampere and dependent repository $ mkdir -p ~/ava $ cd ~/ava $ git clone https://github.com/ADLINK/meta-adlink-ampere.git $ git clone https://git.yoctoproject.org/git/poky -b hardknott ./layers$ git clone https://github.com/openembedded/meta-openembedded.git -b hardknott ./layers$ git clone https://git.yoctoproject.org/git/meta-security -b hardknott ./layers$ git clone https://git.yoctoproject.org/git/meta-virtualization -b hardknott ./layers$ git clone https://git.yoctoproject.org/git/meta-arm -b hardknott ./layers Build for AVA $ cd ~/ava$ TEMPLATECONF=$PWD/meta-adlink-ampere/conf/adlink-conf$ source layers/poky/oe-init-build-env $ bibtake core-image-base The resulting images will be produced: build/tmp/deploy/images/comhpc/core-image-base-comhpc.wic The above can be boot on AVA Developer Platform and login as root without password. Prepare Bootable MediumTo install the binaries into USB Drive Note : Ensure the USB is formatted before proceeding installation $ sudo dd if=core-image-base-comhpc.wic of=/dev/sdX bs=1M ( X should be replaced with respect device like sda, sdc or sdd )For Example: ( USB Device uses /dev/sda device node )$ sudo dd if=core-image-base-comhpc.wic of=/dev/sda bs=1M To Install the binaries into NVMe M.2 SSDPlease create a USB drive Bootable as mentioned in the above section. Plug the USB drive (Bootable drive) in Host system, you should see 3 partition mounted namely as below </media/<local_directory>/msdos></media/<local_directory>rootfs></media/<local_directory>/data> Copy the Images into"</media/<directory>/data>" $ sudo cp <Yocto_Build_Directory>/build/tmp/deploy/images/comhpc/core-image-base-comhpc.wic.bz2 </media/<directory>/data> $ sudo cp <Yocto_Build_Directory>/build/tmp/deploy/images/comhpc/core-image-base-comhpc.wic.bmap </media/<directory>/data> Insert the USB drive and Boot the Board, login as “root” with NO password via VGA Display and create a “data” Directory $ cd /$ mkdir data mount the 3rd partition of USB into “data” directory $ mount /dev/sda3 /data Flash the image to the target’s NVMe M.2 SSD drive using bmaptool $ bmaptool copy --bmap /data/core-image-base-comhpc.wic.bmap /data/core-image-base-comhpc.wic.bz2 /dev/nvme0n1