* [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
@ 2013-06-05 7:06 ` Magnus Damm
2013-06-05 8:29 ` Arnd Bergmann
2013-06-05 7:06 ` [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework Magnus Damm
` (16 subsequent siblings)
17 siblings, 1 reply; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:06 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Introduce per-board uImage load address calculation.
This will allow us to use the same uImage for multiple
boards if the load address happens to match. For now
keep on using CONFIG_MEMORY_START.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 12:33:07.000000000 +0900
@@ -1,6 +1,9 @@
-__ZRELADDR := $(shell /bin/bash -c 'printf "0x%08x" \
+loadaddr-y := $(shell /bin/bash -c 'printf "0x%08x" \
$$[$(CONFIG_MEMORY_START) + 0x8000]')
+__ZRELADDR := $(shell /bin/bash -c \
+ 'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
+
zreladdr-y += $(__ZRELADDR)
# Unsupported legacy stuff
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
2013-06-05 7:06 ` [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses Magnus Damm
@ 2013-06-05 8:29 ` Arnd Bergmann
2013-06-06 7:26 ` Magnus Damm
0 siblings, 1 reply; 24+ messages in thread
From: Arnd Bergmann @ 2013-06-05 8:29 UTC (permalink / raw)
To: linux-arm-kernel
On Wednesday 05 June 2013 16:06:25 Magnus Damm wrote:
>
> +__ZRELADDR := $(shell /bin/bash -c \
> + 'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
> +
It's not important, but I think this can be written much simpler using
makefile syntax as
__ZRELADDR := $(sort $(loadaddr-y))
Arnd
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
2013-06-05 8:29 ` Arnd Bergmann
@ 2013-06-06 7:26 ` Magnus Damm
0 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-06 7:26 UTC (permalink / raw)
To: linux-arm-kernel
Hi Arnd,
On Wed, Jun 5, 2013 at 5:29 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Wednesday 05 June 2013 16:06:25 Magnus Damm wrote:
>>
>> +__ZRELADDR := $(shell /bin/bash -c \
>> + 'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
>> +
>
> It's not important, but I think this can be written much simpler using
> makefile syntax as
>
> __ZRELADDR := $(sort $(loadaddr-y))
Yes, correct. Just double checked by comparing the output. Your
proposal is much cleaner, will follow that if/when I send a V2.
Thanks,
/ magnus
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
2013-06-05 7:06 ` [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses Magnus Damm
@ 2013-06-05 7:06 ` Magnus Damm
2013-06-05 7:06 ` [PATCH 03/15] ARM: shmobile: AP4EVB " Magnus Damm
` (15 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:06 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add AG5EVM specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 2 ++
1 file changed, 2 insertions(+)
--- 0009/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:06:50.000000000 +0900
@@ -1,6 +1,8 @@
loadaddr-y := $(shell /bin/bash -c 'printf "0x%08x" \
$$[$(CONFIG_MEMORY_START) + 0x8000]')
+loadaddr-$(CONFIG_MACH_AG5EVM) += 0x40008000
+
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
2013-06-05 7:06 ` [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses Magnus Damm
2013-06-05 7:06 ` [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework Magnus Damm
@ 2013-06-05 7:06 ` Magnus Damm
2013-06-05 7:06 ` [PATCH 04/15] ARM: shmobile: APE6EVM " Magnus Damm
` (14 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:06 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add AP4EVB specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0010/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:09:11.000000000 +0900
@@ -2,6 +2,7 @@ loadaddr-y := $(shell /bin/bash -c 'prin
$$[$(CONFIG_MEMORY_START) + 0x8000]')
loadaddr-$(CONFIG_MACH_AG5EVM) += 0x40008000
+loadaddr-$(CONFIG_MACH_AP4EVB) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (2 preceding siblings ...)
2013-06-05 7:06 ` [PATCH 03/15] ARM: shmobile: AP4EVB " Magnus Damm
@ 2013-06-05 7:06 ` Magnus Damm
2013-06-05 7:06 ` [PATCH 05/15] ARM: shmobile: Armadillo800EVA " Magnus Damm
` (13 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:06 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add APE6EVM specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0011/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:11:28.000000000 +0900
@@ -3,6 +3,7 @@ loadaddr-y := $(shell /bin/bash -c 'prin
loadaddr-$(CONFIG_MACH_AG5EVM) += 0x40008000
loadaddr-$(CONFIG_MACH_AP4EVB) += 0x40008000
+loadaddr-$(CONFIG_MACH_APE6EVM) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (3 preceding siblings ...)
2013-06-05 7:06 ` [PATCH 04/15] ARM: shmobile: APE6EVM " Magnus Damm
@ 2013-06-05 7:06 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 06/15] ARM: shmobile: Bock-W " Magnus Damm
` (12 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:06 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Armadillo800EVA specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0012/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:12:59.000000000 +0900
@@ -4,6 +4,7 @@ loadaddr-y := $(shell /bin/bash -c 'prin
loadaddr-$(CONFIG_MACH_AG5EVM) += 0x40008000
loadaddr-$(CONFIG_MACH_AP4EVB) += 0x40008000
loadaddr-$(CONFIG_MACH_APE6EVM) += 0x40008000
+loadaddr-$(CONFIG_MACH_ARMADILLO800EVA) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (4 preceding siblings ...)
2013-06-05 7:06 ` [PATCH 05/15] ARM: shmobile: Armadillo800EVA " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 07/15] ARM: shmobile: Bonito " Magnus Damm
` (11 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Bock-W specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0013/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:15:27.000000000 +0900
@@ -5,6 +5,7 @@ loadaddr-$(CONFIG_MACH_AG5EVM) += 0x4000
loadaddr-$(CONFIG_MACH_AP4EVB) += 0x40008000
loadaddr-$(CONFIG_MACH_APE6EVM) += 0x40008000
loadaddr-$(CONFIG_MACH_ARMADILLO800EVA) += 0x40008000
+loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 07/15] ARM: shmobile: Bonito uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (5 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 06/15] ARM: shmobile: Bock-W " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 08/15] ARM: shmobile: KZM9D " Magnus Damm
` (10 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Bonito specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0014/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:17:11.000000000 +0900
@@ -6,6 +6,7 @@ loadaddr-$(CONFIG_MACH_AP4EVB) += 0x4000
loadaddr-$(CONFIG_MACH_APE6EVM) += 0x40008000
loadaddr-$(CONFIG_MACH_ARMADILLO800EVA) += 0x40008000
loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000
+loadaddr-$(CONFIG_MACH_BONITO) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (6 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 07/15] ARM: shmobile: Bonito " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 09/15] ARM: shmobile: KZM9G " Magnus Damm
` (9 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add KZM9D specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0015/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:18:59.000000000 +0900
@@ -7,6 +7,7 @@ loadaddr-$(CONFIG_MACH_APE6EVM) += 0x400
loadaddr-$(CONFIG_MACH_ARMADILLO800EVA) += 0x40008000
loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000
loadaddr-$(CONFIG_MACH_BONITO) += 0x40008000
+loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (7 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 08/15] ARM: shmobile: KZM9D " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 10/15] ARM: shmobile: Kota2 " Magnus Damm
` (8 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add KZM9G specific load addresses to Makefile.boot,
both the C version of the code is covered as well
as the DT -reference code.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 2 ++
1 file changed, 2 insertions(+)
--- 0016/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:21:45.000000000 +0900
@@ -8,6 +8,8 @@ loadaddr-$(CONFIG_MACH_ARMADILLO800EVA)
loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000
loadaddr-$(CONFIG_MACH_BONITO) += 0x40008000
loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008000
+loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008000
+loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (8 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 09/15] ARM: shmobile: KZM9G " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 11/15] ARM: shmobile: Lager " Magnus Damm
` (7 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Kota2 specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0017/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 16:41:09.000000000 +0900
@@ -7,6 +7,7 @@ loadaddr-$(CONFIG_MACH_APE6EVM) += 0x400
loadaddr-$(CONFIG_MACH_ARMADILLO800EVA) += 0x40008000
loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000
loadaddr-$(CONFIG_MACH_BONITO) += 0x40008000
+loadaddr-$(CONFIG_MACH_KOTA2) += 0x41008000
loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008000
loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008000
loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 11/15] ARM: shmobile: Lager uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (9 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 10/15] ARM: shmobile: Kota2 " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:07 ` [PATCH 12/15] ARM: shmobile: Mackerel " Magnus Damm
` (6 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Lager specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0018/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 17:02:03.000000000 +0900
@@ -11,6 +11,7 @@ loadaddr-$(CONFIG_MACH_KOTA2) += 0x41008
loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008000
loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008000
loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000
+loadaddr-$(CONFIG_MACH_LAGER) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (10 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 11/15] ARM: shmobile: Lager " Magnus Damm
@ 2013-06-05 7:07 ` Magnus Damm
2013-06-05 7:08 ` [PATCH 13/15] ARM: shmobile: Marzen " Magnus Damm
` (5 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:07 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Mackerel specific load address to Makefile.boot
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0019/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 17:03:10.000000000 +0900
@@ -12,6 +12,7 @@ loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008
loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008000
loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000
loadaddr-$(CONFIG_MACH_LAGER) += 0x40008000
+loadaddr-$(CONFIG_MACH_MACKEREL) += 0x40008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 13/15] ARM: shmobile: Marzen uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (11 preceding siblings ...)
2013-06-05 7:07 ` [PATCH 12/15] ARM: shmobile: Mackerel " Magnus Damm
@ 2013-06-05 7:08 ` Magnus Damm
2013-06-05 7:08 ` [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference " Magnus Damm
` (4 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:08 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add Marzen specific load addresses to Makefile.boot,
both the C version of the code is covered as well
as the DT -reference code.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 2 ++
1 file changed, 2 insertions(+)
--- 0020/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 17:05:38.000000000 +0900
@@ -13,6 +13,8 @@ loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008
loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000
loadaddr-$(CONFIG_MACH_LAGER) += 0x40008000
loadaddr-$(CONFIG_MACH_MACKEREL) += 0x40008000
+loadaddr-$(CONFIG_MACH_MARZEN) += 0x60008000
+loadaddr-$(CONFIG_MACH_MARZEN_REFERENCE) += 0x60008000
__ZRELADDR := $(shell /bin/bash -c \
'echo $(loadaddr-y) | tr " " "\n" | sort | uniq')
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (12 preceding siblings ...)
2013-06-05 7:08 ` [PATCH 13/15] ARM: shmobile: Marzen " Magnus Damm
@ 2013-06-05 7:08 ` Magnus Damm
2013-06-05 7:08 ` [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address Magnus Damm
` (3 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:08 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Add uImage load address to Makefile.boot for the recently
added Armadillo800EVA DT Reference code
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 1 +
1 file changed, 1 insertion(+)
--- 0015/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-05 15:59:33.000000000 +0900
@@ -4,6 +4,7 @@ loadaddr-$(CONFIG_MACH_AG5EVM) += 0x4000
loadaddr-$(CONFIG_MACH_AP4EVB) += 0x40008000
loadaddr-$(CONFIG_MACH_APE6EVM) += 0x40008000
loadaddr-$(CONFIG_MACH_ARMADILLO800EVA) += 0x40008000
+loadaddr-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += 0x40008000
loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008000
loadaddr-$(CONFIG_MACH_BONITO) += 0x40008000
loadaddr-$(CONFIG_MACH_KOTA2) += 0x41008000
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (13 preceding siblings ...)
2013-06-05 7:08 ` [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference " Magnus Damm
@ 2013-06-05 7:08 ` Magnus Damm
2013-06-05 7:13 ` [PATCH 00/15] ARM: shmobile: uImage load address rework Laurent Pinchart
` (2 subsequent siblings)
17 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:08 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Remove the CONFIG_MEMORY_START dependency in Makefile.boot
now when we keep track of board specific load addresses.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile.boot | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- 0021/arch/arm/mach-shmobile/Makefile.boot
+++ work/arch/arm/mach-shmobile/Makefile.boot 2013-06-04 17:09:37.000000000 +0900
@@ -1,6 +1,5 @@
-loadaddr-y := $(shell /bin/bash -c 'printf "0x%08x" \
- $$[$(CONFIG_MEMORY_START) + 0x8000]')
-
+# per-board load address for uImage
+loadaddr-y :=
loadaddr-$(CONFIG_MACH_AG5EVM) += 0x40008000
loadaddr-$(CONFIG_MACH_AP4EVB) += 0x40008000
loadaddr-$(CONFIG_MACH_APE6EVM) += 0x40008000
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 00/15] ARM: shmobile: uImage load address rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (14 preceding siblings ...)
2013-06-05 7:08 ` [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address Magnus Damm
@ 2013-06-05 7:13 ` Laurent Pinchart
2013-06-05 7:16 ` Magnus Damm
2013-06-05 7:29 ` Kuninori Morimoto
2013-06-05 8:29 ` Arnd Bergmann
17 siblings, 1 reply; 24+ messages in thread
From: Laurent Pinchart @ 2013-06-05 7:13 UTC (permalink / raw)
To: linux-arm-kernel
Hi Magnus,
On Wednesday 05 June 2013 16:06:16 Magnus Damm wrote:
> ARM: shmobile: uImage load address rework
>
> [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
> [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
> [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
> [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
> [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
> [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
> [PATCH 07/15] ARM: shmobile: Bonito uImage rework
> [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
> [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
> [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
> [PATCH 11/15] ARM: shmobile: Lager uImage rework
> [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
> [PATCH 13/15] ARM: shmobile: Marzen uImage rework
> [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
> [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
>
> Rework the mach-shmobile uImage load address calculation by storing
> the per-board load addresses in Makefile.boot. This removes the
> CONFIG_MEMORY_START dependency from Makefile.boot, and it also makes
> it possible to create safe kernel images that boot on multiple boards.
>
> This is one of several series of code that reworks code not to rely on
> CONFIG_MEMORY_START/SIZE which in turn is needed for ARCH_MULTIPLATFORM.
Thank you for the patches. I've been waiting for this for a long time :-)
If you need to submit a v2 you might want to squash 05/15 and 14/15.
> Signed-off-by: Magnus Damm <damm@opensource.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 00/15] ARM: shmobile: uImage load address rework
2013-06-05 7:13 ` [PATCH 00/15] ARM: shmobile: uImage load address rework Laurent Pinchart
@ 2013-06-05 7:16 ` Magnus Damm
0 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 7:16 UTC (permalink / raw)
To: linux-arm-kernel
Hi Laurent,
On Wed, Jun 5, 2013 at 4:13 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> Hi Magnus,
>
> On Wednesday 05 June 2013 16:06:16 Magnus Damm wrote:
>> ARM: shmobile: uImage load address rework
>>
>> [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
>> [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
>> [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
>> [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
>> [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
>> [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
>> [PATCH 07/15] ARM: shmobile: Bonito uImage rework
>> [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
>> [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
>> [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
>> [PATCH 11/15] ARM: shmobile: Lager uImage rework
>> [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
>> [PATCH 13/15] ARM: shmobile: Marzen uImage rework
>> [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
>> [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
>>
>> Rework the mach-shmobile uImage load address calculation by storing
>> the per-board load addresses in Makefile.boot. This removes the
>> CONFIG_MEMORY_START dependency from Makefile.boot, and it also makes
>> it possible to create safe kernel images that boot on multiple boards.
>>
>> This is one of several series of code that reworks code not to rely on
>> CONFIG_MEMORY_START/SIZE which in turn is needed for ARCH_MULTIPLATFORM.
>
> Thank you for the patches. I've been waiting for this for a long time :-)
>
> If you need to submit a v2 you might want to squash 05/15 and 14/15.
Yeah, agree, it should have been like that. The KZM9G and Marzen
boards are like that.
The reason is that I happened to discover the Armadillo800EVA DT
reference code rather late so to fix that I sneaked in an incremental
fix as 14/15.
>> Signed-off-by: Magnus Damm <damm@opensource.se>
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Thanks!
/ magnus
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 00/15] ARM: shmobile: uImage load address rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (15 preceding siblings ...)
2013-06-05 7:13 ` [PATCH 00/15] ARM: shmobile: uImage load address rework Laurent Pinchart
@ 2013-06-05 7:29 ` Kuninori Morimoto
2013-06-05 8:51 ` Magnus Damm
2013-06-05 8:29 ` Arnd Bergmann
17 siblings, 1 reply; 24+ messages in thread
From: Kuninori Morimoto @ 2013-06-05 7:29 UTC (permalink / raw)
To: linux-arm-kernel
Hi
> ARM: shmobile: uImage load address rework
>
> [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
> [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
> [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
> [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
> [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
> [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
> [PATCH 07/15] ARM: shmobile: Bonito uImage rework
> [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
> [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
> [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
> [PATCH 11/15] ARM: shmobile: Lager uImage rework
> [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
> [PATCH 13/15] ARM: shmobile: Marzen uImage rework
> [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
> [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
I tested these patches on Bock-W board (as 0x60008000 binary),
and on Mackerel board (as 0x40008000 binary)
These work well for me :)
I have same opinion with Laurent.
5) and 14) can be 1 patch if you need to sent v2 patches :P
for 6), 12) patch
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
for all patches
Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 00/15] ARM: shmobile: uImage load address rework
2013-06-05 7:29 ` Kuninori Morimoto
@ 2013-06-05 8:51 ` Magnus Damm
0 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 8:51 UTC (permalink / raw)
To: linux-arm-kernel
Hi Morimoto-san,
On Wed, Jun 5, 2013 at 4:29 PM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>
> Hi
>
>> ARM: shmobile: uImage load address rework
>>
>> [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
>> [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
>> [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
>> [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
>> [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
>> [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
>> [PATCH 07/15] ARM: shmobile: Bonito uImage rework
>> [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
>> [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
>> [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
>> [PATCH 11/15] ARM: shmobile: Lager uImage rework
>> [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
>> [PATCH 13/15] ARM: shmobile: Marzen uImage rework
>> [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
>> [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
>
> I tested these patches on Bock-W board (as 0x60008000 binary),
> and on Mackerel board (as 0x40008000 binary)
> These work well for me :)
Thanks for testing.
> I have same opinion with Laurent.
> 5) and 14) can be 1 patch if you need to sent v2 patches :P
Gotcha!
> for 6), 12) patch
>
> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> for all patches
>
> Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thanks,
/ magnus
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 00/15] ARM: shmobile: uImage load address rework
2013-06-05 7:06 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
` (16 preceding siblings ...)
2013-06-05 7:29 ` Kuninori Morimoto
@ 2013-06-05 8:29 ` Arnd Bergmann
2013-06-05 8:41 ` Magnus Damm
17 siblings, 1 reply; 24+ messages in thread
From: Arnd Bergmann @ 2013-06-05 8:29 UTC (permalink / raw)
To: linux-arm-kernel
On Wednesday 05 June 2013 16:06:16 Magnus Damm wrote:
> ARM: shmobile: uImage load address rework
>
> [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
> [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
> [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
> [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
> [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
> [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
> [PATCH 07/15] ARM: shmobile: Bonito uImage rework
> [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
> [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
> [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
> [PATCH 11/15] ARM: shmobile: Lager uImage rework
> [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
> [PATCH 13/15] ARM: shmobile: Marzen uImage rework
> [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
> [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
>
> Rework the mach-shmobile uImage load address calculation by storing
> the per-board load addresses in Makefile.boot. This removes the
> CONFIG_MEMORY_START dependency from Makefile.boot, and it also makes
> it possible to create safe kernel images that boot on multiple boards.
>
> This is one of several series of code that reworks code not to rely on
> CONFIG_MEMORY_START/SIZE which in turn is needed for ARCH_MULTIPLATFORM.
Looks good to me. I just really wouldn't bother creating so many patches
for this when you just modify a single file multiple times. A single
patch would be just as good, unless you are desperate to top the LWN
patch statistics ;-)
Arnd
^ permalink raw reply [flat|nested] 24+ messages in thread* [PATCH 00/15] ARM: shmobile: uImage load address rework
2013-06-05 8:29 ` Arnd Bergmann
@ 2013-06-05 8:41 ` Magnus Damm
0 siblings, 0 replies; 24+ messages in thread
From: Magnus Damm @ 2013-06-05 8:41 UTC (permalink / raw)
To: linux-arm-kernel
Hi Arnd,
On Wed, Jun 5, 2013 at 5:29 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Wednesday 05 June 2013 16:06:16 Magnus Damm wrote:
>> ARM: shmobile: uImage load address rework
>>
>> [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
>> [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework
>> [PATCH 03/15] ARM: shmobile: AP4EVB uImage rework
>> [PATCH 04/15] ARM: shmobile: APE6EVM uImage rework
>> [PATCH 05/15] ARM: shmobile: Armadillo800EVA uImage rework
>> [PATCH 06/15] ARM: shmobile: Bock-W uImage rework
>> [PATCH 07/15] ARM: shmobile: Bonito uImage rework
>> [PATCH 08/15] ARM: shmobile: KZM9D uImage rework
>> [PATCH 09/15] ARM: shmobile: KZM9G uImage rework
>> [PATCH 10/15] ARM: shmobile: Kota2 uImage rework
>> [PATCH 11/15] ARM: shmobile: Lager uImage rework
>> [PATCH 12/15] ARM: shmobile: Mackerel uImage rework
>> [PATCH 13/15] ARM: shmobile: Marzen uImage rework
>> [PATCH 14/15] ARM: shmobile: Armadillo800EVA reference uImage rework
>> [PATCH 15/15] ARM: shmobile: Remove MEMORY_START uImage load address
>>
>> Rework the mach-shmobile uImage load address calculation by storing
>> the per-board load addresses in Makefile.boot. This removes the
>> CONFIG_MEMORY_START dependency from Makefile.boot, and it also makes
>> it possible to create safe kernel images that boot on multiple boards.
>>
>> This is one of several series of code that reworks code not to rely on
>> CONFIG_MEMORY_START/SIZE which in turn is needed for ARCH_MULTIPLATFORM.
>
> Looks good to me. I just really wouldn't bother creating so many patches
> for this when you just modify a single file multiple times. A single
> patch would be just as good, unless you are desperate to top the LWN
> patch statistics ;-)
Yes, you got it, always desperate! =)
I guess I had some idea that people could reply to each board specific
email with information about testing and potential issues, but so far
I have not seen anyone taking advantage of that opportunity.
Thanks,
/ magnus
^ permalink raw reply [flat|nested] 24+ messages in thread