From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile
Date: Wed, 19 Sep 2012 13:17:16 -0700 [thread overview]
Message-ID: <20120919201716.GF12703@bill-the-cat> (raw)
In-Reply-To: <1348079810.22800.5@snotra>
On Wed, Sep 19, 2012 at 01:36:50PM -0500, Scott Wood wrote:
> On 09/19/2012 01:19:45 PM, Tom Rini wrote:
> >On Wed, Sep 19, 2012 at 11:11:08AM -0600, Stephen Warren wrote:
> >> On 09/19/2012 10:58 AM, Jos? Miguel Gon?alves wrote:
> >> > On 19-09-2012 17:10, Scott Wood wrote:
> >> >> On 09/19/2012 06:25:26 AM, Jos? Miguel Gon?alves wrote:
> >> >>> Samsung's S3C24XX SoCs need this in order to generate a
> >binary image
> >> >>> with a padded SPL concatenated with U-Boot.
> >> >>
> >> >> I still think "pad" is a lousy name for this. It refers to a
> >minor
> >> >> implementation detail of how the image was put together.
> >> >>
> >> >> If you don't like the suggestions in
> >> >>
> >http://lists.denx.de/pipermail/u-boot/2012-September/134191.html,
> >how
> >> >> about
> >> >> "u-boot-with-spl.bin"?
> >> >
> >> > I used a suggestion made by Christian Riesch and accepted by
> >Tom Rini.
> >
> >Sorry for the churn, really, but..
> >
> >> > I'm totally cool with any name that the U-Boot core
> >maintainers would
> >> > like to use, though I would prefer a shorter name than
> >> > "u-boot-with-spl.bin" because I'm lazy and don't like to type
> >too many
> >> > keys when I upgrade by tftp :-) Because of that I think I
> >would prefer
> >> > "u-boot-all.bin". So, everybody agrees with that name?
> >>
> >> Hmmm. What does "all" mean? It's not that descriptive.
> >>
> >> On Tegra we currently have:
> >>
> >> u-boot-spl.bin - just SPL.
> >> u-boot.bin - just main U-Boot, I think.
> >> u-boot-dtb.bin - main U-Boot plus an appended DTB, I think.
> >> u-boot-dtb-tegra.bin - SPL+U-Boot+DTB.
> >
> >As this, and other examples show, there's not really good generic
> >names.
> >Go with u-boot.s3c24xx as the target and output, please. This is
> >consistent with the other targets and outputs where we throw something
> >that identifies the SoC/etc into the target/name.
>
> So we're just going to duplicate this rule with a different name for
> every target that just needs a simple concatenation? Like the bad
> old days of having a rule for every target in the makefile? Come
> on.
>
> Plus, I don't like using a semi-generic name in the output file
> because it then looks to the user as if this is a U-Boot that covers
> that entire family of devices, rather than just the target it was
> built for. At least with fully generic names like "u-boot.bin" it
> should be obvious to most people that it doesn't cover every single
> target. If we must have a non-generic output name, base it on the
> actual target name using a pattern rule -- but I do not see what's
> wrong with a generic name. Not necessarily something that works for
> every target -- that's a strawman -- just something that describes
> the output of this rule in a way that isn't overly specific.
I suck at naming. I admit it. And I've written, read, rewritten a
reply a few times now. So, lets go with this. u-boot.bin is the "I
just need u-boot, in binary form, to boot". Lets try
u-boot-with-spl.bin as "I just need spl, some padding and u-boot, as
bins, to boot".
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120919/4773dd16/attachment.pgp>
next prev parent reply other threads:[~2012-09-19 20:17 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 11:25 [U-Boot] [PATCH v4 00/11] S3C24XX: Add support to MINI2416 board José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 01/11] Add configuration option to select printf() inclusion on SPL José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 03/11] serial: Add support to 4 ports in serial_s3c24x0 José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 04/11] serial: Use a more precise baud rate generation for serial_s3c24x0 José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 05/11] serial: Remove unnecessary delay in serial_s3c24x0 José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 06/11] rtc: Improve rtc_get() on s3c24x0_rtc José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 07/11] rtc: Fix rtc_reset() " José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 08/11] rtc: Don't allow setting unsuported years " José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 09/11] S3C24XX: Add NAND Flash driver José Miguel Gonçalves
2012-09-19 16:19 ` Scott Wood
2012-09-19 16:34 ` José Miguel Gonçalves
2012-09-19 11:25 ` [U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile José Miguel Gonçalves
2012-09-19 16:10 ` Scott Wood
2012-09-19 16:58 ` José Miguel Gonçalves
2012-09-19 17:08 ` Scott Wood
2012-09-19 17:40 ` José Miguel Gonçalves
2012-09-19 17:11 ` Stephen Warren
2012-09-19 18:19 ` Tom Rini
2012-09-19 18:36 ` Scott Wood
2012-09-19 20:17 ` Tom Rini [this message]
2012-09-19 18:44 ` José Miguel Gonçalves
2012-09-19 22:39 ` Scott Wood
2012-09-19 23:31 ` Tom Rini
2012-09-19 23:36 ` Scott Wood
2012-09-19 23:40 ` Tom Rini
2012-09-20 0:38 ` José Miguel Gonçalves
2012-09-20 1:29 ` Tom Rini
2012-09-20 16:01 ` Tom Warren
2012-09-20 16:23 ` Tom Rini
2012-09-20 16:32 ` Tom Warren
2012-09-20 18:09 ` Scott Wood
2012-09-21 1:08 ` José Miguel Gonçalves
2012-09-21 5:43 ` Wolfgang Denk
2012-09-21 8:13 ` José Miguel Gonçalves
2012-09-21 15:52 ` Wolfgang Denk
2012-09-21 16:08 ` Marek Vasut
2012-09-21 16:13 ` Tom Rini
2012-09-21 16:26 ` José Miguel Gonçalves
2012-09-21 16:38 ` Tom Rini
2012-09-21 16:37 ` Langer Thomas
2012-09-21 18:33 ` Scott Wood
2012-09-21 18:43 ` Marek Vasut
2012-09-21 19:03 ` Scott Wood
2012-09-21 19:24 ` Marek Vasut
2012-09-21 19:33 ` Scott Wood
2012-09-23 16:25 ` Wolfgang Denk
2012-09-19 11:25 ` [U-Boot] [PATCH v4 11/11] S3C24XX: Add support to MINI2416 board José Miguel Gonçalves
2012-09-19 19:18 ` Tom Rini
2012-09-19 20:34 ` José Miguel Gonçalves
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=20120919201716.GF12703@bill-the-cat \
--to=trini@ti.com \
--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