linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot
@ 2025-11-24  9:08 Daniel Schultz
  2025-11-24  9:08 ` [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: " Daniel Schultz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Daniel Schultz @ 2025-11-24  9:08 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
	devicetree, linux-kernel
  Cc: upstream, Daniel Schultz

Add the "bootph-all" property to cpsw_mac_syscon.

This fuse region contains the internal MAC address. Without this
syscon node enabled, this interface will get a random MAC during
network boot. This is problematic because the AM62x network
boot is using BOOTP protocol for some binaries and this protocol
does not support dynamic lease expiration. Therefore, the DHCP
server can run out of free IP addresses.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
Changes in v2:
  Moved changes from k2-am62-main.dsti to k3-am62-phycore-som.dtsi

 arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
index eeca643fedbe..beeac481e683 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
@@ -219,6 +219,10 @@ &cpsw_port1 {
 	bootph-all;
 };
 
+&cpsw_mac_syscon {
+	bootph-all;
+};
+
 &cpsw3g_mdio {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_mdio1_pins_default>;
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: Enable cpsw_mac_syscon in U-Boot
  2025-11-24  9:08 [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot Daniel Schultz
@ 2025-11-24  9:08 ` Daniel Schultz
  2025-11-27 13:29   ` [Upstream] " Wadim Egorov
  2025-11-27 13:28 ` [Upstream] [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: " Wadim Egorov
  2025-12-16 11:26 ` Nishanth Menon
  2 siblings, 1 reply; 5+ messages in thread
From: Daniel Schultz @ 2025-11-24  9:08 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
	devicetree, linux-kernel
  Cc: upstream, Daniel Schultz

Add the "bootph-all" property to cpsw_mac_syscon.

This fuse region contains the internal MAC address. Without this
syscon node enabled, this interface will get a random MAC during
network boot. This is problematic because the AM62Ax network
boot is using BOOTP protocol for some binaries and this protocol
does not support dynamic lease expiration. Therefore, the DHCP
server can run out of free IP addresses.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
Changes in v2:
  Moved changes from k2-am62a-main.dsti to k3-am62a-phycore-som.dtsi

 arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
index b3d012a5a26a..7f00576a4bd2 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
@@ -197,6 +197,11 @@ &cpsw_port1 {
 	bootph-all;
 };
 
+
+&cpsw_mac_syscon {
+	bootph-all;
+};
+
 &cpsw3g_mdio {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_mdio1_pins_default>;
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Upstream] [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot
  2025-11-24  9:08 [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot Daniel Schultz
  2025-11-24  9:08 ` [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: " Daniel Schultz
@ 2025-11-27 13:28 ` Wadim Egorov
  2025-12-16 11:26 ` Nishanth Menon
  2 siblings, 0 replies; 5+ messages in thread
From: Wadim Egorov @ 2025-11-27 13:28 UTC (permalink / raw)
  To: Daniel Schultz, nm, vigneshr, kristo, robh, krzk+dt, conor+dt,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: upstream



On 11/24/25 11:08 AM, Daniel Schultz wrote:
> Add the "bootph-all" property to cpsw_mac_syscon.
> 
> This fuse region contains the internal MAC address. Without this
> syscon node enabled, this interface will get a random MAC during
> network boot. This is problematic because the AM62x network
> boot is using BOOTP protocol for some binaries and this protocol
> does not support dynamic lease expiration. Therefore, the DHCP
> server can run out of free IP addresses.
> 
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>

Reviewed-by: Wadim Egorov <w.egorov@phytec.de>

> ---
> Changes in v2:
>    Moved changes from k2-am62-main.dsti to k3-am62-phycore-som.dtsi
> 
>   arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
> index eeca643fedbe..beeac481e683 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
> @@ -219,6 +219,10 @@ &cpsw_port1 {
>   	bootph-all;
>   };
>   
> +&cpsw_mac_syscon {
> +	bootph-all;
> +};


> +
>   &cpsw3g_mdio {
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&main_mdio1_pins_default>;



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Upstream] [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: Enable cpsw_mac_syscon in U-Boot
  2025-11-24  9:08 ` [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: " Daniel Schultz
@ 2025-11-27 13:29   ` Wadim Egorov
  0 siblings, 0 replies; 5+ messages in thread
From: Wadim Egorov @ 2025-11-27 13:29 UTC (permalink / raw)
  To: Daniel Schultz, nm, vigneshr, kristo, robh, krzk+dt, conor+dt,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: upstream



On 11/24/25 11:08 AM, Daniel Schultz wrote:
> Add the "bootph-all" property to cpsw_mac_syscon.
> 
> This fuse region contains the internal MAC address. Without this
> syscon node enabled, this interface will get a random MAC during
> network boot. This is problematic because the AM62Ax network
> boot is using BOOTP protocol for some binaries and this protocol
> does not support dynamic lease expiration. Therefore, the DHCP
> server can run out of free IP addresses.
> 
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>

Reviewed-by: Wadim Egorov <w.egorov@phytec.de>

> ---
> Changes in v2:
>    Moved changes from k2-am62a-main.dsti to k3-am62a-phycore-som.dtsi
> 
>   arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
> index b3d012a5a26a..7f00576a4bd2 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
> @@ -197,6 +197,11 @@ &cpsw_port1 {
>   	bootph-all;
>   };
>   
> +
> +&cpsw_mac_syscon {
> +	bootph-all;
> +};
> +
>   &cpsw3g_mdio {
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&main_mdio1_pins_default>;



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot
  2025-11-24  9:08 [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot Daniel Schultz
  2025-11-24  9:08 ` [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: " Daniel Schultz
  2025-11-27 13:28 ` [Upstream] [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: " Wadim Egorov
@ 2025-12-16 11:26 ` Nishanth Menon
  2 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2025-12-16 11:26 UTC (permalink / raw)
  To: vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
	devicetree, linux-kernel, Daniel Schultz
  Cc: Nishanth Menon, upstream

Hi Daniel Schultz,

On Mon, 24 Nov 2025 01:08:41 -0800, Daniel Schultz wrote:
> Add the "bootph-all" property to cpsw_mac_syscon.
> 
> This fuse region contains the internal MAC address. Without this
> syscon node enabled, this interface will get a random MAC during
> network boot. This is problematic because the AM62x network
> boot is using BOOTP protocol for some binaries and this protocol
> does not support dynamic lease expiration. Therefore, the DHCP
> server can run out of free IP addresses.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1] with cosmetic
fixups. Thank you!

[1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot
      commit: d468b7b8a6fe3d21df5a186d04f9d6124ef66d4d
[2/2] arm64: dts: ti: k3-am62a-phycore-som: Enable cpsw_mac_syscon in U-Boot
      commit: a9bd8d35a88e0bf72ebf5a803eb4c7f8e4731e3e

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-16 11:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-24  9:08 [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: Enable cpsw_mac_syscon in U-Boot Daniel Schultz
2025-11-24  9:08 ` [PATCH v2 2/2] arm64: dts: ti: k3-am62a-phycore-som: " Daniel Schultz
2025-11-27 13:29   ` [Upstream] " Wadim Egorov
2025-11-27 13:28 ` [Upstream] [PATCH v2 1/2] arm64: dts: ti: k3-am62-phycore-som: " Wadim Egorov
2025-12-16 11:26 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).