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/hikey960/boot.img
$ fastboot flash dts out/target/product/hikey960/dt.img
$ fastboot flash system out/target/product/hikey960/system.img
$ fastboot flash vendor out/target/product/hikey960/vendor.img
$ fastboot flash cache out/target/product/hikey960/cache.img
$ fastboot flash userdata out/target/product/hikey960/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.9 origin/android-hikey-linaro-4.9
$ make ARCH=arm64 hikey960_defconfig
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- -j24
* Update the kernel in the boot image
Copy hi3660-hikey960.dtb (arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb)
to the hikey-kernel directory as file: hi3660-hikey960.dtb-4.9
Copy the Image file (arch/arm64/boot/Image.gz) to the hikey-kernel
directory as file: Image.gz-hikey960-4.9
$ make bootimage -j24
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.