Skip to content
Snippets Groups Projects
Commit 7b5123c7 authored by Gururaj Shetty's avatar Gururaj Shetty
Browse files

Merge branch 'Poojahalappanavar15-master-patch-41485' into 'master'

Update avenger-96-board.rst

See merge request OSTC/OHOS/docs/developer-guide!77
parents b29f7180 12f8405f
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ Example: ...@@ -98,7 +98,7 @@ Example:
$ MACHINE=<stm32mp1-avg96> bitbake <image-name> $ MACHINE=<stm32mp1-avg96> bitbake <image-name>
OHOS Linux flavour OHOS Linux flavour
****************** ===================
OHOS Linux flavour is based on poky distribution OHOS Linux flavour is based on poky distribution
Supported images : core-image-minimal Supported images : core-image-minimal
...@@ -137,6 +137,31 @@ To exit qemu, you can either shut down the system: ...@@ -137,6 +137,31 @@ To exit qemu, you can either shut down the system:
root@stm32mp1-avg96:~# poweroff -f 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 Flashing an Application to Avenger96 board
****************************************** ******************************************
...@@ -157,7 +182,7 @@ We can write it to a uSD card with: ...@@ -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. 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 Debugging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment