* [PATCH 1/3] meta-isar/conf: Add Raspbian stretch for Raspberry Pi 1 support
2019-03-27 14:47 [PATCH 0/3] Add Raspberry Pi 1 for Raspbian stretch Maxim Yu. Osipov
@ 2019-03-27 14:47 ` Maxim Yu. Osipov
2019-03-27 14:47 ` [PATCH 2/3] scripts/ci: Add Raspberry Pi 1 for Raspbian stretch Maxim Yu. Osipov
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Maxim Yu. Osipov @ 2019-03-27 14:47 UTC (permalink / raw)
To: isar-users
Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
Tested-by: Baurzhan Ismagulov <ibr@ilbers.de>
---
meta-isar/conf/distro/raspbian-stretch.conf | 12 ++++++++++
meta-isar/conf/distro/raspbian-stretch.list | 2 ++
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/multiconfig/rpi-stretch.conf | 34 +++++++++++++++++++++++++++++
4 files changed, 49 insertions(+)
create mode 100644 meta-isar/conf/distro/raspbian-stretch.conf
create mode 100644 meta-isar/conf/distro/raspbian-stretch.list
create mode 100644 meta-isar/conf/multiconfig/rpi-stretch.conf
diff --git a/meta-isar/conf/distro/raspbian-stretch.conf b/meta-isar/conf/distro/raspbian-stretch.conf
new file mode 100644
index 0000000..c6f215b
--- /dev/null
+++ b/meta-isar/conf/distro/raspbian-stretch.conf
@@ -0,0 +1,12 @@
+# Raspbian stable distribution configuration
+#
+# This software is a part of ISAR.
+# Copyright (C) 2015-2019 ilbers GmbH
+
+BASE_DISTRO = "raspbian"
+BASE_DISTRO_CODENAME = "stretch"
+
+DISTRO_APT_SOURCES += "conf/distro/raspbian-stretch.list"
+DISTRO_APT_KEYS += "https://archive.raspbian.org/raspbian.public.key;sha256sum=ca59cd4f2bcbc3a1d41ba6815a02a8dc5c175467a59bd87edeac458f4a5345de"
+DISTRO_CONFIG_SCRIPT ?= "${LAYERDIR_isar}/conf/distro/raspbian-configscript.sh"
+DISTRO_KERNELS ?= "rpi rpi2 rpi-rpfv rpi2-rpfv"
diff --git a/meta-isar/conf/distro/raspbian-stretch.list b/meta-isar/conf/distro/raspbian-stretch.list
new file mode 100644
index 0000000..03b869e
--- /dev/null
+++ b/meta-isar/conf/distro/raspbian-stretch.list
@@ -0,0 +1,2 @@
+deb http://archive.raspbian.org/raspbian stretch main contrib non-free firmware
+deb-src http://archive.raspbian.org/raspbian stretch main contrib non-free firmware
diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index e5827aa..aaaa8ca 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -55,6 +55,7 @@ BBMULTICONFIG = " \
qemuamd64-buster-tgz \
nand-ubi-demo-buster \
rpi-jessie \
+ rpi-stretch \
"
#
diff --git a/meta-isar/conf/multiconfig/rpi-stretch.conf b/meta-isar/conf/multiconfig/rpi-stretch.conf
new file mode 100644
index 0000000..ec1f71d
--- /dev/null
+++ b/meta-isar/conf/multiconfig/rpi-stretch.conf
@@ -0,0 +1,34 @@
+#
+# This software is a part of ISAR.
+# Copyright (C) 2015-2019 ilbers GmbH
+#
+# This configuration file is a part of bitbake multiconfig. Bitbake combines
+# these settings with local.conf ones and start task execution with this
+# environment.
+
+# This sets the default machine to be rpi in this configuration:
+MACHINE ?= "rpi"
+
+# This sets the default distribution configuration:
+DISTRO ?= "raspbian-stretch"
+DISTRO_ARCH ?= "armhf"
+
+KERNEL_NAME ?= "rpi-rpfv"
+
+IMAGE_PREINSTALL += " \
+ bind9-host \
+ dnsutils \
+ iproute2 \
+ iputils-ping \
+ isc-dhcp-client \
+ lrzsz \
+ net-tools \
+ netcat-openbsd \
+ openssh-client \
+ openssh-server \
+ raspberrypi-bootloader-nokernel \
+ systemd-sysv \
+ telnet \
+ traceroute \
+ vim \
+ "
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/3] scripts/ci: Add Raspberry Pi 1 for Raspbian stretch
2019-03-27 14:47 [PATCH 0/3] Add Raspberry Pi 1 for Raspbian stretch Maxim Yu. Osipov
2019-03-27 14:47 ` [PATCH 1/3] meta-isar/conf: Add Raspbian stretch for Raspberry Pi 1 support Maxim Yu. Osipov
@ 2019-03-27 14:47 ` Maxim Yu. Osipov
2019-03-27 14:47 ` [PATCH 3/3] doc/user_manual: " Maxim Yu. Osipov
2019-03-28 10:57 ` [PATCH 0/3] " Maxim Yu. Osipov
3 siblings, 0 replies; 5+ messages in thread
From: Maxim Yu. Osipov @ 2019-03-27 14:47 UTC (permalink / raw)
To: isar-users
Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
---
scripts/ci_build.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index bcc7545..0ea5995 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -33,7 +33,8 @@ TARGETS_SET="\
multiconfig:qemuamd64-buster:isar-image-base \
multiconfig:qemuamd64-buster-tgz:isar-image-base \
multiconfig:nand-ubi-demo-buster:isar-image-ubi \
- multiconfig:rpi-jessie:isar-image-base"
+ multiconfig:rpi-jessie:isar-image-base \
+ multiconfig:rpi-stretch:isar-image-base"
# qemu-user-static of <= buster too old to build that
# multiconfig:qemuarm64-buster:isar-image-base
@@ -87,7 +88,8 @@ do
TARGETS_SET="\
multiconfig:qemuarm-stretch:isar-image-base \
multiconfig:qemuarm64-stretch:isar-image-base \
- multiconfig:qemuamd64-stretch:isar-image-base"
+ multiconfig:qemuamd64-stretch:isar-image-base \
+ multiconfig:rpi-stretch:isar-image-base"
;;
-q|--quiet)
BB_ARGS=""
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/3] doc/user_manual: Add Raspberry Pi 1 for Raspbian stretch
2019-03-27 14:47 [PATCH 0/3] Add Raspberry Pi 1 for Raspbian stretch Maxim Yu. Osipov
2019-03-27 14:47 ` [PATCH 1/3] meta-isar/conf: Add Raspbian stretch for Raspberry Pi 1 support Maxim Yu. Osipov
2019-03-27 14:47 ` [PATCH 2/3] scripts/ci: Add Raspberry Pi 1 for Raspbian stretch Maxim Yu. Osipov
@ 2019-03-27 14:47 ` Maxim Yu. Osipov
2019-03-28 10:57 ` [PATCH 0/3] " Maxim Yu. Osipov
3 siblings, 0 replies; 5+ messages in thread
From: Maxim Yu. Osipov @ 2019-03-27 14:47 UTC (permalink / raw)
To: isar-users
Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
---
doc/user_manual.md | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/user_manual.md b/doc/user_manual.md
index 4ac766d..7c59efc 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -53,7 +53,8 @@ configurations:
- QEMU amd64 with Debian Jessie
- QEMU amd64 with Debian Stretch
- QEMU amd64 with Debian Buster
- - Raspberry Pi 1 Model B with Raspbian Jessie (see #23)
+ - Raspberry Pi 1 Model B with Raspbian Jessie
+ - Raspberry Pi 1 Model B with Raspbian Stretch
- Banana Pi BPI-M1
- LeMaker HiKey
- Terasic DE0-Nano-SoC
@@ -169,6 +170,7 @@ BBMULTICONFIG = " \
qemuamd64-stretch \
qemuamd64-buster \
rpi-jessie \
+ rpi-stretch \
"
```
@@ -186,7 +188,8 @@ $ bitbake \
multiconfig:qemuamd64-jessie:isar-image-base \
multiconfig:qemuamd64-stretch:isar-image-base \
multiconfig:qemuamd64-buster:isar-image-base \
- multiconfig:rpi-jessie:isar-image-base
+ multiconfig:rpi-jessie:isar-image-base \
+ multiconfig:rpi-stretch:isar-image-base
```
Created images are:
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] Add Raspberry Pi 1 for Raspbian stretch
2019-03-27 14:47 [PATCH 0/3] Add Raspberry Pi 1 for Raspbian stretch Maxim Yu. Osipov
` (2 preceding siblings ...)
2019-03-27 14:47 ` [PATCH 3/3] doc/user_manual: " Maxim Yu. Osipov
@ 2019-03-28 10:57 ` Maxim Yu. Osipov
3 siblings, 0 replies; 5+ messages in thread
From: Maxim Yu. Osipov @ 2019-03-28 10:57 UTC (permalink / raw)
To: isar-users
On 3/27/19 3:47 PM, Maxim Yu. Osipov wrote:
> Hello,
>
> This series fixes #23.
Applied to the 'next'.
> Regards,
> Maxim.
>
> Maxim Yu. Osipov (3):
> meta-isar/conf: Add Raspbian stretch for Raspberry Pi 1 support
> scripts/ci: Add Raspberry Pi 1 for Raspbian stretch
> doc/user_manual: Add Raspberry Pi 1 for Raspbian stretch
>
> doc/user_manual.md | 7 ++++--
> meta-isar/conf/distro/raspbian-stretch.conf | 12 ++++++++++
> meta-isar/conf/distro/raspbian-stretch.list | 2 ++
> meta-isar/conf/local.conf.sample | 1 +
> meta-isar/conf/multiconfig/rpi-stretch.conf | 34 +++++++++++++++++++++++++++++
> scripts/ci_build.sh | 6 +++--
> 6 files changed, 58 insertions(+), 4 deletions(-)
> create mode 100644 meta-isar/conf/distro/raspbian-stretch.conf
> create mode 100644 meta-isar/conf/distro/raspbian-stretch.list
> create mode 100644 meta-isar/conf/multiconfig/rpi-stretch.conf
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 5+ messages in thread