• Home
Name Date Size #Lines LOC

..--

BoardConfig.mkD03-May-2024631 1812

READMED03-May-20241.7 KiB4638

board-info.txtD03-May-202423 21

device-hikey960.mkD03-May-20241.7 KiB3814

fstab.hikey960D03-May-20241.4 KiB1412

README

1Running Android on hikey960 board:
2
3* Compiling userspace:
4Pull AOSP source:
5$ repo init -u https://android.googlesource.com/platform/manifest -b master & repo sync -j24
6
7Download and extract HDMI binaries:
8$ wget https://dl.google.com/dl/android/aosp/arm-hikey960-NOU-7ad3cccc.tgz
9$ tar xzf arm-hikey960-NOU-7ad3cccc.tgz
10$ ./extract-arm-hikey960.sh
11
12Build:
13$ . ./build/envsetup.sh
14$ lunch hikey960-userdebug
15$ make -j32
16
17* Flashing images:
18Enter fastboot mode by turning ON switch 1 and 3
19$ cd device/linaro/hikey/installer/hikey960
20$ ./flash-all.sh
21 or
22$ fastboot flash boot out/target/product/hikey/boot.img
23$ fastboot flash dts out/target/product/hikey960/dt.img
24$ fastboot flash system out/target/product/hikey/system.img
25$ fastboot flash cache out/target/product/hikey/cache.img
26$ fastboot flash userdata out/target/product/hikey/userdata.img
27Turn OFF switch 3 and power cycle the board.
28
29* Building kernel
30$ git clone https://android.googlesource.com/kernel/hikey-linaro
31$ cd hikey-linaro
32$ git checkout -b android-hikey-linaro-4.4 origin/android-hikey-linaro-4.4
33$ make ARCH=arm64 hikey960_defconfig
34$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- -j24
35Output: arch/arm64/boot/Image.gz & arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb
36   copy Image.gz and hi3660-hikey960.dtb to hikey-kernel directory to files
37        Image.gz-hikey960 and hi3660-hikey960.dtb
38
39* Kernel serial output (uart3):
40J2 (LS Expansion): 1 - Gnd, 11 - Rx, 13 - Tx
41
42External links:
43Board: http://www.96boards.org/product/hikey960/
44Howto: http://www.96boards.org/documentation/ConsumerEdition/HiKey960/README.md/
45Schematics: https://github.com/96boards/documentation/raw/master/ConsumerEdition/HiKey960/HardwareDocs/HiKey960_Schematics.pdf
46