From d23e90a7b44b62b0d3b116a6d30849ce66051529 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 14 Mar 2019 14:17:31 +0100 Subject: all: switch to Go 1.12 Differences in code formatting between Go versions cause constant problems for us (https://github.com/golang/go/issues/25161). Currently we support 1.9 and 1.10. Switch to newer 1.11 and 1.12. Fixes #1013 --- ...etup_ubuntu-host_android-device_arm32-kernel.md | 27 ++-------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'docs/linux/setup_ubuntu-host_android-device_arm32-kernel.md') diff --git a/docs/linux/setup_ubuntu-host_android-device_arm32-kernel.md b/docs/linux/setup_ubuntu-host_android-device_arm32-kernel.md index 8f1618e68..1c479c8b0 100644 --- a/docs/linux/setup_ubuntu-host_android-device_arm32-kernel.md +++ b/docs/linux/setup_ubuntu-host_android-device_arm32-kernel.md @@ -15,37 +15,14 @@ These were tested on an NXP Pico-Pi-IMX7D following the instructions [here](http If feasible, recompile and reinstall the Linux kernel with any debugging options available on your board. -## Install Go - -Install Go as follows: -``` bash -wget https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz -tar -xf go1.9.2.linux-amd64.tar.gz -export PATH=`pwd`/go/bin:$PATH -mkdir gopath -export GOPATH=`pwd`/gopath -``` - -## Build syzkaller code - -### Initialize a working directory and set up environment variables - -Create a working directory. Also make sure GOROOT, GOPATH are defined and exported as instructed earlier. - -``` bash -go get -u -d github.com/google/syzkaller/... -cd gopath/src/github.com/google/syzkaller/ -mkdir workdir -``` - -### Build syzkaller executables +## Build syzkaller executables Run make. ``` make TARGETOS=linux TARGETARCH=arm ``` -### Create a manager configuration file +## Create a manager configuration file Create a manager config myboard.cfg, replacing the environment variables `$GOPATH`, `$KERNEL` (path to kernel build dir for the ARM32 board), and `$DEVICES` (the device ID for your board as reported by adb devices) with their actual values. Change any other flags as needed for your ARM board. -- cgit mrf-deployment