public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] pull request for u-boot-tegra/master
Date: Tue, 7 Aug 2012 08:53:03 +0200	[thread overview]
Message-ID: <20120807085303.67020c0e@lilith.lan> (raw)
In-Reply-To: <20120806224622.GF7791@nvidia.com>

Hi Allen,

On Mon, 6 Aug 2012 15:46:22 -0700, Allen Martin <amartin@nvidia.com> wrote:
> > > -----Original Message-----
> > > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > > Sent: Sunday, August 05, 2012 1:01 PM
> > > To: Albert ARIBAUD
> > > Cc: Tom Warren; Simon at theia.denx.de; u-boot at lists.denx.de; Stephen Warren;
> > > Tom Warren
> > > Subject: Re: [U-Boot] pull request for u-boot-tegra/master
> > > 
> > > Hi Albert,
> > > 
> > > On Sun, 5 Aug 2012 21:46:21 +0200, Albert ARIBAUD
> > > <albert.u.boot@aribaud.net> wrote:
> > > > Hi Tom,
> > > >
> > > > On Fri, 3 Aug 2012 16:35:40 -0700, Tom Warren <twarren.nvidia@gmail.com>
> > > wrote:
> > > > > Albert,
> > > > >
> > > > > Has this been pulled into ARM master? I don't think I saw a response
> > > > > from you, but I might have missed it.
> > > >
> > > > Sorry Tom, but I have been unavailable for some time and especially on
> > > > jul 30 and 31, so no, it has not been pulled in. :(
> > > >
> > > > I am pulling it in right now, but I have sparse access to Internet right
> > > now.
> > > 
> > > Seems like f414d013c5e129e66c04ff699bd60b34894d3d38 breaks a lot of builds
> > > with the stock Ubuntu linaro toolchain, e.g.
> > > 
> > > ----------------------------------------------------------------------------
> > > ----------
> > > 
> > > $ ./MAKEALL jornada
> > > Configuring for jornada board...
> > > make: *** [jornada_config] Error 1
> > > arm-linux-gnueabi-size: './u-boot': No such file
> > > make: *** No rule to make target `include/autoconf.mk', needed by `depend'.
> > > Stop.
> > > make: *** Waiting for unfinished jobs....
> > > 
> 
> I think I found the problem.  For some reason I don't fully understand
> when a board doesn't have ${soc} defined the following code in mkconfig:
> 
> ( echo "ARCH   = ${arch}"
>     if [ ! -z "$spl_cpu" ] ; then
>         echo 'ifeq ($(CONFIG_SPL_BUILD),y)'
>         echo "CPU    = ${spl_cpu}"
>         echo "else"
>         echo "CPU    = ${cpu}"
>         echo "endif"
>     else
>         echo "CPU    = ${cpu}"
>     fi
>     echo "BOARD  = ${board}"
> 
>     [ "${vendor}" ] && echo "VENDOR = ${vendor}"
>     [ "${soc}"    ] && echo "SOC    = ${soc}" ) > config.mk
> 
> causes the subshell to return a nonzero exit status.  I think the
> behavior may change depending on what shell you have /bin/sh pointing
> to.  Can you try out the following fix to verify?  I'll put together a
> proper patch in the mean time
> 
> diff --git a/mkconfig b/mkconfig
> index 07031c6..d3363c6 100755
> --- a/mkconfig
> +++ b/mkconfig
> @@ -144,7 +144,8 @@ fi
>      echo "BOARD  = ${board}"
> 
>      [ "${vendor}" ] && echo "VENDOR = ${vendor}"
> -    [ "${soc}"    ] && echo "SOC    = ${soc}" ) > config.mk
> +    [ "${soc}"    ] && echo "SOC    = ${soc}"
> +    exit 0 ) > config.mk
> 
>  # Assign board directory to BOARDIR variable
>  if [ -z "${vendor}" ] ; then

Seems to work with this fix applied on top of the current tegra/master.

Tom, can you fix the branch so that the original commit (f414d013...) contains
the fix above, rather than just adding the fix on top of the branch? That'll
help any bisecting through this branch's commits.

