diff --git a/demos/system_reference-ST.rst b/demos/system_reference-ST.rst index a79c6c4..994571d 100644 --- a/demos/system_reference-ST.rst +++ b/demos/system_reference-ST.rst @@ -151,6 +151,36 @@ Don't forget to properly unmoumt the sdcard partitions. sudo eject /dev/ +Build and install the rpmsg-utils tools +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +This chapter explains how to build and install the `rpmsg-utils `_ +for the STM32MP157C/F-DK2 board. + + + +Download XXXX-none-linux-gnu AArch32 GNU/Linux target cross toolchains from: + `arm developer page `_. + +Build the rpmsg-utils binaries: + +.. code-block:: console + + # has to be updated by the path of the arm toolchain. + export CC="/bin/arm-none-linux-gnueabihf-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7" + make + +Install the tools on the sdcard +.. code-block:: console + + sudo cp rpmsg_destroy_ept rpmsg_export_dev rpmsg_export_ept rpmsg_ping /rootfs/usr/bin/ + +Don't forget to properly unmoumt the sdcard partitions. + +.. code-block:: console + + sudo eject /dev/ + + Demos -----