ยง2023-10-11
- Building Armbian
- require amd64 to do Cross Compiling
- officially supported compilation environment is Ubuntu Jammy 22.04.x amd64 ๆฉๅจ๏ผh2Jammy.yushei.net,odroid-h2
alexlai@h2Jammy:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
- Start
alexlai@h2Jammy:~/build$ pwd
/home/alexlai/build
alexlai@h2Jammy:~/build$ git clone --depth=1 --branch=main https://github.com/armbian/build
$ mv build Armbin-build
$ cd Armbian-build
$ ./compile.sh
[๐ฑ] Using prebuilt Armbian image as base for 'ubuntu-jammy' [ DOCKER_ARMBIAN_BASE_IMAGE: ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest ]
[๐ฟ] Docker info [ Docker 24.0.6 Kernel:5.15.0-86-generic RAM:7.577GiB CPUs:4 OS:'Ubuntu 22.04.3 LTS' hostname 'h2Jammy' under 'Linux' - buildx:yes - loop-hacks:yes static-loops:no ]
[๐ฑ] Creating [ .dockerignore ]
[๐ฑ] Docker launcher [ enabling all extensions looking for Docker dependencies ]
[๐ฑ] Extension manager [ processed 27 Extension Methods calls and 79 Extension Method implementations ]
[๐ฑ] Adding rootfs encryption related packages [ cryptsetup cryptsetup-initramfs ]
[๐ฑ] Preparing rkdevflash host-side dependencies [ rkdevflash ]
[๐ฑ] Creating [ Dockerfile; FROM ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest ]
[๐ฑ] Armbian docker image [ does not exist: ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest ]
[๐ฑ] Pulling [ ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest ]
[๐จ] armbian-ubuntu-jammy-latest: Pulling from armbian/docker-armbian-build
[๐จ] 37aaf24cf781: Pulling fs layer
[๐จ] 3f45ad63aa96: Pulling fs layer
[๐จ] c5b677348f93: Pulling fs layer
[๐จ] 6861a6ef7617: Pulling fs layer
[๐จ] bea84d0bc5c0: Pulling fs layer
[๐จ] f2c7de715bda: Pulling fs layer
[๐จ] c19e390de688: Pulling fs layer
[๐จ] 6861a6ef7617: Waiting
[๐จ] bea84d0bc5c0: Waiting
[๐จ] f2c7de715bda: Waiting
[๐จ] c19e390de688: Waiting
[๐จ] c5b677348f93: Download complete
[๐จ] 6861a6ef7617: Download complete
[๐จ] bea84d0bc5c0: Download complete
[๐จ] f2c7de715bda: Verifying Checksum
[๐จ] f2c7de715bda: Download complete
[๐จ] 37aaf24cf781: Download complete
[๐จ] 37aaf24cf781: Pull complete
[๐จ] c19e390de688: Verifying Checksum
[๐จ] c19e390de688: Download complete
...
- Select Kernel Configuration
- Select Target Board