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 v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support
Date: Thu, 6 Jul 2023 14:50:53 +0200	[thread overview]
Message-ID: <4d7ae788-6e9c-0e4f-bf8c-28e99a5745b4@pengutronix.de> (raw)
In-Reply-To: <20230706114434.1751248-3-o.rempel@pengutronix.de>

Hello Oleksij,

On 06.07.23 13:44, Oleksij Rempel wrote:
> Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board
> (DM320114) is an MPU-based platform for evaluating Ethernet Switch and
> PHY products. Compatible Ethernet Switch and PHY Evaluation Boards
> connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector.
> The Microchip Technology SAMA5D3 EDS Board is not intended for
> stand-alone use and has no Ethernet capabilities when no daughter board
> or an USB Ethernet adapter is connected.

[snip]

> diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
> index 584bfae..06a2d96 100644
> --- a/configs/platform-v7a_noneon/barebox-at91.config
> +++ b/configs/platform-v7a_noneon/barebox-at91.config

Unrelated: barebox NAND driver is disabled, but may be useful to enable
it in the defconfig given that the EVB has NAND.

> diff --git a/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
> new file mode 100644
> index 0000000..54ecbf7
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
> @@ -0,0 +1,5 @@
> +## SECTION=blspec
> +
> +config BLSPEC_SAMA5D3_EDS
> +	tristate
> +	prompt "/loader/entries/sama5d3-eds.conf bootloader spec entry"
> diff --git a/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in

Please see commit b7a4fe185852 ("v7a: blspec: convert to ptxdist default entries").
You may be able to drop your blspec rules and files and just have the
files automatically generated.

>  BAREBOX_AT91_IMAGES := \
>          images/barebox-microchip-ksz9477-evb.img \
> -        images/barebox-microchip-ksz9477-evb-xload-mmc.img
> +        images/barebox-microchip-ksz9477-evb-xload-mmc.img \
> +        images/barebox-microchip-sama5d3-eds.img \
> +        images/barebox-microchip-sama5d3-eds-xload-mmc.img

This is out of scope for your patch, but just so you know, new versions of
the PTXdist barebox rule parse the barebox-flash-images file, so you
don't need to hardcode names. Unfortunately, AT91 is not enabled
for CONFIG_ARCH_MULTIARCH, but once that's done we could have a single
bootloader for the v7a_nonneon boards (like we already do for v8a).

Cheers,
Ahmad 

-- 
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-06 12:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
2023-07-06 12:22   ` Ahmad Fatoum
2023-07-06 11:44 ` [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
2023-07-06 12:50   ` Ahmad Fatoum [this message]
2023-07-07 10:26     ` Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
2023-07-06 12:51   ` Ahmad Fatoum
2023-07-07 10:25     ` Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel
2023-07-06 12:52   ` Ahmad Fatoum
2023-07-06 12:20 ` [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Ahmad Fatoum

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=4d7ae788-6e9c-0e4f-bf8c-28e99a5745b4@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