mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
adding notes for HiKey (ARMv8)
parent
c303293c52
commit
aa3ff6fe9c
18
GoArm.md
18
GoArm.md
@ -335,3 +335,21 @@ Architecture: ARMv8 (64-bit) 8-core, 2.4GHz, 16GB RAM
|
||||
Operating System: Linux
|
||||
|
||||
You will need to cross-compile a toolchain using bootstrap.bash. After you copy it to the arm64 system and set `GOROOT_BOOTSTRAP`, you can build go natively.
|
||||
|
||||
## 96Boards HiKey (ARMv8)
|
||||
|
||||
Architecture: ARMv8 (64-bit) 8-core, 1.2GHz, 1GB RAM
|
||||
|
||||
Operating System: Linux (Linaro)
|
||||
|
||||
Go Version: 1.5Beta1
|
||||
|
||||
Special Notes: Enable a swap partition (<=1GB is fine). Build process is CPU-intensive and may cause the internal 90C temperature threshold to be exceeded - keep the HiKey cool during the build.
|
||||
|
||||
As mentioned above, cross-compile the toolchain (e.g. on Ubuntu AMD64) for ARM64 then transfer over the bootstrap tbz file, untar it, and use that as the `GOROOT_BOOTSTRAP` as well as the `GOROOT`:
|
||||
```
|
||||
$ cd go/src
|
||||
$ GOROOT=/path/to/go/bootstrap
|
||||
$ GOROOT_BOOTSTRAP=$GOROOT ./all.bash
|
||||
```
|
||||
_--Andrew Cencini_ (andrew@vapor.io)
|
Loading…
x
Reference in New Issue
Block a user