From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 20 Sep 2012 13:09:26 -0500 Subject: [U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile In-Reply-To: <5FBF8E85CA34454794F0F7ECBA79798F379F6FD992@HQMAIL04.nvidia.com> (from TWarren@nvidia.com on Thu Sep 20 11:01:42 2012) Message-ID: <1348164566.8195.2@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/20/2012 11:01:42 AM, Tom Warren wrote: > > -----Original Message----- > > From: Tom Rini [mailto:trini at ti.com] > > Sent: Wednesday, September 19, 2012 6:29 PM > > To: Jos? Miguel Gon?alves > > Cc: Scott Wood; u-boot at lists.denx.de; marex at denx.de; > mk7.kang at 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