aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-08 19:14:22 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-09 21:24:28 +0100
commit7166c8652080a3d7d3f57851987090dec92cfb19 (patch)
treebfac04c35f2fe7e18ed95a91c4c5e60f922d18b6 /docs/linux
parent5aac8b06c60bef3dbf4d66032a2082b219904efb (diff)
sys/linux: add ion and ashmem devices support
Note: ion supercedes the old android interface, which is moved to sys/android.
Diffstat (limited to 'docs/linux')
-rw-r--r--docs/linux/setup_linux-host_android-device_arm64-kernel.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/linux/setup_linux-host_android-device_arm64-kernel.md b/docs/linux/setup_linux-host_android-device_arm64-kernel.md
index a91f8f5ca..70f720564 100644
--- a/docs/linux/setup_linux-host_android-device_arm64-kernel.md
+++ b/docs/linux/setup_linux-host_android-device_arm64-kernel.md
@@ -6,8 +6,17 @@ Prerequisites:
- Build syzkaller
+In case you have old Android `/dev/ion` driver:
+
+```sh
+cp sys/android/* sys/linux
+make generate
+```
+
+Then:
+
```sh
-$ make TARGETOS=linux TARGETARCH=arm64
+make TARGETOS=linux TARGETARCH=arm64
```
- Create config with `"type": "adb"` and specify adb devices to use. For example: