Skip to content

Commit

Permalink
meta-isar/conf: add nanopi-r1 machine
Browse files Browse the repository at this point in the history
Closes: #105
Signed-off-by: Cedric Hombourger <[email protected]>
  • Loading branch information
chombourger committed Dec 30, 2021
1 parent c1f50ff commit 80dba29
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
43 changes: 43 additions & 0 deletions kas/debian/mtda-nanopi-r1.yml
Original file line number Diff line number Diff line change
@@ -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"
16 changes: 16 additions & 0 deletions meta-isar/conf/machine/nanopi-r1.conf
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 80dba29

Please sign in to comment.