public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta-isar: add support for the nanopi-neo board
@ 2020-01-06  8:33 Cedric Hombourger
  2020-01-06  9:43 ` Baurzhan Ismagulov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Cedric Hombourger @ 2020-01-06  8:33 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

From: Cedric Hombourger <cedric_hombourger@mentor.com>

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 <cedric_hombourger@mentor.com>
---
 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] meta-isar: add support for the nanopi-neo board
  2020-01-06  8:33 [PATCH] meta-isar: add support for the nanopi-neo board Cedric Hombourger
@ 2020-01-06  9:43 ` Baurzhan Ismagulov
  2020-01-06 16:34   ` cedric_hombourger
  2020-01-09 16:59 ` Baurzhan Ismagulov
  2020-03-05 10:25 ` Baurzhan Ismagulov
  2 siblings, 1 reply; 6+ messages in thread
From: Baurzhan Ismagulov @ 2020-01-06  9:43 UTC (permalink / raw)
  To: isar-users

Hello Cedric,

On Mon, Jan 06, 2020 at 09:33:41AM +0100, Cedric Hombourger wrote:
> 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.

Thanks. Is it the following one?

https://direkt.jacob.de/produkte/friendlyelec-nanopi-neo-friendly-neo-v1-3-artnr-3741968.html?utm_source=geizhals&utm_medium=cpc&utm_campaign=Preisvergleich&ref=103

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] meta-isar: add support for the nanopi-neo board
  2020-01-06  9:43 ` Baurzhan Ismagulov
@ 2020-01-06 16:34   ` cedric_hombourger
  2020-01-07 12:08     ` Baurzhan Ismagulov
  0 siblings, 1 reply; 6+ messages in thread
From: cedric_hombourger @ 2020-01-06 16:34 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]

Hi Baurzhan,

It is but I think I got mine for halt the price :)

Cedric

On Monday, January 6, 2020 at 10:43:56 AM UTC+1, Baurzhan Ismagulov wrote:
>
> Hello Cedric, 
>
> On Mon, Jan 06, 2020 at 09:33:41AM +0100, Cedric Hombourger wrote: 
> > 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. 
>
> Thanks. Is it the following one? 
>
>
> https://direkt.jacob.de/produkte/friendlyelec-nanopi-neo-friendly-neo-v1-3-artnr-3741968.html?utm_source=geizhals&utm_medium=cpc&utm_campaign=Preisvergleich&ref=103 
>
> With kind regards, 
> Baurzhan. 
>

[-- Attachment #1.2: Type: text/html, Size: 1838 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] meta-isar: add support for the nanopi-neo board
  2020-01-06 16:34   ` cedric_hombourger
@ 2020-01-07 12:08     ` Baurzhan Ismagulov
  0 siblings, 0 replies; 6+ messages in thread
From: Baurzhan Ismagulov @ 2020-01-07 12:08 UTC (permalink / raw)
  To: isar-users

On Mon, Jan 06, 2020 at 08:34:31AM -0800, cedric_hombourger@mentor.com wrote:
> It is but I think I got mine for halt the price :)

Thanks, good to know :) . Some cheaper ones happened to appear in the evening.

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] meta-isar: add support for the nanopi-neo board
  2020-01-06  8:33 [PATCH] meta-isar: add support for the nanopi-neo board Cedric Hombourger
  2020-01-06  9:43 ` Baurzhan Ismagulov
@ 2020-01-09 16:59 ` Baurzhan Ismagulov
  2020-03-05 10:25 ` Baurzhan Ismagulov
  2 siblings, 0 replies; 6+ messages in thread
From: Baurzhan Ismagulov @ 2020-01-09 16:59 UTC (permalink / raw)
  To: isar-users

Hello Cedric,

On Mon, Jan 06, 2020 at 09:33:41AM +0100, Cedric Hombourger wrote:
> 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.

This works, thanks. The board has Ethernet, but iproute2 is not installed by
default. I think it would be a good idea to provide it by default, so that the
user could install packages from the net. What do you think?

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] meta-isar: add support for the nanopi-neo board
  2020-01-06  8:33 [PATCH] meta-isar: add support for the nanopi-neo board Cedric Hombourger
  2020-01-06  9:43 ` Baurzhan Ismagulov
  2020-01-09 16:59 ` Baurzhan Ismagulov
@ 2020-03-05 10:25 ` Baurzhan Ismagulov
  2 siblings, 0 replies; 6+ messages in thread
From: Baurzhan Ismagulov @ 2020-03-05 10:25 UTC (permalink / raw)
  To: isar-users

On Mon, Jan 06, 2020 at 09:33:41AM +0100, Cedric Hombourger wrote:
> 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.

Applied to next, thanks.

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-05 10:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06  8:33 [PATCH] meta-isar: add support for the nanopi-neo board Cedric Hombourger
2020-01-06  9:43 ` Baurzhan Ismagulov
2020-01-06 16:34   ` cedric_hombourger
2020-01-07 12:08     ` Baurzhan Ismagulov
2020-01-09 16:59 ` Baurzhan Ismagulov
2020-03-05 10:25 ` Baurzhan Ismagulov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox