Commit 1f9c2e04 authored by Guido Gunther's avatar Guido Gunther
Browse files

Merge branch 'librem5' into 'master'

Add Librem 5 build

See merge request Librem5/image-builder!112
parents 5a2bec13 0d5591cc
......@@ -11,7 +11,7 @@ set -u
usage() {
echo "Usage : $1 "
echo " -h Display this help message."
echo " -b [imx6|imx8|devkit|qemu-x86_64] select the board type."
echo " -b [imx6|imx8|devkit|librem5|qemu-x86_64] select the board type."
echo " -d <distro> distro to use. [ green, purple, buster, green+ci, buster+ci, purple+ci ]"
# TODO: add stable and drop ci
echo " -T kernel/uboot build type (legacy/current/next)"
......
......@@ -103,6 +103,26 @@ case ${pureos_board} in
librem5-devkit-base
"
;;
librem5)
arch=arm64
kernel_arch=arm64
kernel_url="${kernel_base}/kernel_devkit_linux-next_imx8-5.2-devkit/${archive_path}"
uboot_url="${uboot_base}/uboot_devkit_mainline_atf_build/${archive_path}"
board_type=unknown
qemu=/usr/bin/qemu-aarch64-static
uboot_type=librem5
fk_machine="Purism Librem 5"
vmdebootstrap_opts=(--foreign="${qemu}"
--bootsize 200M
--boottype ext2
--bootoffset 5MiB
--no-kernel
--arch="${arch}"
)
board_packages="
librem5-devkit-base
"
;;
qemu-x86_64)
board_type=x86
arch=x86_64
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment