Commit 52294fcc authored by Guido Gunther's avatar Guido Gunther
Browse files

Drop support for nitrogen board, NXP Evk and Emcraft EVK

We've not built those since ages, they don't use prepackaged
uboot and kernels and mainline kernel support is good enough
for the NXP EVK that a pregenerated image is easy to modify
to boot there.

We used them as reference but mainline devkit support is
good enough nowadays to server as that reference.
parent 64a16d2a
......@@ -11,7 +11,7 @@ set -u
usage() {
echo "Usage : $1 "
echo " -h Display this help message."
echo " -b [imx6|imx8|devkit|librem5|qemu-x86_64] select the board type."
echo " -b [devkit|librem5|qemu-x86_64] select the board type."
echo " -d <distro> distro to use. [ amber-phone, byzantium ]"
# TODO: add stable and drop ci
echo " -T kernel/uboot build type (legacy/current/next/plain)"
......
......@@ -5,68 +5,6 @@ uboot_base="https://arm01.puri.sm/job/u-boot_builds/job"
archive_path="lastSuccessfulBuild/artifact/*zip*/archive.zip"
case ${pureos_board} in
imx6)
arch=armhf
kernel_arch=armhf
board_type=nitrogen6
uboot_type=imx6
fdt_file=imx6qp-nitrogen6_max_purism.dtb
# Prefer a local qemu-arm-static until
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887892
# if fixed
if [ -f ./bin/qemu-arm-static ]; then
qemu=./bin/qemu-arm-static
else
qemu=/usr/bin/qemu-arm-static
fi
kernel_url="${kernel_base}/iMX6_CI_kernel_build/${archive_path}"
uboot_url="${uboot_base}/imx6_uboot_CI_build/${archive_path}"
vmdebootstrap_opts=(--foreign=${qemu}
--bootsize 512M
--boottype ext2
--bootoffset 1M
--no-kernel
--no-update-initramfs
--arch="${arch}"
--no-extlinux
)
;;
imx8)
arch=arm64
kernel_arch=arm64
board_type=unknown
fdt_file=fsl-imx8mq-evk-m4.dtb
qemu=/usr/bin/qemu-aarch64-static
uboot_type=imx8
kernel_url="${kernel_base}/imx8_kernel_build/${archive_path}"
uboot_url="${uboot_base}/imx8_uboot_CI_build/${archive_path}"
vmdebootstrap_opts=(--foreign="${qemu}"
--bootsize 512M
--boottype ext2
--bootoffset 5M
--no-kernel
--no-update-initramfs
--arch="${arch}"
)
;;
ec-som)
arch=arm64
kernel_arch=arm64
board_type=unknown
fdt_file=emcraft-imx8-som.dtb
qemu=/usr/bin/qemu-aarch64-static
kernel_url="${kernel_base}/Emcraft_kernel_build/${archive_path}"
uboot_url="${uboot_base}/ec-som_uboot_CI_build/${archive_path}"
uboot_type=ec-som
vmdebootstrap_opts=(--foreign="${qemu}"
--bootsize 512M
--boottype ext2
--bootoffset 5MiB
--no-kernel
--no-update-initramfs
--arch="${arch}"
)
;;
devkit)
arch=arm64
kernel_arch=arm64
......
Supports Markdown
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