diff options
author | Daniele Palmas <dnlplm@gmail.com> | 2017-10-20 11:13:33 +0200 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2017-10-20 08:46:27 -0700 |
commit | 440f7a2a55a485130d24bf9f17412044c33cc63b (patch) | |
tree | 8e5c9ee742b86feb4bdc3a5626eaeda280c6f6da | |
parent | 65c224c094ae9674452cdf0dc8c888a57aa966e7 (diff) | |
download | hikey-440f7a2a55a485130d24bf9f17412044c33cc63b.tar.gz |
hikey960: fix README errors
This patch fixes the following README errors:
- Directory in which images are available
- Kernel branch name as properly reported in:
https://source.android.com/source/devices#960hikey
Test: flashing images with Hikey960
Change-Id: Ie13328dbd9cd65eee1fc2e79aad47d291ecceb74
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
-rw-r--r-- | hikey960/README | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/hikey960/README b/hikey960/README index 5b330d01..8c6b199a 100644 --- a/hikey960/README +++ b/hikey960/README @@ -5,8 +5,8 @@ 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 +$ wget https://dl.google.com/dl/android/aosp/arm-hikey960-OPR-cf4e0c80.tgz +$ tar xzf arm-hikey960-OPR-cf4e0c80.tgz $ ./extract-arm-hikey960.sh Build: @@ -19,22 +19,26 @@ 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 boot out/target/product/hikey960/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 +$ fastboot flash system out/target/product/hikey960/system.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.4 origin/android-hikey-linaro-4.4 +$ 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 -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 + +* 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 * Kernel serial output (uart3): J2 (LS Expansion): 1 - Gnd, 11 - Rx, 13 - Tx |