From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH v3 3/7] v7a_noneon: blspec: convert to ptxdist default entries
Date: Mon, 10 Jul 2023 07:03:20 +0200 [thread overview]
Message-ID: <20230710050324.3004120-4-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20230710050324.3004120-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>
Reviewed-by: Ahmad Fatoum <a.fatoum@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
next prev parent reply other threads:[~2023-07-10 5:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 5:03 [DistroKit] [PATCH v3 0/7] v7a_noneon maintenance Oleksij Rempel
2023-07-10 5:03 ` [DistroKit] [PATCH v3 1/7] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
2023-07-10 5:03 ` [DistroKit] [PATCH v3 2/7] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
2023-07-10 5:03 ` Oleksij Rempel [this message]
2023-07-10 5:03 ` [DistroKit] [PATCH v3 4/7] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
2023-07-10 5:03 ` [DistroKit] [PATCH v3 5/7] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
2023-07-10 5:03 ` [DistroKit] [PATCH v3 6/7] v7a_noneon: barebox-at91: enable DSA support Oleksij Rempel
2023-07-10 5:03 ` [DistroKit] [PATCH v3 7/7] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel
2023-07-10 8:27 ` [DistroKit] [PATCH v3 0/7] v7a_noneon maintenance 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=20230710050324.3004120-4-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=a.fatoum@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