* [PATCH] board: amlogic: odroid-n2: remove amlogic prefix from fdtdir path
@ 2025-01-10 4:03 Christian Hewitt
2025-01-10 4:12 ` Christian Hewitt
0 siblings, 1 reply; 2+ messages in thread
From: Christian Hewitt @ 2025-01-10 4:03 UTC (permalink / raw)
To: Neil Armstrong, Tom Rini, u-boot, u-boot-amlogic, linux-amlogic
Commit 834e7c8136c6 ("dts: meson-g12a: Switch to using upstream DT")
changed Amlogic configs to contain the default /amlogic device-tree
path prefix, e.g. for odroid-n2:
CONFIG_DEFAULT_DEVICE_TREE="amlogic/meson-g12b-odroid-n2"
The board files also prefix amlogic when using fdtdir resulting in
an /amlogic/amlogic/meson-g12b-odroid-n2.dtb path which is invalid
with most distro packaging. Drop the prefix here to align with the
board configs. This resolves fdtdir boot on Odroid N2/C4/HC4.
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
board/amlogic/odroid-n2/odroid-n2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/amlogic/odroid-n2/odroid-n2.c b/board/amlogic/odroid-n2/odroid-n2.c
index ae953d0e4ba..e98580631ec 100644
--- a/board/amlogic/odroid-n2/odroid-n2.c
+++ b/board/amlogic/odroid-n2/odroid-n2.c
@@ -62,7 +62,7 @@ static void odroid_set_fdtfile(char *soc, char *variant)
{
char s[128];
- snprintf(s, sizeof(s), "amlogic/meson-%s-odroid-%s.dtb", soc, variant);
+ snprintf(s, sizeof(s), "meson-%s-odroid-%s.dtb", soc, variant);
env_set("fdtfile", s);
}
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] board: amlogic: odroid-n2: remove amlogic prefix from fdtdir path
2025-01-10 4:03 [PATCH] board: amlogic: odroid-n2: remove amlogic prefix from fdtdir path Christian Hewitt
@ 2025-01-10 4:12 ` Christian Hewitt
0 siblings, 0 replies; 2+ messages in thread
From: Christian Hewitt @ 2025-01-10 4:12 UTC (permalink / raw)
To: Neil Armstrong, Tom Rini, u-boot, u-boot-amlogic, linux-amlogic
> On 10 Jan 2025, at 8:03 am, Christian Hewitt <christianshewitt@gmail.com> wrote:
>
> Commit 834e7c8136c6 ("dts: meson-g12a: Switch to using upstream DT")
> changed Amlogic configs to contain the default /amlogic device-tree
> path prefix, e.g. for odroid-n2:
>
> CONFIG_DEFAULT_DEVICE_TREE="amlogic/meson-g12b-odroid-n2"
>
> The board files also prefix amlogic when using fdtdir resulting in
> an /amlogic/amlogic/meson-g12b-odroid-n2.dtb path which is invalid
> with most distro packaging. Drop the prefix here to align with the
> board configs. This resolves fdtdir boot on Odroid N2/C4/HC4.
>
> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Please disregard this patch. I’ve spotted the issue in our distro
packaging and this is not required. Apologies for the noise.
CH.
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-10 4:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-10 4:03 [PATCH] board: amlogic: odroid-n2: remove amlogic prefix from fdtdir path Christian Hewitt
2025-01-10 4:12 ` Christian Hewitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome