* [PATCH] efikamx: match machine descriptions with legacy
@ 2012-02-20 23:09 Hector Oron
2012-02-23 14:04 ` Amit Kucheria
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Hector Oron @ 2012-02-20 23:09 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Hector Oron <hector.oron@gmail.com>
Acked-by: Matt Sealey <matt@genesi-usa.com>
---
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(-)
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
index 3a5ed2d..fbfccc7 100644
--- a/arch/arm/mach-mx5/board-mx51_efikamx.c
+++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
@@ -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 <amit.kucheria@linaro.org> */
+MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
.atag_offset = 0x100,
.map_io = mx51_map_io,
.init_early = imx51_init_early,
diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c
index 4baf05c..dedbca5 100644
--- a/arch/arm/mach-mx5/board-mx51_efikasb.c
+++ b/arch/arm/mach-mx5/board-mx51_efikasb.c
@@ -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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] efikamx: match machine descriptions with legacy
2012-02-20 23:09 [PATCH] efikamx: match machine descriptions with legacy Hector Oron
@ 2012-02-23 14:04 ` Amit Kucheria
2012-02-23 16:49 ` Hector Oron
2012-03-11 12:33 ` Hector Oron
2012-04-02 9:21 ` Sascha Hauer
2 siblings, 1 reply; 7+ messages in thread
From: Amit Kucheria @ 2012-02-23 14:04 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Feb 21, 2012 at 1:09 AM, Hector Oron <hector.oron@gmail.com> wrote:
> ?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.
>
> Signed-off-by: Hector Oron <hector.oron@gmail.com>
> Acked-by: Matt Sealey <matt@genesi-usa.com>
This is likely to break flash-kernel used in debian/ubuntu/linaro I
suspect. Can you fix that too?
Otherwise,
Acked-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---
> ?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(-)
>
> diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
> index 3a5ed2d..fbfccc7 100644
> --- a/arch/arm/mach-mx5/board-mx51_efikamx.c
> +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
> @@ -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 <amit.kucheria@linaro.org> */
> +MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
> ? ? ? ?.atag_offset = 0x100,
> ? ? ? ?.map_io = mx51_map_io,
> ? ? ? ?.init_early = imx51_init_early,
> diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c
> index 4baf05c..dedbca5 100644
> --- a/arch/arm/mach-mx5/board-mx51_efikasb.c
> +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c
> @@ -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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] efikamx: match machine descriptions with legacy
2012-02-23 14:04 ` Amit Kucheria
@ 2012-02-23 16:49 ` Hector Oron
2012-03-01 16:41 ` Matt Sealey
0 siblings, 1 reply; 7+ messages in thread
From: Hector Oron @ 2012-02-23 16:49 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
2012/2/23 Amit Kucheria <amit.kucheria@linaro.org>:
> On Tue, Feb 21, 2012 at 1:09 AM, Hector Oron <hector.oron@gmail.com> wrote:
>> ?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.
>>
>> Signed-off-by: Hector Oron <hector.oron@gmail.com>
>> Acked-by: Matt Sealey <matt@genesi-usa.com>
> 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.
> Otherwise,
> Acked-by: Amit Kucheria <amit.kucheria@linaro.org>
Thanks
>> ---
>> ?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(-)
>>
>> diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
>> index 3a5ed2d..fbfccc7 100644
>> --- a/arch/arm/mach-mx5/board-mx51_efikamx.c
>> +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
>> @@ -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 <amit.kucheria@linaro.org> */
>> +MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
>> ? ? ? ?.atag_offset = 0x100,
>> ? ? ? ?.map_io = mx51_map_io,
>> ? ? ? ?.init_early = imx51_init_early,
>> diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c
>> index 4baf05c..dedbca5 100644
>> --- a/arch/arm/mach-mx5/board-mx51_efikasb.c
>> +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c
>> @@ -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
--
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] efikamx: match machine descriptions with legacy
2012-02-23 16:49 ` Hector Oron
@ 2012-03-01 16:41 ` Matt Sealey
0 siblings, 0 replies; 7+ messages in thread
From: Matt Sealey @ 2012-03-01 16:41 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Feb 23, 2012 at 10:49 AM, Hector Oron <hector.oron@gmail.com> wrote:
> Hello,
>
> 2012/2/23 Amit Kucheria <amit.kucheria@linaro.org>:
>> On Tue, Feb 21, 2012 at 1:09 AM, Hector Oron <hector.oron@gmail.com> wrote:
>
>>> ?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.
>>>
>>> Signed-off-by: Hector Oron <hector.oron@gmail.com>
>>> Acked-by: Matt Sealey <matt@genesi-usa.com>
>
>> 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.
>
>> Otherwise,
>> Acked-by: Amit Kucheria <amit.kucheria@linaro.org>
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.
--
Matt Sealey <matt@genesi-usa.com>
Product Development Analyst, Genesi USA, Inc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] efikamx: match machine descriptions with legacy
2012-02-20 23:09 [PATCH] efikamx: match machine descriptions with legacy Hector Oron
2012-02-23 14:04 ` Amit Kucheria
@ 2012-03-11 12:33 ` Hector Oron
2012-03-13 18:05 ` Hector Oron
2012-04-02 9:21 ` Sascha Hauer
2 siblings, 1 reply; 7+ messages in thread
From: Hector Oron @ 2012-03-11 12:33 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
2012/2/21 Hector Oron <hector.oron@gmail.com>:
> ?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.
>
> Signed-off-by: Hector Oron <hector.oron@gmail.com>
> Acked-by: Matt Sealey <matt@genesi-usa.com>
> ---
> ?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(-)
>
> diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
> index 3a5ed2d..fbfccc7 100644
> --- a/arch/arm/mach-mx5/board-mx51_efikamx.c
> +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
> @@ -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 <amit.kucheria@linaro.org> */
> +MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
> ? ? ? ?.atag_offset = 0x100,
> ? ? ? ?.map_io = mx51_map_io,
> ? ? ? ?.init_early = imx51_init_early,
> diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c
> index 4baf05c..dedbca5 100644
> --- a/arch/arm/mach-mx5/board-mx51_efikasb.c
> +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c
> @@ -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
>
Ping!
I dont see the patch being applied. Is there any problem with it?
Cheers,
--
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] efikamx: match machine descriptions with legacy
2012-03-11 12:33 ` Hector Oron
@ 2012-03-13 18:05 ` Hector Oron
0 siblings, 0 replies; 7+ messages in thread
From: Hector Oron @ 2012-03-13 18:05 UTC (permalink / raw)
To: linux-arm-kernel
Sending as I forgot to CC Sascha
2012/3/11 Hector Oron <hector.oron@gmail.com>:
> Hello,
>
> 2012/2/21 Hector Oron <hector.oron@gmail.com>:
>> ?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.
>>
>> Signed-off-by: Hector Oron <hector.oron@gmail.com>
>> Acked-by: Matt Sealey <matt@genesi-usa.com>
>> ---
>> ?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(-)
>>
>> diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
>> index 3a5ed2d..fbfccc7 100644
>> --- a/arch/arm/mach-mx5/board-mx51_efikamx.c
>> +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
>> @@ -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 <amit.kucheria@linaro.org> */
>> +MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
>> ? ? ? ?.atag_offset = 0x100,
>> ? ? ? ?.map_io = mx51_map_io,
>> ? ? ? ?.init_early = imx51_init_early,
>> diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c
>> index 4baf05c..dedbca5 100644
>> --- a/arch/arm/mach-mx5/board-mx51_efikasb.c
>> +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c
>> @@ -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
>>
>
> Ping!
> I dont see the patch being applied. Is there any problem with it?
>
> Cheers,
> --
> ?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
--
?H?ctor Or?n ?-.. . -... .. .- -. ? -.. . ...- . .-.. --- .--. . .-.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] efikamx: match machine descriptions with legacy
2012-02-20 23:09 [PATCH] efikamx: match machine descriptions with legacy Hector Oron
2012-02-23 14:04 ` Amit Kucheria
2012-03-11 12:33 ` Hector Oron
@ 2012-04-02 9:21 ` Sascha Hauer
2 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-04-02 9:21 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Feb 21, 2012 at 12:09:28AM +0100, Hector Oron wrote:
> 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.
>
> Signed-off-by: Hector Oron <hector.oron@gmail.com>
> Acked-by: Matt Sealey <matt@genesi-usa.com>
Applied, thanks
Sascha
> ---
> 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(-)
>
> diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
> index 3a5ed2d..fbfccc7 100644
> --- a/arch/arm/mach-mx5/board-mx51_efikamx.c
> +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
> @@ -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 <amit.kucheria@linaro.org> */
> +MACHINE_START(MX51_EFIKAMX, "Genesi Efika MX (Smarttop)")
> .atag_offset = 0x100,
> .map_io = mx51_map_io,
> .init_early = imx51_init_early,
> diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c
> index 4baf05c..dedbca5 100644
> --- a/arch/arm/mach-mx5/board-mx51_efikasb.c
> +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c
> @@ -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
>
--
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 |
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-04-02 9:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-20 23:09 [PATCH] efikamx: match machine descriptions with legacy Hector Oron
2012-02-23 14:04 ` Amit Kucheria
2012-02-23 16:49 ` Hector Oron
2012-03-01 16:41 ` Matt Sealey
2012-03-11 12:33 ` Hector Oron
2012-03-13 18:05 ` Hector Oron
2012-04-02 9:21 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).