Skip to contentSkip to conversation

efikamx: match machine descriptions with legacy

PATCH New Hector Oron 4 participants 7 messages Feb 20, 2012 – Apr 2, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

Rename machine descriptions to match legacy descriptions distributed by manufacturer BSP. This way distributions can do clean upgrades from userspace scripts which check for these values to differentiate platforms with single kernel binaries.

---
 arch/arm/mach-mx5/board-mx51_efikamx.c |    3 +--
 arch/arm/mach-mx5/board-mx51_efikasb.c |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
arch/arm/mach-mx5/board-mx51_efikamx.c +1 -2
index 3a5ed2d..fbfccc7 100644
@@ -283,8 +283,7 @@ static struct sys_timer mx51_efikamx_timer = {
 	.init = mx51_efikamx_timer_init,
 };
 
-MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
-	/* Maintainer: Amit Kucheria <[email protected]> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
 	.atag_offset = 0x100,
 	.map_io = mx51_map_io,
 	.init_early = imx51_init_early,
arch/arm/mach-mx5/board-mx51_efikasb.c +1 -1
index 4baf05c..dedbca5 100644
@@ -483,7 +483,7 @@ static struct sys_timer mx51_efikasb_timer = {
 	.init	= mx51_efikasb_timer_init,
 };
 
-MACHINE_START(MX51_EFIKASB, "Genesi Efika Smartbook")
+MACHINE_START(MX51_EFIKASB, "Genesi Efika MX (Smartbook)")
 	.atag_offset = 0x100,
 	.map_io = mx51_map_io,
 	.init_early = imx51_init_early,
Signature · 1 line
1.7.9
#1 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

Quoted 7 lines · Hector Oron

?Rename machine descriptions to match legacy descriptions distributed by ?manufacturer BSP. This way distributions can do clean upgrades from ?userspace scripts which check for these values to differentiate platforms ?with single kernel binaries.

This is likely to break flash-kernel used in debian/ubuntu/linaro I suspect. Can you fix that too?

Otherwise,

Quoted 40 lines

---
?arch/arm/mach-mx5/board-mx51_efikamx.c | ? ?3 +-- ?arch/arm/mach-mx5/board-mx51_efikasb.c | ? ?2 +- ?2 files changed, 2 insertions(+), 3 deletions(-)

arch/arm/mach-mx5/board-mx51_efikamx.c +1 -2
index 3a5ed2d..fbfccc7 100644
@@ -283,8 +283,7 @@ static struct sys_timer mx51_efikamx_timer = {
 ? ? ? ?.init = mx51_efikamx_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
- ? ? ? /* Maintainer: Amit Kucheria <[email protected]> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
arch/arm/mach-mx5/board-mx51_efikasb.c +1 -2
index 4baf05c..dedbca5 100644
@@ -483,7 +483,7 @@ static struct sys_timer mx51_efikasb_timer = {
 ? ? ? ?.init ? = mx51_efikasb_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKASB, "Genesi Efika Smartbook")
+MACHINE_START(MX51_EFIKASB, "Genesi Efika MX (Smartbook)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
--

1.7.9

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

Hello,

2012/2/23 Amit Kucheria <[email protected]>:

Quoted 7 lines · Hector Oron
Quoted 6 lines

?Rename machine descriptions to match legacy descriptions distributed by ?manufacturer BSP. This way distributions can do clean upgrades from ?userspace scripts which check for these values to differentiate platforms ?with single kernel binaries.

Quoted 5 lines
Quoted 2 lines

This is likely to break flash-kernel used in debian/ubuntu/linaro I suspect. Can you fix that too?

Surely, I can and I will do.

Quoted 2 lines

Otherwise,

Thanks

Quoted 40 lines
Quoted 40 lines

---
?arch/arm/mach-mx5/board-mx51_efikamx.c | ? ?3 +-- ?arch/arm/mach-mx5/board-mx51_efikasb.c | ? ?2 +- ?2 files changed, 2 insertions(+), 3 deletions(-)

arch/arm/mach-mx5/board-mx51_efikamx.c +1 -2
index 3a5ed2d..fbfccc7 100644
@@ -283,8 +283,7 @@ static struct sys_timer mx51_efikamx_timer = {
 ? ? ? ?.init = mx51_efikamx_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
- ? ? ? /* Maintainer: Amit Kucheria <[email protected]> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
arch/arm/mach-mx5/board-mx51_efikasb.c +1 -2
index 4baf05c..dedbca5 100644
@@ -483,7 +483,7 @@ static struct sys_timer mx51_efikasb_timer = {
 ? ? ? ?.init ? = mx51_efikasb_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKASB, "Genesi Efika Smartbook")
+MACHINE_START(MX51_EFIKASB, "Genesi Efika MX (Smartbook)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
--

1.7.9

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 1 line
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
#3 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

Quoted 10 lines · Hector Oron

Hello,

2012/2/23 Amit Kucheria <[email protected]>:

Quoted 7 lines · Hector Oron
Quoted 6 lines

?Rename machine descriptions to match legacy descriptions distributed by ?manufacturer BSP. This way distributions can do clean upgrades from ?userspace scripts which check for these values to differentiate platforms ?with single kernel binaries.

Quoted 10 lines
Quoted 5 lines
Quoted 2 lines

This is likely to break flash-kernel used in debian/ubuntu/linaro I suspect. Can you fix that too?

Surely, I can and I will do.

Quoted 2 lines

Otherwise,

Thanks, Amit.

The patch is predicated on two things. Firstly that it unifies behavior and the board identification across both BSP kernels and mainline kernels, which is not up for argument on which is more "correct" (vendor defines this, it is not a random freeform string of the pusher's choosing, more importantly it is something at least 2 userspace tools use as input to seek board type and therefore is under some restriction to change).

Secondly, upstream flash-kernel never worked on Debian or Ubuntu anyway (patches sent upstream were needlessly rewritten to the point that they actually simply did not work to produce a bootable kernel image set, and pushed to Debian therefore breaking any chance of Debian or Ubuntu supporting the board) and Linaro don't support the EfikaMX with their MX5 kernels.

So this breaks nobody currently, but we actually want to get this stuff done right upstream.

Signature · 2 lines
Matt Sealey <[email protected]>
Product Development Analyst, Genesi USA, Inc.
#4 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

In reply to Hector Oron

Hello,

2012/2/21 Hector Oron <[email protected]>:

Quoted 40 lines

?Rename machine descriptions to match legacy descriptions distributed by ?manufacturer BSP. This way distributions can do clean upgrades from ?userspace scripts which check for these values to differentiate platforms ?with single kernel binaries.

---
?arch/arm/mach-mx5/board-mx51_efikamx.c | ? ?3 +-- ?arch/arm/mach-mx5/board-mx51_efikasb.c | ? ?2 +- ?2 files changed, 2 insertions(+), 3 deletions(-)

arch/arm/mach-mx5/board-mx51_efikamx.c +1 -2
index 3a5ed2d..fbfccc7 100644
@@ -283,8 +283,7 @@ static struct sys_timer mx51_efikamx_timer = {
 ? ? ? ?.init = mx51_efikamx_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
- ? ? ? /* Maintainer: Amit Kucheria <[email protected]> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
arch/arm/mach-mx5/board-mx51_efikasb.c +1 -2
index 4baf05c..dedbca5 100644
@@ -483,7 +483,7 @@ static struct sys_timer mx51_efikasb_timer = {
 ? ? ? ?.init ? = mx51_efikasb_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKASB, "Genesi Efika Smartbook")
+MACHINE_START(MX51_EFIKASB, "Genesi Efika MX (Smartbook)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
--
Quoted 2 lines

1.7.9

Ping!
I dont see the patch being applied. Is there any problem with it?

Cheers,

Signature · 1 line
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
#5 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

Sending as I forgot to CC Sascha

2012/3/11 Hector Oron <[email protected]>:

Quoted 52 lines

Hello,

2012/2/21 Hector Oron <[email protected]>:

Quoted 40 lines

?Rename machine descriptions to match legacy descriptions distributed by ?manufacturer BSP. This way distributions can do clean upgrades from ?userspace scripts which check for these values to differentiate platforms ?with single kernel binaries.

---
?arch/arm/mach-mx5/board-mx51_efikamx.c | ? ?3 +-- ?arch/arm/mach-mx5/board-mx51_efikasb.c | ? ?2 +- ?2 files changed, 2 insertions(+), 3 deletions(-)

arch/arm/mach-mx5/board-mx51_efikamx.c +1 -2
index 3a5ed2d..fbfccc7 100644
@@ -283,8 +283,7 @@ static struct sys_timer mx51_efikamx_timer = {
 ? ? ? ?.init = mx51_efikamx_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
- ? ? ? /* Maintainer: Amit Kucheria <[email protected]> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
arch/arm/mach-mx5/board-mx51_efikasb.c +1 -2
index 4baf05c..dedbca5 100644
@@ -483,7 +483,7 @@ static struct sys_timer mx51_efikasb_timer = {
 ? ? ? ?.init ? = mx51_efikasb_timer_init,
 ?};
 
-MACHINE_START(MX51_EFIKASB, "Genesi Efika Smartbook")
+MACHINE_START(MX51_EFIKASB, "Genesi Efika MX (Smartbook)")
 ? ? ? ?.atag_offset = 0x100,
 ? ? ? ?.map_io = mx51_map_io,
 ? ? ? ?.init_early = imx51_init_early,
--
Quoted 2 lines

1.7.9

Ping!
I dont see the patch being applied. Is there any problem with it?

Cheers,
--
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.

Signature · 1 line
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
Applied
#6 lore raw

PATCH 1/1 efikamx: match machine descriptions with legacy

In reply to Hector Oron
Quoted 7 lines · Hector Oron

Rename machine descriptions to match legacy descriptions distributed by manufacturer BSP. This way distributions can do clean upgrades from userspace scripts which check for these values to differentiate platforms with single kernel binaries.

Applied, thanks

Sascha

Quoted 41 lines
---
 arch/arm/mach-mx5/board-mx51_efikamx.c |    3 +--
 arch/arm/mach-mx5/board-mx51_efikasb.c |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
arch/arm/mach-mx5/board-mx51_efikamx.c +1 -2
index 3a5ed2d..fbfccc7 100644
@@ -283,8 +283,7 @@ static struct sys_timer mx51_efikamx_timer = {
 	.init = mx51_efikamx_timer_init,
 };
 
-MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
-	/* Maintainer: Amit Kucheria <[email protected]> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
 	.atag_offset = 0x100,
 	.map_io = mx51_map_io,
 	.init_early = imx51_init_early,
arch/arm/mach-mx5/board-mx51_efikasb.c +1 -1
index 4baf05c..dedbca5 100644
@@ -483,7 +483,7 @@ static struct sys_timer mx51_efikasb_timer = {
 	.init	= mx51_efikasb_timer_init,
 };
 
-MACHINE_START(MX51_EFIKASB, "Genesi Efika Smartbook")
+MACHINE_START(MX51_EFIKASB, "Genesi Efika MX (Smartbook)")
 	.atag_offset = 0x100,
 	.map_io = mx51_map_io,
 	.init_early = imx51_init_early,
Signature · 7 lines
1.7.9


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |