From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jos=E9_Miguel_Gon=E7alves?= Date: Fri, 21 Sep 2012 02:08:09 +0100 Subject: [U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile In-Reply-To: <1348164566.8195.2@snotra> References: <1348164566.8195.2@snotra> Message-ID: <505BBDF9.4020102@inov.pt> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 20-09-2012 19:09, Scott Wood wrote: > 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. So, before I resubmit my patch, can you please tell me what should be the name for the file with SPL plus u-boot; 1) u-boot-with-spl.bin 2) u-boot-spl.bin (and rename the SPL only file to 'spl.bin') 3) ??? > >> 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. > > Best regards, Jos? Gon?alves