Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
audio/ | 22-Nov-2023 | - | 834 | 642 | ||
bluetooth/ | 22-Nov-2023 | - | 24 | 5 | ||
bootloader/EFI/BOOT/ | 22-Nov-2023 | - | 42 | 41 | ||
bt-wifi-firmware-util/ | 22-Nov-2023 | - | 118 | 80 | ||
build/tasks/ | 22-Nov-2023 | - | 15 | 10 | ||
etc/ | 22-Nov-2023 | - | 129 | 33 | ||
gralloc/ | 22-Nov-2023 | - | 2,094 | 1,474 | ||
installer/ | 22-Nov-2023 | - | 358 | 291 | ||
overlay/frameworks/base/ | 22-Nov-2023 | - | 90 | 33 | ||
self-extractors/ | 22-Nov-2023 | - | 312 | 199 | ||
sepolicy/ | 22-Nov-2023 | - | 12 | 10 | ||
wpan/ | 22-Nov-2023 | - | 933 | 591 | ||
.git | D | 01-Jan-1970 | 0 | |||
Android.mk | D | 22-Nov-2023 | 1.2 KiB | 32 | 4 | |
AndroidProducts.mk | D | 22-Nov-2023 | 444 | 14 | 2 | |
BoardConfig.mk | D | 22-Nov-2023 | 1.7 KiB | 63 | 47 | |
README | D | 22-Nov-2023 | 2 KiB | 59 | 47 | |
board-info.txt | D | 22-Nov-2023 | 28 | 3 | 1 | |
cmdline | D | 22-Nov-2023 | 181 | 2 | 1 | |
device.mk | D | 22-Nov-2023 | 4 KiB | 100 | 49 | |
fstab.hikey | D | 22-Nov-2023 | 1.3 KiB | 12 | 10 | |
fstab.hikey-4.1 | D | 22-Nov-2023 | 1.2 KiB | 12 | 10 | |
hikey.kl | D | 22-Nov-2023 | 2.6 KiB | 114 | 104 | |
hikey.mk | D | 22-Nov-2023 | 443 | 16 | 9 | |
init.hikey.rc | D | 22-Nov-2023 | 2.9 KiB | 100 | 75 | |
init.hikey.usb.rc | D | 22-Nov-2023 | 4 KiB | 90 | 72 | |
proprietary-blobs.txt | D | 22-Nov-2023 | 775 | 19 | 16 | |
system.prop | D | 22-Nov-2023 | 145 | 5 | 4 | |
ueventd.hikey.rc | D | 22-Nov-2023 | 115 | 4 | 3 | |
vendor_owner_info.txt | D | 22-Nov-2023 | 92 | 3 | 2 | |
vendorsetup.sh | D | 22-Nov-2023 | 841 | 24 | 1 | |
wpa_supplicant.conf | D | 22-Nov-2023 | 134 | 7 | 5 |
README
1Running Android on hikey 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/linaro-hikey-20160226-67c37b1a.tgz 9$ tar xzf linaro-hikey-20160226-67c37b1a.tgz 10$ ./extract-linaro-hikey.sh 11 12Install mcopy utility: 13$ apt-get install mtools 14 15Build: 16$ . ./build/envsetup.sh 17$ lunch hikey-userdebug 18$ make -j32 19 20Note: For 4 GB eMMC part use: 21$ make -j32 TARGET_USERDATAIMAGE_4GB=true 22 23* Installing initial fastboot and ptable: 24Select special bootloader mode by linking J15 1-2 and 3-4 pins 25Connect USB to PC to get ttyUSB device (ex: ttyUSB1) 26Power the board 27$ cd device/linaro/hikey/installer 28$ ./flash-all.sh /dev/ttyUSB1 [4g] 29Remove link 3-4 and power the board 30 31* Flashing images: 32Enter fastboot mode by linking J15 1-2 and 5-6 pins 33$ fastboot flash boot out/target/product/hikey/boot_fat.uefi.img 34$ fastboot flash system out/target/product/hikey/system.img 35$ fastboot flash cache out/target/product/hikey/cache.img 36$ fastboot flash userdata out/target/product/hikey/userdata.img 37Remove jumper 5-6 and power the board 38 39* Building kernel 40$ git clone https://android.googlesource.com/kernel/hikey-linaro 41$ cd hikey-linaro 42$ git checkout -b android-hikey-linaro-4.1 origin/android-hikey-linaro-4.1 43$ make ARCH=arm64 hikey_defconfig 44$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- -j24 45Output: arch/arm64/boot/Image & arch/arm64/boot/dts/hisilicon/hi6220-hikey.dtb 46 copy Image and hi6220-hikey.dtb to hikey-kernel directory 47 48* Setting monitor resolution 49Edit device/linaro/hikey/bootloader/EFI/BOOT/grub.cfg 50Set video= (for example for 24” monitor): video=HDMI-A-1:1280x800@60 51 52* Kernel serial output (uart3): 53J2 (LS Expansion): 1 - Gnd, 11 - Rx, 13 - Tx 54 55External links: 56Board: https://www.96boards.org/products/ce/hikey/ 57Howto: https://github.com/96boards/documentation/wiki/LatestSnapshots 58Schematics: https://www.96boards.org/wp-content/uploads/2015/02/96Boards-Hikey-Rev-A1.pdf 59