arm: stemmy: Recognize legacy Janice and Codina machine IDs
PATCH 1/1 arm: stemmy: Recognize legacy Janice and Codina machine IDs
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.
--- board/ste/stemmy/stemmy.c | 2 ++ 1 file changed, 2 insertions(+)
board/ste/stemmy/stemmy.c +2 -0
@@ -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,
Signature · 1 line
Linus Walleij <[email protected]>
Quoted 8 lines · 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 <[email protected]>
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:
Thanks,
Stephan
Quoted 33 lines
--- board/ste/stemmy/stemmy.c | 2 ++ 1 file changed, 2 insertions(+)board/ste/stemmy/stemmy.c +2
-1@@ -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-14f6d90c9911Best regards,
Signature · 1 line
Linus Walleij <[email protected]>
Quoted 5 lines · Stephan Gerhold
Quoted 3 lines · Linus Walleij
The stock Samsung secondary bootloader on Janice passes machine ID 3294, Codina has similarly ID 3297.
Quoted 8 lines
Quoted 5 lines
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 <[email protected]>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...
Quoted 3 lines
Anyway, doesn't hurt to define them additionally:
Acked-by Stephan Gerhold <[email protected]>
Thanks!
Linus Walleij