The linker needs this to understand that the symbol is actually a
function so it will generate correct thumb interworking code.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/start.S |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu
On Wed, Aug 01, 2012 at 02:11:48PM -0700, V, Aneesh wrote:
Hi Allen,
On Wed, Aug 1, 2012 at 1:32 PM, Allen Martin
amar...@nvidia.commailto:amar...@nvidia.com wrote:
If CONFIG_SYS_THUMB_BUILD is enabled, use thumb interworking return
instructions from libgcc routines, otherwise use ARM
On Wed, Aug 01, 2012 at 03:15:45PM -0700, V, Aneesh wrote:
I didn't want to break any older ARM architectures that don't support the
bx instruction but use this code.
Which is earlier than armv4t, right? On quick look it didn't seem there is
anything
older than that in u-boot. But yes,
:10 Tom Rini wrote:
On 07/18/2012 08:11 PM, Mike Frysinger wrote:
On Wednesday 18 July 2012 19:45:52 Allen Martin wrote:
+MAJOR=$($gas --version | head -1 | awk '{print $NF}' |
cut -d . -f 1) +MINOR=$($gas --version | head -1 | awk
'{print $NF}' | cut -d . -f 2) + +printf %02d%02d\\n
://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin amar...@nvidia.com
---
changes for v3:
-removed warning print
changes for v2:
-changed GAS_BUG_12532 from yes/no to y/n to be consistent
-added additional warning about code size increase
---
arch/arm/config.mk | 22
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin amar...@nvidia.com
---
config.mk |1 +
tools/binutils-version.sh | 20
2 files changed, 21 insertions(+)
create mode 100755 tools/binutils-version.sh
diff
Sorry I screwed this patch up, please ignore, I'll resend in a minute
-Allen
--
nvpublic
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin amar...@nvidia.com
---
changes for v4:
-removed warning print
changes for v3:
-split shell line to improve readability
changes for v2:
-changed GAS_BUG_12532 from yes/no to y/n to be consistent
-added additional warning
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin amar...@nvidia.com
---
config.mk |1 +
tools/binutils-version.sh | 20
2 files changed, 21 insertions(+)
create mode 100755 tools/binutils-version.sh
diff
On Tue, Jul 17, 2012 at 12:32:53PM -0700, Tom Warren wrote:
Allen,
-Original Message-
From: Allen Martin [mailto:amar...@nvidia.com]
Sent: Monday, July 16, 2012 4:02 PM
To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org;
thierry.red...@avionic-design.de
Cc: u-boot
On Thu, Jul 12, 2012 at 11:45:18AM -0700, Albert ARIBAUD wrote:
Hi Graeme,
On Tue, 10 Jul 2012 10:57:39 +1000, Graeme Russ graeme.r...@gmail.com wrote:
Hi Allen
On Tue, Jul 10, 2012 at 10:45 AM, Allen Martin amar...@nvidia.com wrote:
On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
---
include
build.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
---
boards.cfg |5 +
doc/README.SPL | 12
mkconfig | 24
3 files changed, 33
and new EMC code
- made u-boot.t2 target work even if CONFIG_OF is disabled
- added back USE_PRIVATE_LIBGCC
Allen Martin (15):
tegra20: rename tegra2 - tegra20
tegra20: move tegra20 SoC code to arch/arm/cpu/tegra20-common
tegra20: rename CONFIG_MACH_TEGRA_GENERIC
tegra20: tec: add tegra20
Enable the building of private libgcc for SPL
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
---
arch/arm/lib/Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested
Move warmboot_save_sdram_params() to later in the boot sequence. This
code relies on devicetree to get the address of the memory controller
and with upcoming changes for SPL boot it gets called early in the
boot process when devicetree is not initialized yet.
Signed-off-by: Allen Martin amar
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
This fixes the SPL build to link with the SPL version of libgcc if
USE_PRIVATE_LIBGCC is set to yes. Previously it was linking with
the libgcc from the normal u-boot build because it gets set in
PLATFORM_LIBS and passed down the to the SPL build.
Signed-off-by: Allen Martin amar...@nvidia.com
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Don't use timer_init from tegra board.c. This comes out of arm720t
for the SPL build.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
---
board/nvidia/common/board.c |2 ++
1 file
Change the mkdir commands for the object directories to be
unconditional. This fixes an issue when building for SPL where
SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested
Add target for tegra20 u-boot image. This is a concatenation of tegra
spl and normal u-boot binaries. For non-devicetree builds this is
named u-boot-nodtb-tegra.bin for devicetree builds is named
u-boot-dtb-tegra.bin.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
except for cache and MMU.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic-design.de
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu/arm720t/interrupts.c|5 +
arch/arm
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA.
The meaning of the config options is now:
CONFIG_TEGRA - Any tegra chip
CONFIG_TEGRA20 - A tegra20 family chip
CONFIG_TEGRA30 - A tegra30 family chip (not added yet)
Signed-off-by: Allen Martin amar...@nvidia.com
Acked
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards. Also remove redundant code from u-boot that is not
contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Tested-by: Thierry Reding thierry.red...@avionic
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin amar...@nvidia.com
---
config.mk |1 +
tools/binutils-version.sh | 20
2 files changed, 21 insertions(+)
create mode 100755 tools/binutils-version.sh
diff
://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin amar...@nvidia.com
---
changes for v2:
-changed GAS_BUG_12532 from yes/no to y/n to be consistent
-added additional warning about code size increase
---
arch/arm/config.mk | 21 +
1 file changed, 21
On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote:
* PGP Signed by an unknown key
On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote:
Disable sibling call optimization based on binutils version. This is
to work around a bug in the assember in binutils versions 2.22
On Tue, Jul 10, 2012 at 10:50:34AM -0700, Tom Rini wrote:
On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote:
On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote:
* PGP Signed by an unknown key
On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote:
Disable
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin amar...@nvidia.com
---
config.mk |1 +
tools/binutils-version.sh | 20
2 files changed, 21 insertions(+)
create mode 100755 tools/binutils-version.sh
diff
://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin amar...@nvidia.com
---
changes for v3:
-split shell line to improve readability
changes for v2:
-changed GAS_BUG_12532 from yes/no to y/n to be consistent
-added additional warning about code size increase
---
arch/arm
On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert ARIBAUD wrote:
Hi Allen,
On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin amar...@nvidia.com wrote:
On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
On 07/06/2012 02:33 PM, Allen Martin wrote:
On Fri, Jul 06, 2012 at 12:09
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin amar...@nvidia.com
---
config.mk |1 +
tools/binutils-version.sh | 20
2 files changed, 21 insertions(+)
create mode 100755 tools/binutils-version.sh
diff
://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/config.mk | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 3f4453a..1ba9d75 100644
--- a/arch/arm/config.mk
+++ b/arch
On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert ARIBAUD wrote:
Hi Allen,
On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin amar...@nvidia.com wrote:
On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
On 07/06/2012 02:33 PM, Allen Martin wrote:
On Fri, Jul 06, 2012 at 12:09
This inline assembly just converts a function address to a u32.
Replace it with equivalent C code since the assembly was not thumb
compatible.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/tegra20-common/warmboot_avp.c |9 +
1 file changed, 1 insertion(+), 8
Rearrange the link order of libraries to avoid out of bound
relocations in thumb mode. I have no idea how to fix this for real.
Signed-off-by: Allen Martin amar...@nvidia.com
---
Makefile |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index
arm720t is an armv4t not an armv4. Force some tegra initialization
functions to arm mode because they contain arm only inline assembly.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/config.mk |2 +-
arch/arm/cpu/arm720t/tegra20/config.mk |7 +++
2
Add function required by some thumb switch statements
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/lib/Makefile |1 +
arch/arm/lib/_thumb1_case_uqi.S | 41 +++
2 files changed, 42 insertions(+)
create mode 100644 arch/arm/lib
Convert return from relocate_code to a thumb compatible bx
instruction.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/start.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S
index 3371d3d
This patch series enables thumb compile for tegra SPL and u-boot. It
is not ready for review yet as it still contains a few hacks, but I'm
posting it in case anyone finds it useful. This reduces the size of
the combined SPL/u-boot by about 20%. I havent' measured if there's
any change in boot
Signed-off-by: Allen Martin amar...@nvidia.com
---
include/configs/tegra20-common.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index bbb80d0..16466cc 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs
Convert return instructions to thumb compatible bx returns. Probably
what's really needed here is a thumb version of all the libgcc
assembly routines.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/lib/_udivsi3.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
On Fri, Jul 06, 2012 at 12:09:43PM -0700, Stephen Warren wrote:
On 07/06/2012 12:08 PM, Allen Martin wrote:
Rearrange the link order of libraries to avoid out of bound
relocations in thumb mode. I have no idea how to fix this for real.
Are the relocations branches or something else
On Fri, Jul 06, 2012 at 12:10:18PM -0700, Stephen Warren wrote:
On 07/06/2012 12:08 PM, Allen Martin wrote:
git bisect probably requires this to be the final patch in the series?
Yeah I'm sure git bisect is completely broken on the series right now,
I'll fix it up when I remove all
On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
On 07/06/2012 02:33 PM, Allen Martin wrote:
On Fri, Jul 06, 2012 at 12:09:43PM -0700, Stephen Warren wrote:
On 07/06/2012 12:08 PM, Allen Martin wrote:
Rearrange the link order of libraries to avoid out of bound
relocations
On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
On 07/06/2012 02:33 PM, Allen Martin wrote:
On Fri, Jul 06, 2012 at 12:09:43PM -0700, Stephen Warren wrote:
On 07/06/2012 12:08 PM, Allen Martin wrote:
Rearrange the link order of libraries to avoid out of bound
relocations
On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
On 07/06/2012 02:33 PM, Allen Martin wrote:
On Fri, Jul 06, 2012 at 12:09:43PM -0700, Stephen Warren wrote:
On 07/06/2012 12:08 PM, Allen Martin wrote:
Rearrange the link order of libraries to avoid out of bound
relocations
On Tue, Jul 03, 2012 at 06:55:48AM -0700, Thierry Reding wrote:
...
Successfully booted to login prompt on TEC.
Tested-by: Thierry Reding thierry.red...@avionic-design.de
That's great news, it sounds like it was the USE_PRIVATE_LIBGCC
problem. Thank you very much for finding that and
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA.
The meaning of the config options is now:
CONFIG_TEGRA - Any tegra chip
CONFIG_TEGRA20 - A tegra20 family chip
CONFIG_TEGRA30 - A tegra30 family chip (not added yet)
Signed-off-by: Allen Martin amar...@nvidia.com
Acked
Enable the building of private libgcc for SPL
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/lib/Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index 39a9550..bd3b77f 100644
--- a/arch/arm/lib/Makefile
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
include/configs/tec.h |2 ++
1 file changed, 2 insertions(+)
diff
build.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
boards.cfg |5 +
doc/README.SPL | 12
mkconfig | 24
3 files changed, 33 insertions(+), 8 deletions(-)
diff --git a/boards.cfg b
Don't use timer_init from tegra board.c. This comes out of arm720t
for the SPL build.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
board/nvidia/common/board.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/board/nvidia/common
Add target for tegra20 u-boot image. This is a concatenation of tegra
spl and normal u-boot binaries. For non-devicetree builds this is
named u-boot-nodtb-tegra.bin for devicetree builds is named
u-boot-dtb-tegra.bin.
Signed-off-by: Allen Martin amar...@nvidia.com
---
Makefile | 14
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
This patch series fixes a long standing problem with the tegra20
u-boot build. Tegra20 contains an ARM7TDMI boot processor and a
Cortex A9 main processor. Prior to this patch series this was
accomplished by #ifdefing out any armv7 code from the early boot
sequence and creating a single binary
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
Move warmboot_save_sdram_params() to later in the boot sequence. This
code relies on devicetree to get the address of the memory controller
and with upcoming changes for SPL boot it gets called early in the
boot process when devicetree is not initialized yet.
Signed-off-by: Allen Martin amar
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards. Also remove redundant code from u-boot that is not
contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
---
Makefile |9 ++
arch/arm/cpu/armv7/start.S|2
Change the mkdir commands for the object directories to be
unconditional. This fixes an issue when building for SPL where
SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.
Signed-off-by: Allen Martin amar...@nvidia.com
---
board/avionic-design/medcom/Makefile |2 --
board
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
This fixes the SPL build to link with the SPL version of libgcc if
USE_PRIVATE_LIBGCC is set to yes. Previously it was linking with
the libgcc from the normal u-boot build because it gets set in
PLATFORM_LIBS and passed down the to the SPL build.
Signed-off-by: Allen Martin amar...@nvidia.com
except for cache and MMU.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu/arm720t/interrupts.c|5 +
arch/arm/cpu/arm720t/start.S |6 +-
arch/arm
On Thu, Jun 21, 2012 at 05:00:39PM -0700, Allen Martin wrote:
Change the mkdir commands for the object directories to be more
general purpose. This fixes an issue when building for SPL where
SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.
Signed-off-by: Allen Martin amar
This patch series fixes a long standing problem with the tegra20
u-boot build. Tegra20 contains an ARM7TDMI boot processor and a
Cortex A9 main processor. Prior to this patch series this was
accomplished by #ifdefing out any armv7 code from the early boot
sequence and creating a single binary
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA.
The meaning of the config options is now:
CONFIG_TEGRA - Any tegra chip
CONFIG_TEGRA20 - A tegra20 family chip
CONFIG_TEGRA30 - A tegra30 family chip (not added yet)
Signed-off-by: Allen Martin amar...@nvidia.com
Acked
.
Signed-off-by: Allen Martin amar...@nvidia.com
---
Makefile | 21 +
1 file changed, 21 insertions(+)
diff --git a/Makefile b/Makefile
index b2275ed..a168d20 100644
--- a/Makefile
+++ b/Makefile
@@ -381,6 +381,17 @@ ONENAND_BIN ?= $(obj)onenand_ipl/onenand-ipl-2k.bin
ALL
Don't use timer_init from tegra board.c. This comes out of arm720t
for the SPL build.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
board/nvidia/common/board.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/board/nvidia/common
Change the mkdir commands for the object directories to be
unconditional. This fixes an issue when building for SPL where
SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.
Signed-off-by: Allen Martin amar...@nvidia.com
---
board/avionic-design/medcom/Makefile |2 --
board
build.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
boards.cfg |5 +
doc/README.SPL | 12
mkconfig | 24
3 files changed, 33 insertions(+), 8 deletions(-)
diff --git a/boards.cfg b
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards in boards.cfg. Also remove redundant code from u-boot
that is not contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
arch/arm/cpu/armv7/start.S
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
include/configs/tec.h |2 ++
1 file changed, 2 insertions(+)
diff
Move warmboot_save_sdram_params() to later in the boot sequence. This
code relies on devicetree to get the address of the memory controller
and with upcoming changes for SPL boot it gets called early in the
boot process when devicetree is not initialized yet.
Signed-off-by: Allen Martin amar
except for cache and MMU.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Stephen Warren swar...@wwwdotorg.org
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu/arm720t/interrupts.c|5 +
arch/arm/cpu/arm720t/start.S |6 +-
arch/arm
On Mon, Jun 25, 2012 at 04:04:28PM -0700, Stephen Warren wrote:
On 06/25/2012 04:55 PM, Allen Martin wrote:
This patch series fixes a long standing problem with the tegra20
u-boot build. Tegra20 contains an ARM7TDMI boot processor and a
Cortex A9 main processor. Prior to this patch series
On Fri, Jun 22, 2012 at 11:13:10AM -0700, Stephen Warren wrote:
On 06/21/2012 06:00 PM, Allen Martin wrote:
This is make naming consistent with the kernel and devicetree and in
preparation of pulling out the common tegra20 code.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked
On Fri, Jun 22, 2012 at 11:15:55AM -0700, Stephen Warren wrote:
On 06/21/2012 06:00 PM, Allen Martin wrote:
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7
This patch series fixes a long standing problem with the tegra20
u-boot build. Tegra20 contains an ARM7TDMI boot processor and a
Cortex A9 main processor. Prior to this patch series this was
accomplished by #ifdefing out any armv7 code from the early boot
sequence and creating a single binary
Don't use timer_init from tegra board.c. This comes out of arm720t
for the SPL build.
Signed-off-by: Allen Martin amar...@nvidia.com
---
board/nvidia/common/board.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 90a77e2
In preparation for splitting out the armv4t code from tegra20, move
the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.
Signed-off-by: Allen Martin amar...@nvidia.com
---
Makefile
Move warmboot_save_sdram_params() to later in the boot sequence. This
code relies on devicetree to get the address of the memory controller
and with upcoming changes for SPL boot it gets called early in the
boot process when devicetree is not initialized yet.
Signed-off-by: Allen Martin amar
Add tegra20-common-post.h to be consistent with other tegra20 boards.
Signed-off-by: Allen Martin amar...@nvidia.com
Acked-by: Thierry Reding thierry.red...@avionic-design.de
---
include/configs/tec.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/tec.h b/include
build.
Signed-off-by: Allen Martin amar...@nvidia.com
---
boards.cfg |5 +
doc/README.SPL | 12
mkconfig | 24
3 files changed, 33 insertions(+), 8 deletions(-)
diff --git a/boards.cfg b/boards.cfg
index f7f1190..8958ba2 100644
Take a few SPL fixes from armv7 and apply them to arm720t:
-Use dummy exception handlers for SPL build
-Initialize relocation register r9 to 0 for the case of no relocation
-ifdef out interrupt handler code
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/start.S | 13
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA.
The meaning of the config options is now:
CONFIG_TEGRA - Any tegra chip
CONFIG_TEGRA20 - A tegra20 family chip
CONFIG_TEGRA30 - A tegra30 family chip (not added yet)
Signed-off-by: Allen Martin amar...@nvidia.com
---
include
These flags were necessary when building tegra20 as a single binary
that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
is split into a separate SPL, this is no longer necessary.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/armv7/tegra20/config.mk | 12
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards in boards.cfg. Also remove redundant code from u-boot
that is not contained in SPL.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/armv7/start.S|2 -
arch/arm/cpu/tegra20-common/ap20
Add target for tegra20 u-boot image. This is a concatenation of tegra
spl and normal u-boot binaries. For non-devicetree builds this is
named u-boot-t2.bin for devicetree builds is named
u-boot-dtb-t2.bin.
Signed-off-by: Allen Martin amar...@nvidia.com
---
Makefile | 13 +
1 file
except for cache and MMU.
Signed-off-by: Allen Martin amar...@nvidia.com
---
arch/arm/cpu/arm720t/cpu.c |2 +
arch/arm/cpu/arm720t/interrupts.c|5 +
arch/arm/cpu/arm720t/start.S |6 +-
arch/arm/cpu/arm720t/tegra20/Makefile| 48
Change the mkdir commands for the object directories to be more
general purpose. This fixes an issue when building for SPL where
SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.
Signed-off-by: Allen Martin amar...@nvidia.com
---
board/avionic-design/plutux/Makefile |7
On Fri, Jun 08, 2012 at 02:54:17PM -0700, Tom Warren wrote:
Allen,
-Original Message-
From: Allen Martin [mailto:amar...@nvidia.com]
Sent: Friday, June 08, 2012 2:16 PM
To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org;
thierry.red...@avionic-design.de
Cc: u-boot
On Mon, Jun 11, 2012 at 02:29:59AM -0700, Thierry Reding wrote:
* PGP Signed by an unknown key
* Stephen Warren wrote:
Allen Martin amar...@nvidia.com wrote:
On Fri, Jun 08, 2012 at 10:28:57PM -0700, Stephen Warren wrote:
On 06/08/2012 03:27 PM, Allen Martin wrote:
On Fri, Jun 08
On Mon, Jun 11, 2012 at 02:29:59AM -0700, Thierry Reding wrote:
* PGP Signed by an unknown key
* Stephen Warren wrote:
Allen Martin amar...@nvidia.com wrote:
On Fri, Jun 08, 2012 at 10:28:57PM -0700, Stephen Warren wrote:
On 06/08/2012 03:27 PM, Allen Martin wrote:
On Fri, Jun 08
On Sat, Jun 09, 2012 at 11:20:34AM -0700, Simon Glass wrote:
+
+Normally CPU is assumed to be the same between the SPL and normal
+u-boot build. However it is possible to specify a different CPU for
+the SPL build for cases where the SPL is expected to run on a
+different CPU model from the
On Sat, Jun 09, 2012 at 11:32:08AM -0700, Simon Glass wrote:
Hi Allen,
On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin
amar...@nvidia.commailto:amar...@nvidia.com wrote:
Add support for tegra20 arm7 boot processor. This processor is used
to power on the Cortex A9 and transfer control
301 - 400 of 502 matches
Mail list logo