diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-06-05 07:38:55 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-06-05 07:38:55 +0000 |
commit | f2c49edf67f227883857bce329c130e25ff1bd0d (patch) | |
tree | 43eff27ac31c7199dac1842e168259ec587935f4 | |
parent | d57095acf7aa42bbc6a116d4ccf5ac6d08da4286 (diff) | |
parent | 981e78c9bc8ce64847cb31987814d9d5900d42da (diff) | |
download | hikey-android-8.0.0_r24.tar.gz |
release-request-a2143a0f-bf92-4fa8-ad68-7346e7505126-for-git_oc-dr1-release-4067638 snap-temp-L84900000070511178android-8.0.0_r34android-8.0.0_r33android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21oreo-dr3-releaseoreo-dr2-releaseoreo-dr1-release
Change-Id: I49ddc12aa8cdef319de2a97b88c71f5e15b98bcf
-rw-r--r-- | hikey960/README | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/hikey960/README b/hikey960/README new file mode 100644 index 00000000..5b330d01 --- /dev/null +++ b/hikey960/README @@ -0,0 +1,45 @@ +Running Android on hikey960 board: + +* Compiling userspace: +Pull AOSP source: +$ repo init -u https://android.googlesource.com/platform/manifest -b master & repo sync -j24 + +Download and extract HDMI binaries: +$ wget https://dl.google.com/dl/android/aosp/arm-hikey960-NOU-7ad3cccc.tgz +$ tar xzf arm-hikey960-NOU-7ad3cccc.tgz +$ ./extract-arm-hikey960.sh + +Build: +$ . ./build/envsetup.sh +$ lunch hikey960-userdebug +$ make -j32 + +* Flashing images: +Enter fastboot mode by turning ON switch 1 and 3 +$ cd device/linaro/hikey/installer/hikey960 +$ ./flash-all.sh + or +$ fastboot flash boot out/target/product/hikey/boot.img +$ fastboot flash dts out/target/product/hikey960/dt.img +$ fastboot flash system out/target/product/hikey/system.img +$ fastboot flash cache out/target/product/hikey/cache.img +$ fastboot flash userdata out/target/product/hikey/userdata.img +Turn OFF switch 3 and power cycle the board. + +* Building kernel +$ git clone https://android.googlesource.com/kernel/hikey-linaro +$ cd hikey-linaro +$ git checkout -b android-hikey-linaro-4.4 origin/android-hikey-linaro-4.4 +$ make ARCH=arm64 hikey960_defconfig +$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- -j24 +Output: arch/arm64/boot/Image.gz & arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb + copy Image.gz and hi3660-hikey960.dtb to hikey-kernel directory to files + Image.gz-hikey960 and hi3660-hikey960.dtb + +* Kernel serial output (uart3): +J2 (LS Expansion): 1 - Gnd, 11 - Rx, 13 - Tx + +External links: +Board: http://www.96boards.org/product/hikey960/ +Howto: http://www.96boards.org/documentation/ConsumerEdition/HiKey960/README.md/ +Schematics: https://github.com/96boards/documentation/raw/master/ConsumerEdition/HiKey960/HardwareDocs/HiKey960_Schematics.pdf |