From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6778745370942898176 X-Received: by 2002:a17:90a:8008:: with SMTP id b8mr41820371pjn.37.1578299647045; Mon, 06 Jan 2020 00:34:07 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:7292:: with SMTP id d18ls12133450pll.6.gmail; Mon, 06 Jan 2020 00:34:06 -0800 (PST) X-Google-Smtp-Source: APXvYqyAuVT4799hAbQlq9IasQD6+D7W0afGEaYEUHf3fbxBOF6wazi7zlFmz1bXvo4tqeQEFYy6 X-Received: by 2002:a17:902:7613:: with SMTP id k19mr30849382pll.7.1578299646315; Mon, 06 Jan 2020 00:34:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578299646; cv=none; d=google.com; s=arc-20160816; b=QopQHjGn96/lo35FYIAfRniwY1Y+QN3OcGkFIXIwBDFbHHA39j75nDhtfPJHkJW+UR OQqYlxAsMbILFyJ7K/0fUstGJvNCY2ojL3XPLExwbCLFdSb/fPlNyAGv4TOD2AgsfVLB eC10jHizIlu7BQu5fJSfniSDUDLtlKzj0NLlGe3qpdkkZhLuk9f6+8iGwMKTp9+v0nMe 1EYYjPMvQMIdQWbn2Ym5U22t768YLVlt+DM+YhCBLJimyD4X0GX7y/ZS02i32xXzHuwU iVNqlgbUJg2yvsqkEqUUmW+ubpKNeega2xs3/JMAo+PVqqg71kIJW2Z1/xGgb2sYFX92 rXng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=pCgtPD8zD1YWh9nqaOjxFBJURu210pnGcxeuKy3NQz8=; b=RDzljX8dbwatEDAq26OboNYlxLWUpMLuOvWydqIkUjmG8mCZufNxLAJxI+eS/oQIvh M1+DLqYAbTwfvXH4pRkG+sSCf0oDA4xp/fegjJ47JQJJCZMBrYbxKeo4N3c+L4h7vTYt oJL8kPU1TqJr28Gq3YhAs9Dwg40zc1VETnGuWkC+9O/XTHoua7v/XwMJ4qCf8EzkS8xy CZ2OK+dsU41s+vQ9Rj/ifa9NEm71v0PBnVMK9GbeRAV08ZECtPWZWX/4jdj9AzpMJkgr /aCOlgMJJO/73moBbkKu3RujswjuYhcPKkexGwcmcPyd1gf4ezMlWM1wdx44GeRb9FCd vMeQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com. [68.232.129.153]) by gmr-mx.google.com with ESMTPS id c6si756810pjq.2.2020.01.06.00.34.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jan 2020 00:34:06 -0800 (PST) Received-SPF: pass (google.com: domain of cedric_hombourger@mentor.com designates 68.232.129.153 as permitted sender) client-ip=68.232.129.153; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com IronPort-SDR: khxO+8/c0tcfHhdwhtUTE6uZ7vrI92jfs4ndt9USpH1kZvRqP5J9YeqB3cIElGQ1fotH9K8+yM 2ZIg+SGBlcLo79UjCuLKtJcPi1rZXoKr/gQGs2SdweNH4wY1S/HALCMHkD4cGZKHEt4qwGmReE +VAsQw4CEHkeM/vMUoNH8GK2aDOivneWm055JfajPaRAGIhTAGjmfG0/qfWMBG2PDoFrmDC4sX PIC7r+PDXBUrQRpYJT7tLVr0F0794oHFls1YVCvb6nrJ3nVd2+RBD0YnDWKwuSlFFaEnuwD2q4 tfc= X-IronPort-AV: E=Sophos;i="5.69,401,1571731200"; d="scan'208";a="46493827" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 06 Jan 2020 00:34:04 -0800 IronPort-SDR: 1YTt2Qto9qyfyCum8h5oCohPG1k1y4z/qTyz8SHu7URygBrl3z2YsJGdTBAy4iHwvcNydoWRR+ IZgJcehD2J00T2jbFMnUZ7gKnd6IWyuDeF4AKWb0mPn5Jxd7AVsRFKJvENlQV40Xbx9sJw3L+i yPEbs+NR8b2rVxElqMCUjVljTveSsipKILXHHfGnsTy0PnJSlRg2PBjMTUYKEs8ViQVW9RRtuc GT/Ue34d9Aw63lUQiUH53xR1sWimAuH7D/oBylba1RknrC7+lkgleKxszbBxHIAjEFDk8OfME7 y6Y= From: Cedric Hombourger To: CC: Cedric Hombourger Subject: [PATCH] meta-isar: add support for the nanopi-neo board Date: Mon, 6 Jan 2020 09:33:41 +0100 Message-ID: <1578299621-168-1-git-send-email-Cedric_Hombourger@mentor.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain Return-Path: Cedric_Hombourger@mentor.com X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-09.mgc.mentorg.com (139.181.222.9) To svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) X-TUID: BUy2YNa+WPt0 From: Cedric Hombourger The Debian sunxi kernel supports the nanopi-neo out of the box. Add machine .conf and wks files to provide users a cheap option to try out Isar. Signed-off-by: Cedric Hombourger --- meta-isar/conf/local.conf.sample | 1 + meta-isar/conf/machine/nanopi-neo.conf | 14 ++++++++++++++ meta-isar/conf/multiconfig/nanopi-neo-buster.conf | 7 +++++++ .../scripts/lib/wic/canned-wks/nanopi-neo.wks.in | 10 ++++++++++ 4 files changed, 32 insertions(+) create mode 100644 meta-isar/conf/machine/nanopi-neo.conf create mode 100644 meta-isar/conf/multiconfig/nanopi-neo-buster.conf create mode 100644 meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample index 280e007..2a55df4 100644 --- a/meta-isar/conf/local.conf.sample +++ b/meta-isar/conf/local.conf.sample @@ -58,6 +58,7 @@ BBMULTICONFIG = " \ de0-nano-soc-stretch \ hikey-stretch \ nand-ubi-demo-buster \ + nanopi-neo-buster \ rpi-stretch \ " diff --git a/meta-isar/conf/machine/nanopi-neo.conf b/meta-isar/conf/machine/nanopi-neo.conf new file mode 100644 index 0000000..c031b6c --- /dev/null +++ b/meta-isar/conf/machine/nanopi-neo.conf @@ -0,0 +1,14 @@ +# This software is a part of ISAR. +# Copyright (c) Mentor, a Siemens business, 2020 +# +# SPDX-License-Identifier: MIT + +DISTRO_ARCH ?= "armhf" + +KERNEL_NAME ?= "armmp" + +IMAGE_TYPE ?= "wic-img" +WKS_FILE ?= "nanopi-neo.wks.in" + +IMAGE_INSTALL += "u-boot-script" +IMAGER_INSTALL += "u-boot-sunxi" diff --git a/meta-isar/conf/multiconfig/nanopi-neo-buster.conf b/meta-isar/conf/multiconfig/nanopi-neo-buster.conf new file mode 100644 index 0000000..e676767 --- /dev/null +++ b/meta-isar/conf/multiconfig/nanopi-neo-buster.conf @@ -0,0 +1,7 @@ +# This software is a part of ISAR. +# Copyright (c) Mentor, a Siemens business, 2020 +# +# SPDX-License-Identifier: MIT + +MACHINE = "nanopi-neo" +DISTRO = "debian-buster" diff --git a/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in b/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in new file mode 100644 index 0000000..2e98390 --- /dev/null +++ b/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in @@ -0,0 +1,10 @@ +# +# Copyright (c) Siemens AG, 2018 +# +# SPDX-License-Identifier: MIT + +part u-boot --source rawcopy --sourceparams "file=/usr/lib/u-boot/nanopi_neo/u-boot-sunxi-with-spl.bin" --no-table --align 8 + +part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --label platform --align 1024 --active + +bootloader --append "rw rootwait" -- 2.17.1