This is the readme file for HiKey platform
Above all, you need install some applications firstly as follows:
After you executed ./estuary/build.sh --file=./estuary/estuarycfg.json --builddir=./workspace for HiKey, all targets files will be produced. they are:
l-loader.bin
ptable-linux.img
AndroidFastbootApp.efi
UEFI_HiKey.fd
description: l-loader.bin - used to switch from aarch32 to aarch64 and boot, UEFI_HiKey.fd is the UEFI bios for HiKey, ptable-linux.img - partition tables for Linux images.
target:
source: <project root>/uefi
build commands(supposedly, you are in <project root> currently:
./estuary/submodules/build-uefi.sh --platform=HiKey --output=workspace
grubaa64.efi
description: grubaa64.efi is used to load kernel image and dtb files from SD card, nandflash into RAM and start the kernel.
target: <project root>/workspace/binary/arm64/grubaa64.efi
source: <project root>/grub
build commands(supposedly, you are in <project root> currently:./estuary/submodules/build-grub.sh --output=./workspace, if your host is not arm architecture, please executebuild-grub.sh --output=./workspace --cross=aarch64-linux-gnu-
Note: more details about how to install gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux, please refer to https://github.com/open-estuary/estuary/blob/master/doc/Toolchains_Guide.4All.md.
Image
hi6220-hikey.dtb
descriptions: Image is the kernel executable program, and hi6220-hikey.dtb is the device tree binary.
target: Image in <project root>/workspace/binary/arm64/Image
hi6220-hikey.dtb in <project root>/workspace/binary/HiKey/hi6220-hikey.dtb
source: <project root>/kernel
build commands(supposedly, you are in <project root> currently):./estuary/submodules/build-kernel.sh --platform=HiKey --output=workspace, if your host is not arm architecture, please execute ./estuary/submodules/build-kernel.sh --platform=HiKey --output=workspace --cross=aarch64-linux-gnu-.
Note: more details about how to install gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux, please refer to https://github.com/open-estuary/estuary/blob/master/doc/Toolchains_Guide.4All.md.
If you get more information about uefi, please visit https://github.com/96boards/documentation/wiki/HiKeyUEFI
More detail information about how to deploy target system into HiKey board, please refer to Deploy_Manual.4HiKey.md.
More detail information about how to config this WiFi function into HiKey board, please refer to Setup_HiKey_Wifi_Env.md.
More detail information about distributions, please refer to Distributions_Guider.md.
More detail information about toolchains, please refer to Toolchains_Guider.md.
More detail information about how to benchmark system, please refer to Caliper_Manual.md.
More detail information about how to access remote boards in OpenLab, please refer to Boards_in_OpenLab.