mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Cc: "Søren Andersen" <san@skov.dk>
Subject: [PATCH] ARM: boards: skov-imx6: fix device tree path of state node
Date: Tue, 30 Jun 2026 14:47:32 +0200	[thread overview]
Message-ID: <20260630124732.709291-1-u.oelmann@pengutronix.de> (raw)

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




             reply	other threads:[~2026-06-30 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30 12:47 Ulrich Ölmann [this message]
2026-07-02  8:38 ` Sascha Hauer

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=20260630124732.709291-1-u.oelmann@pengutronix.de \
    --to=u.oelmann@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=san@skov.dk \
    /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