Armbian on Orange Pi 4
Jump to navigation
Jump to search
Armbian for Orange Pi 4.
Contents
Installation using a Prebuilt Image
Armbian provides several pre-built SD Card images ready to be flashed and used. See www.armbian.com/orange-pi-4
Installation using a Custom Image
Source: docs.armbian.com/Developer-Guide_Build-Preparation/
Using Vagrant
Source: docs.armbian.com/Developer-Guide_Using-Vagrant/
Prerequisites
- Install git, vagrant, virtualbox
- Install virtualbox plugins:
vagrant plugin install vagrant-disksize - Clone the armbian build repository:
git clone --depth 1 https://github.com/armbian/build - Fetch the guest VM image:
vagrant box add ubuntu/bionic64
Building
- Go to VM template directory:
cd build/config/templates - Start the VM:
vagrant up - Log into the VM:
vagrant ssh- cd armbian
- sudo ./compile.sh (see details below)
- Copying the resulting image from guest to host:
vagrant plugin install vagrant-scp - Stop the VM at the end (or after every finished build):
vagrant halt
Cleanup
- To cleanup after you are done:
vagrant destroy
Building an Image
Source: docs.armbian.com/Developer-Guide_Build-Preparation/
External Links
- Armbian Orange Pi 4 page: armbian.com/orange-pi-4
- Custom image build guide: docs.armbian.com/Developer-Guide_Build-Preparation/