From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Michael Olbrich Date: Thu, 19 Sep 2019 17:20:59 +0200 Message-Id: <20190919152103.23019-2-m.olbrich@pengutronix.de> In-Reply-To: <20190919152103.23019-1-m.olbrich@pengutronix.de> References: <20190919152103.23019-1-m.olbrich@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 1/5] platform-v7a: add support for Nitrogen6 MAX List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Michael Olbrich Signed-off-by: Michael Olbrich --- 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 +# +# 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 ") + @$(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