* [PATCH] arm: stemmy: Recognize legacy Janice and Codina machine IDs
@ 2026-11-23 21:17 Linus Walleij
2026-11-27 18:02 ` Stephan Gerhold
0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2026-11-23 21:17 UTC (permalink / raw)
To: u-boot, Tom Rini, Stefan Hansson, Stephan Gerhold; +Cc: Linus Walleij
The stock Samsung secondary bootloader on Janice
passes machine ID 3294, Codina has similarly ID 3297.
Some of the secondary IDs are already supported but apparently
I missed some.
Fixes: 5d50adae908d ("arm: u8500: Package Stemmy device trees in FIT")
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
board/ste/stemmy/stemmy.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/ste/stemmy/stemmy.c b/board/ste/stemmy/stemmy.c
index 8526deeb29bc..49b92ce632fe 100644
--- a/board/ste/stemmy/stemmy.c
+++ b/board/ste/stemmy/stemmy.c
@@ -70,6 +70,7 @@ int board_fit_config_name_match(const char *name)
const char *dt_name;
switch (fw_mach) {
+ case 3294:
case 5000:
dt_name = "ste-ux500-samsung-janice";
break;
@@ -77,6 +78,7 @@ int board_fit_config_name_match(const char *name)
case 5002:
dt_name = "ste-ux500-samsung-gavini";
break;
+ case 3297:
case 5003:
switch (fw_board_id_get()) {
case 0x101:
---
base-commit: c1958b5f6cce03956d309ce422b5d9f819955d4a
change-id: 20261123-ux500-secondary-bootloader-ids-14f6d90c9911
Best regards,
--
Linus Walleij <linusw@kernel.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: stemmy: Recognize legacy Janice and Codina machine IDs
2026-11-23 21:17 [PATCH] arm: stemmy: Recognize legacy Janice and Codina machine IDs Linus Walleij
@ 2026-11-27 18:02 ` Stephan Gerhold
2026-11-28 22:29 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Stephan Gerhold @ 2026-11-27 18:02 UTC (permalink / raw)
To: Linus Walleij; +Cc: u-boot, Tom Rini, Stefan Hansson
On Mon, Nov 23, 2026 at 10:17:42PM +0100, Linus Walleij wrote:
> The stock Samsung secondary bootloader on Janice
> passes machine ID 3294, Codina has similarly ID 3297.
>
> Some of the secondary IDs are already supported but apparently
> I missed some.
>
> Fixes: 5d50adae908d ("arm: u8500: Package Stemmy device trees in FIT")
> Signed-off-by: Linus Walleij <linusw@kernel.org>
I can't find those in the downstream Linux kernel sources I have
access to, but this could be some old firmware I guess?
Anyway, doesn't hurt to define them additionally:
Acked-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Thanks,
Stephan
> ---
> board/ste/stemmy/stemmy.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/board/ste/stemmy/stemmy.c b/board/ste/stemmy/stemmy.c
> index 8526deeb29bc..49b92ce632fe 100644
> --- a/board/ste/stemmy/stemmy.c
> +++ b/board/ste/stemmy/stemmy.c
> @@ -70,6 +70,7 @@ int board_fit_config_name_match(const char *name)
> const char *dt_name;
>
> switch (fw_mach) {
> + case 3294:
> case 5000:
> dt_name = "ste-ux500-samsung-janice";
> break;
> @@ -77,6 +78,7 @@ int board_fit_config_name_match(const char *name)
> case 5002:
> dt_name = "ste-ux500-samsung-gavini";
> break;
> + case 3297:
> case 5003:
> switch (fw_board_id_get()) {
> case 0x101:
>
> ---
> base-commit: c1958b5f6cce03956d309ce422b5d9f819955d4a
> change-id: 20261123-ux500-secondary-bootloader-ids-14f6d90c9911
>
> Best regards,
> --
> Linus Walleij <linusw@kernel.org>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: stemmy: Recognize legacy Janice and Codina machine IDs
2026-11-27 18:02 ` Stephan Gerhold
@ 2026-11-28 22:29 ` Linus Walleij
0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2026-11-28 22:29 UTC (permalink / raw)
To: Stephan Gerhold; +Cc: u-boot, Tom Rini, Stefan Hansson
On Fri, Nov 27, 2026 at 7:02 PM Stephan Gerhold
<stephan.gerhold@linaro.org> wrote:
> On Mon, Nov 23, 2026 at 10:17:42PM +0100, Linus Walleij wrote:
> > The stock Samsung secondary bootloader on Janice
> > passes machine ID 3294, Codina has similarly ID 3297.
> >
> > Some of the secondary IDs are already supported but apparently
> > I missed some.
> >
> > Fixes: 5d50adae908d ("arm: u8500: Package Stemmy device trees in FIT")
> > Signed-off-by: Linus Walleij <linusw@kernel.org>
>
> I can't find those in the downstream Linux kernel sources I have
> access to, but this could be some old firmware I guess?
All vendor kernels I have are imported into this git:
https://github.com/linusw/u8500
I requested some more from Samsung but sometimes they
forget to answer. Or get a panic because I ask for super old stuff,
dunno which...
I thought the "sec" variants are used when you boot the
secondary kernel since the devices have two kernels,
a primary and secondary? But I don't know if that makes
sense...
> Anyway, doesn't hurt to define them additionally:
>
> Acked-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Thanks!
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-28 22:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 21:17 [PATCH] arm: stemmy: Recognize legacy Janice and Codina machine IDs Linus Walleij
2026-11-27 18:02 ` Stephan Gerhold
2026-11-28 22:29 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.