Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.38 KB

File metadata and controls

68 lines (51 loc) · 2.38 KB

Edge Orchestration on HiKey960

HiKey960

Preparing Hikey960 board

The HiKey960 supports the following operating systems:

  1. AOSP
  2. Ubuntu 16.04.5
  3. Debian

We will install Debian (currently only Debian supports the necessary components for docker).

1. Installation Debian on HiKey960

Instructions on how to install debian can be found here. We used Installation onto the UFS storage.

It should be noted that links to files required for installation are often not correct, so we provide them here: UEFI Boot & Rootfs

2. Start HiKey960

After starting Linux, you need to run the nmtui to configure the Wi-Fi.

login/password - linaro/linaro

Docker installation:

$ curl -sSL https://get.docker.com | sh
$ sudo usermod -aG docker $USER
$ newgrp docker

Everything is now ready to deploy Edge-Orchestration


Quick start

This section provides how to download and run pre-built Docker image without building the project.

TBD


How to build Edge-Orchestration

Run the ./build.sh script on your PC and specify the build parameters - container, architecture - arm64 (in the case of building in protected mode, add secure), see examples below:

$ ./build.sh container arm64

or for protected mode:

$ ./build.sh container secure arm64

the build result will be edge-orchestration.tar archive that can be found GoMain/bin/edge-orchestration.tar

Next, need to copy edge-orchestration.tar archive to the HiKey960 board and load the image using the command:

$ docker load -i edge-orchestration.tar

The build is finished, how to run see here.


References

https://www.96boards.org/product/hikey960/
https://www.96boards.org/documentation/consumer/hikey/hikey960/installation/board-recovery.md.html
https://wiki.debian.org/InstallingDebianOn/96Boards/HiKey960
https://developer.arm.com/solutions/machine-learning-on-arm/developer-material/how-to-guides/running-and-profiling-arm-nn-on-the-hikey-960
http://www.lemaker.org/product-hikeysecond-resource.html