[PATCH 2/4] ARM: at91: sama5d3_xplained: drop invalid hostname

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Nov 6 03:13:48 PST 2026


From: Ahmad Fatoum <a.fatoum at barebox.org>

Host names can't contain underscores, so barebox complains at every
boot:

  WARNING: Hostname is not valid, please fix it

Without the override, the hostname is derived from the
"atmel,sama5d3-xplained" compatible instead, which is valid, so let's
drop it.

The net boot entry now looks for *-sama5d3-xplained instead of
*-sama5d3_xplained. This isn't worth a migration guide entry, as
barebox has been warning about the old name since v2024.05.0.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 arch/arm/boards/sama5d3_xplained/board.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boards/sama5d3_xplained/board.c b/arch/arm/boards/sama5d3_xplained/board.c
index 4d908e6b9f62..c6c1105e5eb5 100644
--- a/arch/arm/boards/sama5d3_xplained/board.c
+++ b/arch/arm/boards/sama5d3_xplained/board.c
@@ -39,8 +39,6 @@ static int sama5d3_xplained_probe(struct device *dev)
 {
 	struct clk *clk;
 
-	barebox_set_hostname("sama5d3_xplained");
-
 	if (IS_ENABLED(CONFIG_DEFAULT_ENVIRONMENT_GENERIC))
 		defaultenv_append_directory(defaultenv_sama5d3_xplained);
 
-- 
2.47.3




More information about the barebox mailing list