ARM: shmobile: uImage load address rework
Magnus Damm
maintainercover ARM: shmobile: uImage load address rework
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.
---
Written against renesas.git renesas-next-20130604v2
arch/arm/mach-shmobile/Makefile.boot | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)
Magnus Damm
maintainerPATCH 1/15 ARM: shmobile: Per-board uImage load addresses
From: Magnus Damm <[email protected]>
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.
---
arch/arm/mach-shmobile/Makefile.boot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm/mach-shmobile/Makefile.boot +4 -1
@@ -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
PATCH 1/15 ARM: shmobile: Per-board uImage load addresses
arch/arm/mach-shmobile/Makefile.boot line 6
Quoted 4 lines · On Wednesday 05 June 2013 16:06:25 Magnus Damm wrote:
arch/arm/mach-shmobile/Makefile.boot +3
-0+__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
Magnus Damm
maintainerPATCH 1/15 ARM: shmobile: Per-board uImage load addresses
Hi Arnd,
Quoted 10 lines · Arnd Bergmann
arch/arm/mach-shmobile/Makefile.boot line 6
Quoted 4 lines · On Wednesday 05 June 2013 16:06:25 Magnus Damm wrote:
arch/arm/mach-shmobile/Makefile.boot +3
-0+__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
Magnus Damm
maintainerPATCH 2/15 ARM: shmobile: AG5EVM uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add AG5EVM specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-shmobile/Makefile.boot +2 -0
@@ -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')
Magnus Damm
maintainerPATCH 3/15 ARM: shmobile: AP4EVB uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add AP4EVB specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 4/15 ARM: shmobile: APE6EVM uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add APE6EVM specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 5/15 ARM: shmobile: Armadillo800EVA uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Armadillo800EVA specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 6/15 ARM: shmobile: Bock-W uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Bock-W specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 7/15 ARM: shmobile: Bonito uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Bonito specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 8/15 ARM: shmobile: KZM9D uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add KZM9D specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 9/15 ARM: shmobile: KZM9G uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add KZM9G specific load addresses to Makefile.boot, both the C version of the code is covered as well as the DT -reference code.
---
arch/arm/mach-shmobile/Makefile.boot | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-shmobile/Makefile.boot +2 -0
@@ -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')
Magnus Damm
maintainerPATCH 10/15 ARM: shmobile: Kota2 uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Kota2 specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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
Magnus Damm
maintainerPATCH 11/15 ARM: shmobile: Lager uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Lager specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 12/15 ARM: shmobile: Mackerel uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Mackerel specific load address to Makefile.boot
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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')
Magnus Damm
maintainerPATCH 13/15 ARM: shmobile: Marzen uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add Marzen specific load addresses to Makefile.boot, both the C version of the code is covered as well as the DT -reference code.
---
arch/arm/mach-shmobile/Makefile.boot | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/mach-shmobile/Makefile.boot +2 -0
@@ -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')
Magnus Damm
maintainerPATCH 14/15 ARM: shmobile: Armadillo800EVA reference uImage rework
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add uImage load address to Makefile.boot for the recently added Armadillo800EVA DT Reference code
---
arch/arm/mach-shmobile/Makefile.boot | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -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
Magnus Damm
maintainerPATCH 15/15 ARM: shmobile: Remove MEMORY_START uImage load address
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Remove the CONFIG_MEMORY_START dependency in Makefile.boot now when we keep track of board specific load addresses.
---
arch/arm/mach-shmobile/Makefile.boot | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/mach-shmobile/Makefile.boot +2 -3
@@ -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
cover ARM: shmobile: uImage load address rework
In reply to Magnus DammHi Magnus,
Quoted 18 lines · 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: RemoveMEMORY_STARTuImage load address
Quoted 7 lines
Rework the mach-shmobile uImage load address calculation by storing the per-board load addresses in Makefile.boot. This removes the
CONFIG_MEMORY_STARTdependency 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.
Quoted 1 line
Signed-off-by Magnus Damm <[email protected]>
Signature · 3 lines
Regards, Laurent Pinchart
Magnus Damm
maintainercover ARM: shmobile: uImage load address rework
Hi Laurent,
Quoted 26 lines · Laurent Pinchart
Hi Magnus,
Quoted 23 lines · 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: RemoveMEMORY_STARTuImage load addressRework the mach-shmobile uImage load address calculation by storing the per-board load addresses in Makefile.boot. This removes the
CONFIG_MEMORY_STARTdependency from Makefile.boot, and it also makes it possible to create safe kernel images that boot on multiple boards.
Quoted 6 lines
Quoted 2 lines
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.
Quoted 3 lines
Quoted 1 line
Signed-off-by Magnus Damm <[email protected]>Reviewed-by Laurent Pinchart <[email protected]>
Thanks!
/ magnus
cover ARM: shmobile: uImage load address rework
In reply to Magnus DammHi
Quoted 17 lines
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: RemoveMEMORY_STARTuImage 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
for all patches
Best regards
---
Kuninori Morimoto
Magnus Damm
maintainercover ARM: shmobile: uImage load address rework
Hi Morimoto-san,
Quoted 21 lines · Kuninori Morimoto
Hi
Quoted 17 lines
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: RemoveMEMORY_STARTuImage load address
Quoted 3 lines
I tested these patches on Bock-W board (as
0x60008000binary), and on Mackerel board (as0x40008000binary)
These work well for me :)
Thanks for testing.
Quoted 2 lines
I have same opinion with Laurent.
5) and 14) can be 1 patch if you need to sent v2 patches :P
Gotcha!
Quoted 7 lines
for 6), 12) patch
Tested-by Kuninori Morimoto <[email protected]>for all patches
Reviewed-by Kuninori Morimoto <[email protected]>
Thanks,
/ magnus
cover ARM: shmobile: uImage load address rework
In reply to Magnus DammQuoted 18 lines · 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: RemoveMEMORY_STARTuImage load address
Quoted 7 lines
Rework the mach-shmobile uImage load address calculation by storing the per-board load addresses in Makefile.boot. This removes the
CONFIG_MEMORY_STARTdependency 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
Magnus Damm
maintainercover ARM: shmobile: uImage load address rework
Hi Arnd,
Quoted 24 lines · Arnd Bergmann
Quoted 23 lines · 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: RemoveMEMORY_STARTuImage load addressRework the mach-shmobile uImage load address calculation by storing the per-board load addresses in Makefile.boot. This removes the
CONFIG_MEMORY_STARTdependency from Makefile.boot, and it also makes it possible to create safe kernel images that boot on multiple boards.
Quoted 7 lines
Quoted 2 lines
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