Commit 0d5591cc authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism) Committed by Guido Gunther
Browse files

Add Librem 5 build

parent a95e4959
Pipeline #29294 passed with stage
in 13 seconds
......@@ -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)"
......
......@@ -107,6 +107,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