Also, Allen:
 
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

Can this be removed from future e-mails to the list?

Amicalement,
-- 
Albert.

  reply	other threads:[~2012-08-07  6:53 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 20:07 [U-Boot] pull request for u-boot-tegra/master Tom Warren
2012-08-03 23:35 ` Tom Warren
2012-08-05 19:46   ` Albert ARIBAUD
2012-08-05 20:01     ` Albert ARIBAUD
2012-08-06 15:53       ` Tom Warren
2012-08-06 17:37         ` Allen Martin
2012-08-06 22:46         ` Allen Martin
2012-08-07  6:53           ` Albert ARIBAUD [this message]
2012-08-07 16:03             ` Tom Warren
2012-08-07 17:15             ` Allen Martin
2012-08-06 15:18     ` Tom Warren
2012-08-07 16:27 ` Tom Warren
  -- strict thread matches above, loose matches on Subject: below --
2012-08-31 21:28 Tom Warren
2012-09-01  6:56 ` Albert ARIBAUD
2012-08-17 23:25 Tom Warren
     [not found] ` <20120818212141.3e4f5a3a@lilith>
     [not found]   ` <CA+m5__J7O=YYWEwTGqTBqiagTL+YU3BR-TyE5M2W_xdesVWqmA@mail.gmail.com>
     [not found]     ` <5032684A.2040703@ti.com>
     [not found]       ` <CA+m5__+prjk_GgvK5uZf1m23t3nsSiYu-nYRcci4my59q7T6-w@mail.gmail.com>
     [not found]         ` <CA+m5__Kiq0-ZYjarTXZRFZTC71wWV=c0fmzCJW=-Dt5fgK+dxA@mail.gmail.com>
     [not found]           ` <20120825103410.7fc86952@lilith>
     [not found]             ` <20120828165448.GD9587@nvidia.com>
     [not found]               ` <20120830083325.031e31d4@lilith>
     [not found]                 ` <CA+m5__+gNxyB1nVSe-8DTE=seqBvOQTz2NsPTh=h3kTOCY9rCw@mail.gmail.com>
     [not found]                   ` <20120830224742.678423bc@lilith>
     [not found]                     ` <5FBF8E85CA34454794F0F7ECBA79798F379E005FB3@HQMAIL04.nvidia.com>
     [not found]                       ` <20120830234733.1aea4c7e@lilith>
     [not found]                         ` <5FBF8E85CA34454794F0F7ECBA79798F379E006051@HQMAIL04.nvidia.com>
2012-08-31  6:32                           ` Albert ARIBAUD
2012-07-09 17:49 Tom Warren
2012-07-09 20:42 ` Albert ARIBAUD
2012-05-31 16:47 Tom Warren
2012-06-07 16:02 ` Tom Warren
2012-06-08 19:36   ` Albert ARIBAUD
2012-06-08 19:41 ` Albert ARIBAUD
2012-06-08 21:44 ` Albert ARIBAUD
2012-06-08 22:00   ` Stephen Warren
2012-06-08 22:36     ` Stephen Warren
2012-06-08 22:52       ` Stephen Warren
2012-06-09  1:53         ` Simon Glass
2012-06-11 21:59           ` Stephen Warren
2012-06-10  8:22 ` Albert ARIBAUD
2012-05-03 15:56 Tom Warren
2012-05-04  7:30 ` Albert ARIBAUD
2012-05-04 15:36   ` Tom Warren
2012-04-26 21:14 Tom Warren
2012-03-28 21:48 Tom Warren
2012-03-29  6:13 ` Albert ARIBAUD
2012-03-09 22:39 Tom Warren
2012-03-10  8:25 ` Wolfgang Denk
2012-03-10 19:34   ` Simon Glass
2012-03-12 19:30     ` Tom Warren
2012-03-12 20:24       ` Simon Glass

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=20120807085303.67020c0e@lilith.lan \
    --to=albert.u.boot@aribaud.net \
    --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