From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH 1/3] meta-isar/conf: Add Raspbian stretch for Raspberry Pi 1 support
Date: Wed, 27 Mar 2019 15:47:54 +0100 [thread overview]
Message-ID: <20190327144756.7833-2-mosipov@ilbers.de> (raw)
In-Reply-To: <20190327144756.7833-1-mosipov@ilbers.de>
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
next prev parent reply other threads:[~2019-03-27 14:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2019-03-27 14:47 ` [PATCH 2/3] scripts/ci: " 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
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=20190327144756.7833-2-mosipov@ilbers.de \
--to=mosipov@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