This is a cache of https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation/build-linux-host.md.html. It is a snapshot of the page at 2024-12-18T01:33:23.927+0000.
Build Linux Host Computer - 96Boards

Build Linux Host Computer

This section shows how to install Ubuntu Desktop on a Linux host computer to be able to use it to flash the bootloader and use fastboot to load boot and rootfs images onto the DragonBoard 820c.

Hardware

As a Windows user I prefer software that I can run on my Windows 10 laptop either on the host OS, WSL, Ubuntu VM or debian VM. Flashing the bootloader and using fastboot require serial communication from linux. I did not find a sulution to be able to do this in WSL, Ubuntu VM or debian VM (Hyper-V).

CTA How do we setup WSL, Ubuntu VM or debian VM (Hyper-V) to be able to flash the bootloader and using fastboot.

Most likely you are like me and have couple of old laptops and PCs laying around. I took an 11 years old HP laptop and installed Ubuntu Desktop on it. Follow the Installation Guide.

Packages

After logging into your Linux host do the usual dance moves and update/upgrade your system.

$ sudo apt-get update
$ sudo apt-get upgrade -y
$ sudo apt-get dist-upgrade -u -y
$ sudo apt autoremove -y

The Android Tools and Fastboot are prerequisites.

$ sudo apt install -y android-tools-adb android-tools-fastboot libxml2-dev