Skip to content

Commit 869c365

Browse files
committed
feat: linux: Add compilation instructions for EdgeAI GUI App
meta-arago-toolchain lacks Qt6 support for compiling EdgeAI GUI App. The correct way to compile it is to use Yocto. However, for quicker way to compile it, we can also use ARM64 Docker containers. Provide a guide on how to compile edgeai-gui-app using ARM64 Docker container which TI provides [0]. [0] https://github.com/TexasInstruments/ti-docker-images/pkgs/container/debian-arm64 Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
1 parent 9da3b0c commit 869c365

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

source/linux/Demo_User_Guides/Edge_AI_Gallery_User_Guide.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,44 @@ The edge AI gallery launches on Linux startup. Follow the below instructions to
139139
.. ifconfig:: CONFIG_part_variant in ('J784S4')
140140

141141
13. For more information on edge AI software stack, refer `Edge AI Documentation <https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-edgeai/AM69A/10_01_00/exports/docs/common/sdk_overview.html>`_
142+
143+
Compiling EdgeAI GUI App
144+
========================
145+
146+
The ideal way to compile EdgeAI GUI App is to trigger a Yocto
147+
build. But for a quicker way to do it, especially during development,
148+
TI provides a `debian-arm64
149+
<https://github.com/TexasInstruments/ti-docker-images/pkgs/container/debian-arm64>`__
150+
Docker image. This image already contains all dependencies required
151+
for compiling edgeai-gui-app.
152+
153+
First, clone TI Apps Launcher:
154+
155+
.. code:: console
156+
157+
git clone https://git.ti.com/git/apps/edgeai-gui-app.git
158+
export EDGEAI_GUI_APP_REPO="$(pwd)/edgeai-gui-app"
159+
cd ${EDGEAI_GUI_APP_REPO}
160+
161+
Then, pull TI's debian-arm64 Docker image and run it:
162+
163+
.. code:: console
164+
165+
docker pull ghcr.io/texasinstruments/debian-arm64:latest
166+
docker run -it -v ${EDGEAI_GUI_APP_REPO}:/root/ti-apps-launcher ghcr.io/texasinstruments/debian-arm64 bash
167+
168+
Finally, run:
169+
170+
.. code:: console
171+
172+
cmake -B build -S . -DRT_BUILD=0 # if target is RT image, make -DR_BUILD=1
173+
make -C build
174+
175+
The compiled binary should be ``build/edgeai-gui-app``.
176+
177+
.. note::
178+
179+
This is a quick and easy way to compile ti-apps-launcher during
180+
development, but it is a good idea to validate with Yocto builds
181+
often. There is a possibility that compiler mismatch could present
182+
issues in the run up to production.

0 commit comments

Comments
 (0)