public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Allen Martin <amartin@nvidia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ./MAKEALL arm is buggy
Date: Wed, 29 Aug 2012 11:33:06 -0700	[thread overview]
Message-ID: <20120829183306.GE9587@nvidia.com> (raw)
In-Reply-To: <5FBF8E85CA34454794F0F7ECBA79798F379DE72FE1@HQMAIL04.nvidia.com>

On Wed, Aug 29, 2012 at 09:55:17AM -0700, Tom Warren wrote:
> Allen/Albert,
> 
> > -----Original Message-----
> > From: Allen Martin [mailto:amartin at nvidia.com]
> > Sent: Tuesday, August 28, 2012 5:08 PM
> > To: Tom Warren; swarren at wwwdotorg.org; sjg at chromium.org;
> > thierry.reding at avionic-design.de; dev at lynxeye.de
> > Cc: u-boot at lists.denx.de; Allen Martin
> > Subject: [PATCH v10 00/16] split tegra20 arm7 code into separate SPL
> >
> > 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
> > that runs on both both the ARM7TDMI and A9.  This was very fragile as
> > changes to compiler options or any additions or rearranging of the early
> > boot code could add additional armv7 specific code causing it to fail on the
> > ARM7TDMI.
> >
> > This patch series pulls all the armv4t code out into a separate SPL that
> > does nothing more than initialize the A9 and transfer control to it.  The
> > resultint SPL and armv7 u-boot are concatenated together into a single
> > image.
> >
> > This patch series is also available from:
> > git://github.com/arm000/u-boot.git
> > branch: tegra-spl-v10
> >
> > Changes:
> > v10:
> >  - added fix to MAKEALL script so that it correctly parses new  boards.cfg
> 
> I applied this to u-boot-tegra/master and pushed the new code upstream. The pull request remains the same (except for the inclusion of the MAKEALL patch, of course). I can send a new one if required - please let me know.
> 
> Currently running a ./MAKEALL arm - I assume it'll complete w/o errors (except for the ohci-hcd.c warnings I mentioned previously that are not due to this patch series).
> 

Changing subject line to get Albert's attention

Thanks Tom.  I traced down why "./MAKEALL arm" and "./MAKEALL -a arm"
come up with a different list of boards.  It's because the LIST_arm
rule in MAKEALL which "./MAKEALL arm" uses is buggy and error prone.
It's building all the Atmel boards twice and skipping a bunch of others
like the arm720t, arm946es, and arm1176 boards.

I'm going to work on a patch to make LIST_arm use the same logic as
"./MAKEALL -a arm" but in the mean time I strongly suggest using
"./MAKEALL -a arm" since it generates the correct list of boards.

-Allen
-- 
nvpublic

  reply	other threads:[~2012-08-29 18:33 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29  0:07 [U-Boot] [PATCH v10 00/16] split tegra20 arm7 code into separate SPL Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 01/16] tegra20: rename tegra2 -> tegra20 Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 02/16] tegra20: move tegra20 SoC code to arch/arm/cpu/tegra20-common Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 03/16] tegra20: rename CONFIG_MACH_TEGRA_GENERIC Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 04/16] tegra20: tec: add tegra20-common-post.h Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 05/16] tegra20: make board mkdir commands unconditional Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 06/16] mkconfig: remove bashisms and cleanup config.mk generation Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 07/16] MAKEALL: update to work with new boards.cfg syntax Allen Martin
2012-08-29  8:22   ` [U-Boot] [PATCH] MUSB driver: Timeout is never detected as the while loop does not end Matej Frančeškin
2012-08-29 11:00     ` Marek Vasut
2012-08-30  7:24   ` Matej Frančeškin
2012-08-30 18:18     ` Tom Rini
2012-08-30 18:35     ` Marek Vasut
2012-08-29  0:07 ` [U-Boot] [PATCH v10 08/16] ARM: Fix arm720t SPL build Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 09/16] tegra20: remove timer_init from " Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 10/16] ARM: add tegra20 support to arm720t Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 11/16] tegra20: add u-boot-*-tegra.bin targets Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 12/16] tegra20: move SDRAM param save to later in boot Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 13/16] tegra20: enable SPL for tegra20 boards Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 14/16] arm: enable libgcc build for SPL Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 15/16] spl: fix SPL build of private libgcc Allen Martin
2012-08-29  0:07 ` [U-Boot] [PATCH v10 16/16] tegra20: Remove armv4t build flags Allen Martin
2012-08-29 16:55 ` [U-Boot] [PATCH v10 00/16] split tegra20 arm7 code into separate SPL Tom Warren
2012-08-29 18:33   ` Allen Martin [this message]
2013-02-09  7:31     ` [U-Boot] ./MAKEALL arm is buggy Albert ARIBAUD
2013-02-09  7:34       ` [U-Boot] ./MAKEALL arm is buggy - scratch that Albert ARIBAUD
2012-08-29 20:54   ` [U-Boot] [PATCH v10 00/16] split tegra20 arm7 code into separate SPL Lucas Stach
     [not found]     ` <5FBF8E85CA34454794F0F7ECBA79798F379E005CEF@HQMAIL04.nvidia.com>
2012-08-30  8:41       ` Albert ARIBAUD
2012-08-30 15:42         ` Tom Warren
2012-08-30 16:30         ` Allen Martin

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=20120829183306.GE9587@nvidia.com \
    --to=amartin@nvidia.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox