From cb21823c1e54f3124fb0d3493391074faa3ea4a0 Mon Sep 17 00:00:00 2001 From: Cedric Hombourger Date: Wed, 29 Dec 2021 16:21:06 -0500 Subject: [PATCH] meta-isar/conf: add nanopi-r1 machine Closes: #105 Signed-off-by: Cedric Hombourger --- kas/debian/mtda-nanopi-r1.yml | 43 +++++++++++++++++++++++++++ meta-isar/conf/machine/nanopi-r1.conf | 16 ++++++++++ 2 files changed, 59 insertions(+) create mode 100644 kas/debian/mtda-nanopi-r1.yml create mode 100644 meta-isar/conf/machine/nanopi-r1.conf diff --git a/kas/debian/mtda-nanopi-r1.yml b/kas/debian/mtda-nanopi-r1.yml new file mode 100644 index 00000000..4fa89730 --- /dev/null +++ b/kas/debian/mtda-nanopi-r1.yml @@ -0,0 +1,43 @@ +# --------------------------------------------------------------------------- +# Debian image to run MTDA on the NanoPI R1 +# --------------------------------------------------------------------------- +# +# This software is a part of MTDA. +# Copyright (C) 2021 Siemens Digital Industries Software +# +# --------------------------------------------------------------------------- +# SPDX-License-Identifier: MIT +# --------------------------------------------------------------------------- + +header: + version: 10 + +machine: nanopi-r1 +distro: debian-bullseye +target: isar-image-base +build_system: isar + +repos: + mtda: + layers: + meta-isar: + isar: + url: https://github.com/ilbers/isar.git + refspec: master + layers: + meta: + meta-isar: + +bblayers_conf_header: + mtda: | + LCONF_VERSION = "6" + BBPATH = "${TOPDIR}" + BBFILES ?= "" + +local_conf_header: + mtda: | + CONF_VERSION = "1" + ISAR_CROSS_COMPILE = "1" + MTDA_EXTRA_APT_SOURCES = "conf/apt/debian-bullseye-backports.list" + MTDA_EXTRA_APT_PREFERENCES = "conf/apt/debian-bullseye-backports.conf" + MTDA_MASS_STORAGE_FILE = "sda" diff --git a/meta-isar/conf/machine/nanopi-r1.conf b/meta-isar/conf/machine/nanopi-r1.conf new file mode 100644 index 00000000..65ae990d --- /dev/null +++ b/meta-isar/conf/machine/nanopi-r1.conf @@ -0,0 +1,16 @@ +# --------------------------------------------------------------------------- +# This Isar layer is part of MTDA +# Copyright (C) 2021 Siemens Digital Industries Software +# --------------------------------------------------------------------------- +# SPDX-License-Identifier: MIT +# --------------------------------------------------------------------------- + +DISTRO_ARCH ?= "armhf" + +KERNEL_NAME ?= "armmp" + +IMAGE_TYPE ?= "wic-img" +WKS_FILE ?= "nanopi-r1.wks.in" + +IMAGE_INSTALL += "u-boot-script" +IMAGER_INSTALL += "u-boot-nanopi-r1"