mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: boards: skov-imx6: fix device tree path of state node
@ 2026-06-30 12:47 Ulrich Ölmann
  2026-07-02  8:38 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Ölmann @ 2026-06-30 12:47 UTC (permalink / raw)
  To: Barebox List; +Cc: Søren Andersen

The reference broke in commit [1] and led to the following error message during
boot while fixing up the kernel devicetree:

  Loading ARM Linux zImage '/mnt/nand0.firmware.ubi.system0//boot/zImage'
  Loading devicetree from '/mnt/nand0.firmware.ubi.system0//boot/imx6dl-skov-revc-lt2.dtb'
  ERROR: skov-imx6 machine: Node /state/ethaddr/eth2 defining the state variable not found.

[1] c00df6a4b552 ("ARM: dts: Fix dtc warnings in state nodes")
---
 arch/arm/boards/skov-imx6/board.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/skov-imx6/board.c b/arch/arm/boards/skov-imx6/board.c
index 164833568ab9..8c837b8a8fb9 100644
--- a/arch/arm/boards/skov-imx6/board.c
+++ b/arch/arm/boards/skov-imx6/board.c
@@ -384,7 +384,7 @@ static int skov_imx6_switch_port(struct device_node *root, const char *path)
 
 	ret = eth2_of_fixup_node_individually(root, buf, "eth0",
 					      "state.ethaddr.eth2",
-					      "/state/ethaddr/eth2");
+					      "/state/ethaddr/eth2@1e");
 	return ret;
 }
 
@@ -563,7 +563,7 @@ static void skov_init_board(const struct board_description *variant)
 
 static int skov_set_switch_lan2_mac(struct skov_imx6_priv *priv)
 {
-	const char *state = "/state/ethaddr/eth2";
+	const char *state = "/state/ethaddr/eth2@1e";
 	struct device_node *lan2_np;
 	u8 ethaddr[ETH_ALEN];
 	int ret;
-- 
2.47.3




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

end of thread, other threads:[~2026-07-02  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 12:47 [PATCH] ARM: boards: skov-imx6: fix device tree path of state node Ulrich Ölmann
2026-07-02  8:38 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox