public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012
Date: Sat, 31 Mar 2012 16:04:07 +0200	[thread overview]
Message-ID: <20120331160407.20e05b9c@wker> (raw)
In-Reply-To: <20120331154303.21535f51@wker>

On Sat, 31 Mar 2012 15:43:03 +0200
Anatolij Gustschin <agust@denx.de> wrote:
...
> > arm/seaboard                            FAILED FOR: eldk4.2 eldk5.1
> > arm/ventana                             FAILED FOR: eldk4.2 eldk5.1
> 
> These boards actually build without errors and warnings, but
> errors/warnings status is reported by MAKEALL because of the output:
> 
> DTC: dts->dtb  on file "dt.dtb.tmp"
> 
> This could be fixed by
> 
> diff --git a/dts/Makefile b/dts/Makefile
> index 5792afd..d19a622 100644
> --- a/dts/Makefile
> +++ b/dts/Makefile
> @@ -47,7 +47,7 @@ DT_BIN	:= $(obj)dt.dtb
>  
>  $(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts
>  	cat $< | $(CPP) -P $(DTS_CPPFLAGS) - >$@.tmp
> -	$(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} $@.tmp
> +	$(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} $@.tmp 2> /dev/null
>  	rm $@.tmp
>  
>  process_lds = \

Thinking more about this I see that it is wrong. dtc could die
for other reasons and it should be handled as error.
We should fix dtc instead not to output this info to stderr.
Currently it does:

fprintf(stderr, "DTC: %s->%s  on file \"%s\"\n",
                inform, outform, arg);

Thanks,

Anatolij

  reply	other threads:[~2012-03-31 14:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31 12:59 [U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012 Marek Vasut
2012-03-31 13:43 ` Anatolij Gustschin
2012-03-31 14:04   ` Anatolij Gustschin [this message]
2012-03-31 14:12     ` Marek Vasut
2012-03-31 15:51       ` Simon Glass
2012-03-31 15:53         ` Marek Vasut
2012-03-31 16:22 ` Simon Glass
2012-03-31 17:14   ` Marek Vasut
2012-04-02 15:54 ` Tom Rini
2012-04-02 16:10   ` Marek Vasut
2012-04-02 16:21     ` Tom Rini
2012-04-02 16:30       ` Marek Vasut

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=20120331160407.20e05b9c@wker \
    --to=agust@denx.de \
    --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