diff --git a/documentation/source/quick-start/avenger-96-board.rst b/documentation/source/quick-start/avenger-96-board.rst index 0795418580666de189174758ccf0965665564bf8..5c9d56a1fa18d49ad825a9144f2d94ecefb968cd 100644 --- a/documentation/source/quick-start/avenger-96-board.rst +++ b/documentation/source/quick-start/avenger-96-board.rst @@ -98,7 +98,7 @@ Example: $ MACHINE=<stm32mp1-avg96> bitbake <image-name> OHOS Linux flavour -****************** +=================== OHOS Linux flavour is based on poky distribution Supported images : core-image-minimal @@ -137,6 +137,31 @@ To exit qemu, you can either shut down the system: root@stm32mp1-avg96:~# poweroff -f +Build image +*********** + +Creating a uSD card image for the Avenger96 board +================================================= + +Steps for building a BSP for ST's development boards can be referred: `<https://wiki.st.com/stm32mpu/index.php/STM32MP1_Distribution_Package>`_ + +Building the BSP for the Avenger96 follows the scheme of the above build process but starts with a different 'repo' manifest file: + +* create the build directory following ST's recommendations at : https://wiki.st.com/stm32mpu/wiki/Example_of_directory_structure_for_Packages + +* enter the working directory and execute the following commands : + +.. code-block:: console + + $ repo init -u https://github.com/dh-electronics/manifest-av96 -b dunfell + + $ repo sync + + $ source layers/meta-arrow/scripts/init-build-env.sh + + $ bitbake av96-weston + +The last command will build the BSP. The full build will take about 1-2 hours dpending on machine and internet speed and will require around 25GB disk space. Flashing an Application to Avenger96 board ****************************************** @@ -157,7 +182,7 @@ We can write it to a uSD card with: Once you have built your own AV96 Yocto image, your build provides all the files you need to use the Cube Programmer. -Note: Refer for more information related to Aenger96 image programming : https://wiki.dh-electronics.com/index.php/Avenger96_Image_Programming +Note: For more information related to Aenger96 image programming refer : https://wiki.dh-electronics.com/index.php/Avenger96_Image_Programming Debugging