From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v2 2/2] meta-isar: Add phyboard-mira target
Date: Mon, 17 Jan 2022 08:34:08 +0300 [thread overview]
Message-ID: <20220117053408.250503-3-amikan@ilbers.de> (raw)
In-Reply-To: <20220117053408.250503-1-amikan@ilbers.de>
Add phyBOARD-Mira board support to Isar and cover it by CI.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/machine/phyboard-mira.conf | 13 +++++++++++++
.../conf/multiconfig/phyboard-mira-bullseye.conf | 13 +++++++++++++
testsuite/build_test/build_test.py | 1 +
4 files changed, 28 insertions(+)
create mode 100644 meta-isar/conf/machine/phyboard-mira.conf
create mode 100644 meta-isar/conf/multiconfig/phyboard-mira-bullseye.conf
diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index a5b783c..cdd67eb 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -75,6 +75,7 @@ BBMULTICONFIG = " \
hikey-bookworm \
imx6-sabrelite-buster \
imx6-sabrelite-bullseye \
+ phyboard-mira-bullseye \
nanopi-neo-buster \
nanopi-neo-bullseye \
stm32mp15x-buster \
diff --git a/meta-isar/conf/machine/phyboard-mira.conf b/meta-isar/conf/machine/phyboard-mira.conf
new file mode 100644
index 0000000..2d052d0
--- /dev/null
+++ b/meta-isar/conf/machine/phyboard-mira.conf
@@ -0,0 +1,13 @@
+# This software is a part of ISAR.
+# Copyright (C) 2022 ilbers GmbH
+#
+# SPDX-License-Identifier: MIT
+
+MACHINE_SERIAL ?= "ttymxc0"
+BAUDRATE_TTY ?= "115200"
+
+MKUBIFS_ARGS := "-m 0x1000 -e 0x7e000 -c 8083"
+UBINIZE_ARGS = "-vv -m 0x1000 -p 0x80000"
+IMAGE_FSTYPES ?= "ubi-ubifs-img"
+
+DTB_FILES = "imx6q-phytec-mira-rdk-nand.dtb"
diff --git a/meta-isar/conf/multiconfig/phyboard-mira-bullseye.conf b/meta-isar/conf/multiconfig/phyboard-mira-bullseye.conf
new file mode 100644
index 0000000..a0253eb
--- /dev/null
+++ b/meta-isar/conf/multiconfig/phyboard-mira-bullseye.conf
@@ -0,0 +1,13 @@
+# This software is a part of ISAR.
+# Copyright (C) 2022 ilbers GmbH
+#
+# SPDX-License-Identifier: MIT
+
+MACHINE ?= "phyboard-mira"
+
+DISTRO ?= "debian-bullseye"
+DISTRO_ARCH ?= "armhf"
+
+KERNEL_NAME ?= "armmp"
+
+IMAGE_INSTALL += "sshd-regen-keys"
diff --git a/testsuite/build_test/build_test.py b/testsuite/build_test/build_test.py
index 387dbb8..77324dd 100644
--- a/testsuite/build_test/build_test.py
+++ b/testsuite/build_test/build_test.py
@@ -127,6 +127,7 @@ class NoCrossTest(CIBaseTest):
'mc:qemuriscv64-sid-ports:isar-image-base',
'mc:sifive-fu540-sid-ports:isar-image-base',
'mc:imx6-sabrelite-bullseye:isar-image-ubi',
+ 'mc:phyboard-mira-bullseye:isar-image-ubi',
'mc:rpi-stretch:isar-image-base',
'mc:hikey-bullseye:isar-image-base',
'mc:virtualbox-bullseye:isar-image-base',
--
2.25.1
next prev parent reply other threads:[~2022-01-17 5:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-17 5:34 [PATCH v2 0/2] Actualize iMX6 targets Anton Mikanovich
2022-01-17 5:34 ` [PATCH v2 1/2] meta-isar: Rename nand-ubi-demo to imx6-sabrelite Anton Mikanovich
2022-01-17 5:34 ` Anton Mikanovich [this message]
2022-01-24 8:02 ` [PATCH v2 0/2] Actualize iMX6 targets Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220117053408.250503-3-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox