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.
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.
...
@@ -112,8 +113,8 @@ When the build completes it puts all the required files into the'deploy' folder.
...
@@ -112,8 +113,8 @@ When the build completes it puts all the required files into the'deploy' folder.
The last command creates FlashLayout_sdcard_stm32mp157a-av96-trusted.raw.
The last command creates FlashLayout_sdcard_stm32mp157a-av96-trusted.raw.
We can write it to a uSD card with:
We can write it to a uSD card with:
...
@@ -124,6 +125,7 @@ We can write it to a uSD card with:
...
@@ -124,6 +125,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.
Debugging
Debugging
*********
*********
You can debug an application using OpenOCD and GDB. The Solution proposed below is based on the Linux STM32MP1 SDK OpenOCD and is available only for a Linux environment. The firmware must first be loaded by the Cortex®-A7. Developer then attaches the debugger to the running Zephyr using OpenOCD.
You can debug an application using OpenOCD and GDB. The Solution proposed below is based on the Linux STM32MP1 SDK OpenOCD and is available only for a Linux environment. The firmware must first be loaded by the Cortex®-A7. Developer then attaches the debugger to the running Zephyr using OpenOCD.