DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v2 3/7] v7a_noneon: blspec: convert to ptxdist default entries
Date: Fri,  7 Jul 2023 13:08:14 +0200	[thread overview]
Message-ID: <20230707110818.3510860-4-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20230707110818.3510860-1-o.rempel@pengutronix.de>

Adding new board support always included adding a special blspec package
for this new board. Most of the blspec entries are the same except for
the used devicetree blob. Since the blspec-entry package is able to the
add the barebox 'linux-appendroot true' option as well can move to the
buildin blspec-entry creation. This lowers the burden of adding new
board support since ptxdist will create a blspec entry for devicetree
each listed within the platformconfig.

I added the 'rootwait rw' kernel command line options since most blspec
entries used these options, albeit the 'rw' support should be
reconsidered.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-v7a_noneon/platformconfig                 | 7 ++++---
 .../platform-v7a_noneon/platforms/blspec-ksz9477-evb.in    | 5 -----
 configs/platform-v7a_noneon/platforms/blspec-vexpress.in   | 5 -----
 .../projectroot/loader/entries/sama5d3-ksz9477-evb.conf    | 6 ------
 .../projectroot/loader/entries/vexpress.conf               | 6 ------
 5 files changed, 4 insertions(+), 25 deletions(-)
 delete mode 100644 configs/platform-v7a_noneon/platforms/blspec-ksz9477-evb.in
 delete mode 100644 configs/platform-v7a_noneon/platforms/blspec-vexpress.in
 delete mode 100644 configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
 delete mode 100644 configs/platform-v7a_noneon/projectroot/loader/entries/vexpress.conf

diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
index 3ff91ce..1bedb23 100644
--- a/configs/platform-v7a_noneon/platformconfig
+++ b/configs/platform-v7a_noneon/platformconfig
@@ -199,9 +199,10 @@ PTXCONF_BAREBOX_ARCH_STRING="arm"
 #
 # bootloader spec entries       
 #
-# PTXCONF_BLSPEC_ENTRY is not set
-PTXCONF_BLSPEC_KSZ9477_EVB=y
-PTXCONF_BLSPEC_VEXPRESS=y
+PTXCONF_BLSPEC_ENTRY=y
+PTXCONF_BLSPEC_ENTRY_DEVICETREE=y
+PTXCONF_BLSPEC_ENTRY_CMDLINE="rootwait rw"
+PTXCONF_BLSPEC_ENTRY_APPENDROOT=y
 # end of bootloader spec entries       
 
 #
diff --git a/configs/platform-v7a_noneon/platforms/blspec-ksz9477-evb.in b/configs/platform-v7a_noneon/platforms/blspec-ksz9477-evb.in
deleted file mode 100644
index 8846209..0000000
--- a/configs/platform-v7a_noneon/platforms/blspec-ksz9477-evb.in
+++ /dev/null
@@ -1,5 +0,0 @@
-## SECTION=blspec
-
-config BLSPEC_KSZ9477_EVB
-	tristate
-	prompt "/loader/entries/sama5d3-ksz9477-evb.conf bootloader spec entry"
diff --git a/configs/platform-v7a_noneon/platforms/blspec-vexpress.in b/configs/platform-v7a_noneon/platforms/blspec-vexpress.in
deleted file mode 100644
index 5c4f677..0000000
--- a/configs/platform-v7a_noneon/platforms/blspec-vexpress.in
+++ /dev/null
@@ -1,5 +0,0 @@
-## SECTION=blspec
-
-config BLSPEC_VEXPRESS
-	tristate
-	prompt "/loader/entries/vexpress.conf bootloader spec entry"
diff --git a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
deleted file mode 100644
index 6ce491d..0000000
--- a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-title		PTXdist - Pengutronix-DistroKit
-version		5.8
-options		rootwait rw
-linux-appendroot true
-linux		/boot/zImage
-devicetree	/boot/at91-sama5d3_ksz9477_evb.dtb
diff --git a/configs/platform-v7a_noneon/projectroot/loader/entries/vexpress.conf b/configs/platform-v7a_noneon/projectroot/loader/entries/vexpress.conf
deleted file mode 100644
index a60a019..0000000
--- a/configs/platform-v7a_noneon/projectroot/loader/entries/vexpress.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-title		PTXdist - Pengutronix-DistroKit
-version		4.11
-options		rootwait rootfstype=ext4 console=ttyAMA0,115200
-linux		/boot/zImage
-devicetree	/boot/vexpress-v2p-ca9.dtb
-linux-appendroot true
-- 
2.39.2




  parent reply	other threads:[~2023-07-07 11:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-07 11:08 [DistroKit] [PATCH v2 0/7] v7a_noneon maintenance Oleksij Rempel
2023-07-07 11:08 ` [DistroKit] [PATCH v2 1/7] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
2023-07-07 11:08 ` [DistroKit] [PATCH v2 2/7] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
2023-07-07 11:08 ` Oleksij Rempel [this message]
2023-07-07 13:23   ` [DistroKit] [PATCH v2 3/7] v7a_noneon: blspec: convert to ptxdist default entries Ahmad Fatoum
2023-07-07 11:08 ` [DistroKit] [PATCH v2 4/7] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
2023-07-07 13:25   ` Ahmad Fatoum
2023-07-07 11:08 ` [DistroKit] [PATCH v2 5/7] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
2023-07-07 11:08 ` [DistroKit] [PATCH v2 6/7] v7a_noneon: barebox-at91: enable DSA support Oleksij Rempel
2023-07-07 13:26   ` Ahmad Fatoum
2023-07-07 11:08 ` [DistroKit] [PATCH v2 7/7] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel

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=20230707110818.3510860-4-o.rempel@pengutronix.de \
    --to=o.rempel@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