Install Ubuntu minimal on the VCS 1 - SundanceMultiprocessorTechnology/VCS-1 GitHub Wiki
Assumming that /media/sdcard is where the SD card is mounted, and using the boot_files.zip and it's empty:
$ unzip <path>/boot_files.zip /media/sdcard
$ sync
$ sudo chown root:root /media/sdcard/rootfs
$ sudo chown root:root /media/sdcard/BOOT
$ sudo chmod 755 /media/sdcard/rootfs
- Insert the SD card in the board, and when it boots, User="ubuntu", Password="temppwd".
1- Download ubuntu base for arm64:
Ubuntu 16.04
$ wget http://cdimage.ubuntu.com/ubuntu-base/releases/16.04.6/release/ubuntu-base-16.04.4-base-arm64.tar.gz
Ubuntu 18.04
$ wget http://cdimage.ubuntu.com/ubuntu-base/releases/18.04.5/release/ubuntu-base-18.04.5-base-arm64.tar.gz
Ubuntu 20.04
$ wget http://cdimage.ubuntu.com/ubuntu-base/releases/20.04.1/release/ubuntu-base-20.04.1-base-arm64.tar.gz
2- From your host machine, extract the above package to the root partition on a formatted SD card:
$ sudo tar xvzf ubuntu-base-<version>-base-arm64.tar.gz -C /media/sdcard/rootfs
NOTE <version> is either 16.04.4 or 18.04.3 3- Use chroot to setup the filesystem
$ sudo cp -av /usr/bin/qemu-aarch64-static /media/sdcard/rootfs/usr/bin
4- copy resolv.conf from your host machine for internet connection
$ sudo cp -av /run/systemd/resolve/stub-resolv.conf /media/sdcard/rootfs/etc/resolv.conf
5- Mount proc, sys, dev, dev/pts to new fileystem and enter chroot environment
$ cd /media/sdcard/rootfs
$ sudo mount -t proc /proc proc/
$ sudo mount -t sysfs /sys sys/
$ sudo mount -o bind /dev dev/
$ sudo mount -o bind /dev/pts dev/pts
$ sudo chroot ./
6- Add admin user with sudo permission
$ adduser ubuntu
$ addgroup ubuntu adm && addgroup ubuntu sudo && addgroup ubuntu audio && addgroup ubuntu video && addgroup ubuntu docker
7- Change root password
$ passwd root
8- Setup hostname
$ echo "Ubuntu_VCS-1" > /etc/hostname
$ echo "127.0.0.1 localhost" > /etc/hosts
$ echo "127.0.1.1 Ubuntu_VCS-1" >> /etc/hosts
9- Fetch the latest package lists from sources then upgrade.
$ apt update
$ apt upgrade
10- Install base packets and umount proc, sys, dev, dev/pts
$ apt install dialog perl locales sudo net-tools ethtool wireless-tools network-manager \
wpasupplicant nano wget apt-utils udev iputils-ping nano landscape-common htop terminator \
build-essential python-dev python3-dev python-dev ifupdown
$ exit
$ sudo umount proc
$ sudo umount sys
$ sudo umount dev/pts
$ sudo umount dev
- remove the card safely and reboot. If everything went as expected the VCS-1 should be booting with the new minimal installation.