All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
Date: Wed, 05 Jun 2013 06:58:57 +0000	[thread overview]
Message-ID: <20130605070625.13311.17016.sendpatchset@w520> (raw)
In-Reply-To: <20130605070616.13311.69049.sendpatchset@w520>

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

WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/15] ARM: shmobile: Per-board uImage load addresses
Date: Wed, 05 Jun 2013 16:06:25 +0900	[thread overview]
Message-ID: <20130605070625.13311.17016.sendpatchset@w520> (raw)
In-Reply-To: <20130605070616.13311.69049.sendpatchset@w520>

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

  reply	other threads:[~2013-06-05  6:58 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05  6:58 [PATCH 00/15] ARM: shmobile: uImage load address rework Magnus Damm
2013-06-05  7:06 ` Magnus Damm
2013-06-05  6:58 ` Magnus Damm [this message]
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-05  8:29     ` Arnd Bergmann
2013-06-06  7:26     ` Magnus Damm
2013-06-06  7:26       ` Magnus Damm
2013-06-05  6:59 ` [PATCH 02/15] ARM: shmobile: AG5EVM uImage rework Magnus Damm
2013-06-05  7:06   ` Magnus Damm
2013-06-05  6:59 ` [PATCH 03/15] ARM: shmobile: AP4EVB " Magnus Damm
2013-06-05  7:06   ` Magnus Damm
2013-06-05  6:59 ` [PATCH 04/15] ARM: shmobile: APE6EVM " Magnus Damm
2013-06-05  7:06   ` Magnus Damm
2013-06-05  6:59 ` [PATCH 05/15] ARM: shmobile: Armadillo800EVA " Magnus Damm
2013-06-05  7:06   ` Magnus Damm
2013-06-05  6:59 ` [PATCH 06/15] ARM: shmobile: Bock-W " Magnus Damm
2013-06-05  7:07   ` Magnus Damm
2013-06-05  6:59 ` [PATCH 07/15] ARM: shmobile: Bonito " Magnus Damm
2013-06-05  7:07   ` Magnus Damm
2013-06-05  6:59 ` [PATCH 08/15] ARM: shmobile: KZM9D " Magnus Damm
2013-06-05  7:07   ` Magnus Damm
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 10/15] ARM: shmobile: Kota2 " Magnus Damm
2013-06-05  7:07   ` Magnus Damm
2013-06-05  7:07 ` [PATCH 11/15] ARM: shmobile: Lager " Magnus Damm
2013-06-05  7:07   ` Magnus Damm
2013-06-05  7:07 ` [PATCH 12/15] ARM: shmobile: Mackerel " Magnus Damm
2013-06-05  7:07   ` Magnus Damm
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 14/15] ARM: shmobile: Armadillo800EVA reference " 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
2013-06-05  7:08   ` Magnus Damm
2013-06-05  7:13 ` [PATCH 00/15] ARM: shmobile: uImage load address rework Laurent Pinchart
2013-06-05  7:13   ` Laurent Pinchart
2013-06-05  7:16   ` Magnus Damm
2013-06-05  7:16     ` Magnus Damm
2013-06-05  7:29 ` Kuninori Morimoto
2013-06-05  7:29   ` Kuninori Morimoto
2013-06-05  8:51   ` Magnus Damm
2013-06-05  8:51     ` Magnus Damm
2013-06-05  8:29 ` Arnd Bergmann
2013-06-05  8:29   ` Arnd Bergmann
2013-06-05  8:41   ` Magnus Damm
2013-06-05  8:41     ` Magnus Damm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130605070625.13311.17016.sendpatchset@w520 \
    --to=magnus.damm@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.