Overview Before you begin Run Ubuntu Linux on the HiKey 960 Build an Ubuntu filesystem Flash the base firmware and OS Flash the base firmware and OS - recovery mode Flash the base firmware and OS - fastboot mode Boot Linux Add more diskspace MNIST Draw MNIST Draw - Setup MNIST Draw - Machine Learning model MNIST Draw - MNIST demo application Streamline Streamline - Run the MNIST inference Streamline - Use Streamline to connect and profile the application Streamline - Automate the launch and capture Next steps
Before you begin
In addition to your HiKey 960 board, make sure that you also have an HDMI monitor and cable, USB keyboard, USB type-C to USB cable (to connect the HiKey to your computer), and a power supply. You also need a small nail or paper clip to move the small switches on the board.
The scripts and examples for the project are available on github.
To get started, use git to clone the repository and enter the directory with the content.
$ git clone https://github.com/ARM-software/Tool-Solutions.git $ cd Tool-Solutions/ml-tool-examples
In this guide, we assume that you are using an Ubuntu 18.04 host machine, but the instructions should work on most Linux distributions. Windows is not recommended as a host machine.
Duration: We estimate that you will need about two hours to complete the instructions in this guide.