aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2022-12-15 12:40:00 +0100
committerJonny Svärd <jonny.svaerd@arm.com>2022-12-19 13:04:44 +0100
commit2b8922d5c2f31f7a71d84a8aa86946cef00589de (patch)
tree23bbcc0edd10ff65b4d88d2f65a962ab4be040db /README.md
parent8fd2fd7972bb5421b639e380ce955d65fcf47166 (diff)
downloadethos-u-linux-driver-stack-2b8922d5c2f31f7a71d84a8aa86946cef00589de.tar.gz
Add custom cross compilation documentation
Change-Id: I1ab89146bf897c4c35180ab09f08064511f573f8
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index e8c095b..aa8cf33 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,14 @@ subsystem, consisting of an Arm Cortex-M of choice and an Arm Ethos-U NPU.
The driver stack comes with a CMake based build system. A toolchain file is
provided for reference how to cross compile for an Aarch64 based system.
+Note that if your host system provides cross compilers and libraries of newer
+versions than what is supported on your target system, you might be required to
+download an older version of compilers and toolchains for your target system.
+While out of scope for this README, an example
+[toolchain file](cmake/toolchain/aarch64-linux-gnu-custom.cmake) is provided to
+show what it could look like. Another option is to run a Docker image of an
+appropriate Linux distribution suited to build for your needs.
+
Building the kernel modules requires a configured Linux kernel source tree. How
to download and configure the Linux kernel goes beyond the scope of this readme.
Please refer to the Linux kernel official documentation.