On 09/20/2012 11:01:42 AM, Tom Warren wrote:
> -----Original Message-----
> From: Tom Rini [mailto:tr...@ti.com]
> Sent: Wednesday, September 19, 2012 6:29 PM
> To: José Miguel Gonçalves
> Cc: Scott Wood; u-boot@lists.denx.de; ma...@denx.de;
mk7.k...@samsung.com;
> Tom Warren
> Subject: Re: [PATCH v4 10/11] Add u-boot-pad.bin target to the
Makefile
>
> Tom W, since I'd like you to upgrade the tegra rules after this
change goes
> in (since they do a u-boot-spl.bin + pad + u-boot.bin + stuff),
does this
> look good to you as well? Thanks!
I'm not clear what you want the final binary names to be. I seem to
be missing segments of this discussion - maybe not CC'd on all
threads?
With Tegra, if you flash u-boot.bin, you'll get a DT-less,
non-functional binary that will print a 'DT missing!' message and
reset ad infinitum. Most folks won't see or care about
u-boot-spl.bin, since it's hidden in the spl/ subdir. I don't see the
use of having a 'u-boot-with-spl.bin' - doesn't u-boot-spl.bin say
the same thing?
u-boot-spl.bin is just the SPL. u-boot-with-spl.bin is SPL plus u-boot.
Or maybe the former could just become spl.bin, and then u-boot-spl.bin
could mean the latter? There's really no reason to put "u-boot" in the
name of every intermediate file that represents something more specific.
If you flash u-boot-dtb-tegra.bin, you'll get a fully functioning
U-Boot. There's an intermediate file (u-boot-dtb.bin) that I assume
is u-boot.bin+dtb - I'm not sure why it's left around - Allen could
comment here.
It's useful to leave intermediate files around for debugging.
So in my eyes, all you really need is u-boot-dtb-tegra.bin - an
unwieldy name, to be sure, but it seems to satisfy your request for a
Soc identifier in the name.
If the only thing Tegra-specific about the output format is that it has
a dtb bundled, I think it should have a more generic name, as other
targets could end up using a dtb as well.
-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot