DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [DistroKit] [PATCH 1/5] platform-v7a: add support for Nitrogen6 MAX
Date: Thu, 19 Sep 2019 17:20:59 +0200	[thread overview]
Message-ID: <20190919152103.23019-2-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20190919152103.23019-1-m.olbrich@pengutronix.de>

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 configs/platform-v7a/platformconfig           |  3 +-
 .../platforms/blspec-nitrogen6max.in          |  5 +++
 .../loader/entries/nitrogen6max.conf          |  6 ++++
 .../rules/blspec-nitrogen6max.make            | 36 +++++++++++++++++++
 4 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 configs/platform-v7a/platforms/blspec-nitrogen6max.in
 create mode 100644 configs/platform-v7a/projectroot/loader/entries/nitrogen6max.conf
 create mode 100644 configs/platform-v7a/rules/blspec-nitrogen6max.make

diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index bb0d26c65e06..8119de4087f5 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -145,7 +145,7 @@ PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_DTC=y
 PTXCONF_DTC_INSTALL_OFTREE=y
 PTXCONF_DTC_OFTREE_DTS_PATH="${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts"
-PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts bcm2837-rpi-3-b.dts"
+PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts"
 PTXCONF_DTC_KERNEL=y
 PTXCONF_DTC_EXTRA_ARGS=""
 
@@ -194,6 +194,7 @@ PTXCONF_BLSPEC_BONEBLACK=y
 PTXCONF_BLSPEC_BONEWHITE=y
 # PTXCONF_BLSPEC_ENTRY is not set
 PTXCONF_BLSPEC_GF=y
+PTXCONF_BLSPEC_NITROGEN6MAX=y
 PTXCONF_BLSPEC_NITROGEN6X=y
 PTXCONF_BLSPEC_RIOTBOARD=y
 PTXCONF_BLSPEC_RPI2=y
diff --git a/configs/platform-v7a/platforms/blspec-nitrogen6max.in b/configs/platform-v7a/platforms/blspec-nitrogen6max.in
new file mode 100644
index 000000000000..ddeff46a0198
--- /dev/null
+++ b/configs/platform-v7a/platforms/blspec-nitrogen6max.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_NITROGEN6MAX
+	tristate
+	prompt "/loader/entries/nitrogen6max.conf bootloader spec entry"
diff --git a/configs/platform-v7a/projectroot/loader/entries/nitrogen6max.conf b/configs/platform-v7a/projectroot/loader/entries/nitrogen6max.conf
new file mode 100644
index 000000000000..083d9b03385f
--- /dev/null
+++ b/configs/platform-v7a/projectroot/loader/entries/nitrogen6max.conf
@@ -0,0 +1,6 @@
+title		Nitrogen6 MAX - Pengutronix-DistroKit
+version		5.3
+options		rootwait rw
+linux		/boot/zImage
+devicetree	/boot/imx6qp-nitrogen6_max.dtb
+linux-appendroot true
diff --git a/configs/platform-v7a/rules/blspec-nitrogen6max.make b/configs/platform-v7a/rules/blspec-nitrogen6max.make
new file mode 100644
index 000000000000..6fb646631542
--- /dev/null
+++ b/configs/platform-v7a/rules/blspec-nitrogen6max.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BLSPEC_NITROGEN6MAX) += blspec-nitrogen6max
+
+BLSPEC_NITROGEN6MAX_VERSION	:= 5.3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-nitrogen6max.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, blspec-nitrogen6max)
+	@$(call install_fixup,blspec-nitrogen6max,PRIORITY,optional)
+	@$(call install_fixup,blspec-nitrogen6max,SECTION,base)
+	@$(call install_fixup,blspec-nitrogen6max,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+	@$(call install_fixup,blspec-nitrogen6max,DESCRIPTION,missing)
+
+	@$(call install_alternative, blspec-nitrogen6max, 0, 0, 0644, \
+		/loader/entries/nitrogen6max.conf)
+
+	@$(call install_finish,blspec-nitrogen6max)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  reply	other threads:[~2019-09-19 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19 15:20 [DistroKit] [PATCH 0/5] Nitrogen6 MAX support and platform cleanup Michael Olbrich
2019-09-19 15:20 ` Michael Olbrich [this message]
2019-09-19 15:21 ` [DistroKit] [PATCH 2/5] barebox-mx6: enable i.MX6 On Chip OTP controller Michael Olbrich
2019-09-19 15:21 ` [DistroKit] [PATCH 3/5] platform-v7a: Enable C++ standard library hardening Michael Olbrich
2019-09-19 15:21 ` [DistroKit] [PATCH 4/5] platform-v7a: use -fstack-protector-strong Michael Olbrich
2019-09-19 15:21 ` [DistroKit] [PATCH 5/5] platform-v7a: disable -frecord-gcc-switches Michael Olbrich
2019-09-20  9:08 ` [DistroKit] [PATCH 0/5] Nitrogen6 MAX support and platform cleanup Robert Schwebel

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=20190919152103.23019-2-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /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