From 44cf2476f35224e5eaec2bdfdbc68d389c71837f Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 6 May 2020 17:31:09 +0200 Subject: sys/android: dev_ prefix for ion descriptions --- ...setup_linux-host_android-device_arm64-kernel.md | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 docs/linux/setup_linux-host_android-device_arm64-kernel.md (limited to 'docs/linux/setup_linux-host_android-device_arm64-kernel.md') diff --git a/docs/linux/setup_linux-host_android-device_arm64-kernel.md b/docs/linux/setup_linux-host_android-device_arm64-kernel.md deleted file mode 100644 index 2b3c14087..000000000 --- a/docs/linux/setup_linux-host_android-device_arm64-kernel.md +++ /dev/null @@ -1,40 +0,0 @@ -# Setup: Linux or Mac OS host, Android device, arm64 kernel - -Prerequisites: - - Android Serial Cable or [Suzy-Q](https://chromium.googlesource.com/chromiumos/platform/ec/+/master/docs/case_closed_debugging.md) device to capture console output is preferable but optional. syzkaller can work with normal USB cable as well, but that can be somewhat unreliable and turn lots of crashes into "lost connection to test machine" crashes with no additional info. - -- Build syzkaller as described [here](/docs/linux/setup.md#go-and-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 -``` - - - Create config with `"type": "adb"` and specify adb devices to use. For example: -``` -{ - "target": "linux/arm64", - "http": "localhost:50000", - "workdir": "/gopath/src/github.com/google/syzkaller/workdir", - "syzkaller": "/gopath/src/github.com/google/syzkaller", - "sandbox": "none", - "procs": 8, - "type": "adb", - "vm": { - "devices": ["ABCD000010"] - } -} -``` - - - Start `syz-manager -config adb.cfg` as usual. - -If you get issues after `syz-manager` starts, consider running it with the `-debug` flag. -Also see [this page](/docs/troubleshooting.md) for troubleshooting tips and [Building a Pixel kernel with KASAN+KCOV](https://source.android.com/devices/tech/debug/kasan-kcov) or [Building a PH-1 kernel with KASAN+KCOV](https://github.com/EssentialOpenSource/kernel-manifest/blob/master/README.md) for kernel build/boot instructions. -- cgit mrf-deployment