linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: Peter Tyser <ptyser@xes-inc.com>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: [PATCH 2/3] powerpc: Add support for creating FIT uImages
Date: Tue, 24 Nov 2009 11:32:52 +0100	[thread overview]
Message-ID: <4B0BB654.9030604@denx.de> (raw)

Peter Tyser <ptyser wrote:
> +uboot.fit)
> +    rm -f "$ofile"
> +    ${MKITS} -A ppc -C gzip -a $membase -e $membase -v $version \
> +	-d "$srctree/$dtb" -k "$srctree/$vmz" -o "$object/uImage.its"
> +    ${MKIMAGE} -f "$object/uImage.its" "$ofile"

Hi,

I have tested your patches against last mkimage utility provided with
u-boot. The utility requires to pass the type of the image (flat_dt),
even if this is not mentioned in the help output. Without the image type
parameter, no image is generated, and no error is reported.
It should be:

    ${MKIMAGE} -f "$object/uImage.its" - T flat_dt "$ofile"

I have tried to get an image for the lite5200b board, because I have the
possibility to test the result on the target. However, dtc fails to
compile the its generated by your script (Version: DTC 1.2.0-g0ef21055,
cloned from jdt).

DTC: dts->dtb  on file "arch/powerpc/boot/uImage.its"
Error: arch/powerpc/boot/uImage.its 1:0 syntax error

Do you test in different conditions ?

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de
=====================================================================

             reply	other threads:[~2009-11-24 10:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 10:32 Stefano Babic [this message]
2009-11-24 16:48 ` [PATCH 2/3] powerpc: Add support for creating FIT uImages Peter Tyser
  -- strict thread matches above, loose matches on Subject: below --
2009-11-25 10:11 Stefano Babic
2009-11-25 16:21 ` Peter Tyser
2009-11-18 20:57 [PATCH 0/3] powerpc: Add support for " Peter Tyser
2009-11-18 20:57 ` [PATCH 2/3] powerpc: Add support for creating " Peter Tyser

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=4B0BB654.9030604@denx.de \
    --to=sbabic@denx.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=ptyser@xes-inc.com \
    /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;
as well as URLs for NNTP newsgroup(s).