DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Oleksij Rempel <o.rempel@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH v2 3/7] v7a_noneon: blspec: convert to ptxdist default entries
Date: Fri, 7 Jul 2023 15:23:34 +0200	[thread overview]
Message-ID: <b6e9a8bc-bf27-6b56-b566-e8caa0167ce2@pengutronix.de> (raw)
In-Reply-To: <20230707110818.3510860-4-o.rempel@pengutronix.de>

On 07.07.23 13:08, Oleksij Rempel wrote:
> 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

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2023-07-07 13:23 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 ` [DistroKit] [PATCH v2 3/7] v7a_noneon: blspec: convert to ptxdist default entries Oleksij Rempel
2023-07-07 13:23   ` Ahmad Fatoum [this message]
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=b6e9a8bc-bf27-6b56-b566-e8caa0167ce2@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=o.rempel@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