* removing -S option from dtc?
@ 2008-07-30 13:05 Kumar Gala
[not found] ` <9E2D1AC5-F98F-431B-9361-9EA4765785F9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Kumar Gala @ 2008-07-30 13:05 UTC (permalink / raw)
To: Jon Loeliger; +Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A
Jon,
Any thoughts on removing the -S option from dtc. It always seemed
confusing to me and not sure if any really uses it.
- k
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <9E2D1AC5-F98F-431B-9361-9EA4765785F9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>]
* Re: removing -S option from dtc? [not found] ` <9E2D1AC5-F98F-431B-9361-9EA4765785F9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org> @ 2008-07-30 13:10 ` Jon Loeliger [not found] ` <E1KOBRr-0002ku-UK-CYoMK+44s/E@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Jon Loeliger @ 2008-07-30 13:10 UTC (permalink / raw) To: Kumar Gala; +Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A > Jon, > > Any thoughts on removing the -S option from dtc. It always seemed > confusing to me and not sure if any really uses it. > > - k Well, not yet. jdl ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <E1KOBRr-0002ku-UK-CYoMK+44s/E@public.gmane.org>]
* Re: removing -S option from dtc? [not found] ` <E1KOBRr-0002ku-UK-CYoMK+44s/E@public.gmane.org> @ 2008-07-30 13:12 ` Jon Loeliger [not found] ` <E1KOBTw-0002lU-LL-CYoMK+44s/E@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Jon Loeliger @ 2008-07-30 13:12 UTC (permalink / raw) To: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A > > Jon, > > > > Any thoughts on removing the -S option from dtc. It always seemed > > confusing to me and not sure if any really uses it. > > > > - k > > Well, not yet. Well, that was vague in its conciseness. I meant, it's not time to remove it yet. There are still plenty of lingering users that have not figured out U-Boot has improved yet. jdl ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <E1KOBTw-0002lU-LL-CYoMK+44s/E@public.gmane.org>]
* Re: removing -S option from dtc? [not found] ` <E1KOBTw-0002lU-LL-CYoMK+44s/E@public.gmane.org> @ 2008-07-30 13:32 ` Kumar Gala [not found] ` <7EE6D71E-3074-4DCF-A279-15E91825B0A7-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Kumar Gala @ 2008-07-30 13:32 UTC (permalink / raw) To: Jon Loeliger; +Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A On Jul 30, 2008, at 8:12 AM, Jon Loeliger wrote: >>> Jon, >>> >>> Any thoughts on removing the -S option from dtc. It always seemed >>> confusing to me and not sure if any really uses it. >>> >>> - k >> >> Well, not yet. > > Well, that was vague in its conciseness. > > I meant, it's not time to remove it yet. > There are still plenty of lingering users that > have not figured out U-Boot has improved yet. I was thinking we'd keep -p (for padding) but remove -S (pad to a fixed size). - k ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <7EE6D71E-3074-4DCF-A279-15E91825B0A7-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>]
* Re: removing -S option from dtc? [not found] ` <7EE6D71E-3074-4DCF-A279-15E91825B0A7-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org> @ 2008-07-30 13:42 ` Jon Loeliger 2008-07-30 13:59 ` [PATCH] dtc: give advance warning that "-S" is going away Paul Gortmaker [not found] ` <E1KOBwm-0002vc-CT-CYoMK+44s/E@public.gmane.org> 0 siblings, 2 replies; 9+ messages in thread From: Jon Loeliger @ 2008-07-30 13:42 UTC (permalink / raw) To: Kumar Gala; +Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A > > I was thinking we'd keep -p (for padding) but remove -S (pad to a > fixed size). Oh, we can deprecate it and start beating people over the head with removal and upgrade avice tell we are blue. Start by telling Stuart H to remove it. I already tried. jdl ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] dtc: give advance warning that "-S" is going away. 2008-07-30 13:42 ` Jon Loeliger @ 2008-07-30 13:59 ` Paul Gortmaker [not found] ` <1217426356-1248-1-git-send-email-paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org> [not found] ` <E1KOBwm-0002vc-CT-CYoMK+44s/E@public.gmane.org> 1 sibling, 1 reply; 9+ messages in thread From: Paul Gortmaker @ 2008-07-30 13:59 UTC (permalink / raw) To: devicetree-discuss; +Cc: linuxppc-dev, jdl, Paul Gortmaker The "-S" option allowed the specification of a minimum size for the blob, however the main reason for caring about the size is so there is enough padding to add a chosen node by u-boot or whoever. In which case, folks don't really care about the absolute size, but rather the size of the padding added for this -- which is what the "-p" option does. Having the "-S" just confuses people. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- dtc.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dtc.c b/dtc.c index d8fd43b..84bee2d 100644 --- a/dtc.c +++ b/dtc.c @@ -182,6 +182,9 @@ int main(int argc, char *argv[]) if (minsize && padsize) die("Can't set both -p and -S\n"); + if (minsize) + fprintf(stderr, "DTC: Use of \"-S\" is deprecated; it will be removed soon, use \"-p\" instead\n"); + fprintf(stderr, "DTC: %s->%s on file \"%s\"\n", inform, outform, arg); -- 1.5.6.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
[parent not found: <1217426356-1248-1-git-send-email-paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>]
* Re: [PATCH] dtc: give advance warning that "-S" is going away. [not found] ` <1217426356-1248-1-git-send-email-paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org> @ 2008-07-30 14:03 ` Jon Loeliger 2008-07-31 15:43 ` Jon Loeliger 1 sibling, 0 replies; 9+ messages in thread From: Jon Loeliger @ 2008-07-30 14:03 UTC (permalink / raw) To: Paul Gortmaker Cc: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A, devicetree-discuss-mnsaURCQ41sdnm+yROfE0A > The "-S" option allowed the specification of a minimum size for > the blob, however the main reason for caring about the size is > so there is enough padding to add a chosen node by u-boot or > whoever. In which case, folks don't really care about the absolute > size, but rather the size of the padding added for this -- which > is what the "-p" option does. Having the "-S" just confuses people. > > Signed-off-by: Paul Gortmaker <paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org> You rock. > + if (minsize) > + fprintf(stderr, "DTC: Use of \"-S\" is deprecated; it will be r > emoved soon, use \"-p\" instead\n"); > + Or use a U-boot that handles re-sizing automatically. jdl ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] dtc: give advance warning that "-S" is going away. [not found] ` <1217426356-1248-1-git-send-email-paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org> 2008-07-30 14:03 ` Jon Loeliger @ 2008-07-31 15:43 ` Jon Loeliger 1 sibling, 0 replies; 9+ messages in thread From: Jon Loeliger @ 2008-07-31 15:43 UTC (permalink / raw) To: Paul Gortmaker Cc: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A, devicetree-discuss-mnsaURCQ41sdnm+yROfE0A > The "-S" option allowed the specification of a minimum size for > the blob, however the main reason for caring about the size is > so there is enough padding to add a chosen node by u-boot or > whoever. In which case, folks don't really care about the absolute > size, but rather the size of the padding added for this -- which > is what the "-p" option does. Having the "-S" just confuses people. > > Signed-off-by: Paul Gortmaker <paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org> Applied. jdl ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <E1KOBwm-0002vc-CT-CYoMK+44s/E@public.gmane.org>]
* Re: removing -S option from dtc? [not found] ` <E1KOBwm-0002vc-CT-CYoMK+44s/E@public.gmane.org> @ 2008-07-30 13:59 ` Jon Loeliger 0 siblings, 0 replies; 9+ messages in thread From: Jon Loeliger @ 2008-07-30 13:59 UTC (permalink / raw) To: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A > > > > I was thinking we'd keep -p (for padding) but remove -S (pad to a > > fixed size). > > Oh, we can deprecate it and start beating people over > the head with removal and upgrade avice tell we are blue. s/avice/advice s/tell/until/ Rough day. jdl ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-07-31 15:43 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 13:05 removing -S option from dtc? Kumar Gala
[not found] ` <9E2D1AC5-F98F-431B-9361-9EA4765785F9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2008-07-30 13:10 ` Jon Loeliger
[not found] ` <E1KOBRr-0002ku-UK-CYoMK+44s/E@public.gmane.org>
2008-07-30 13:12 ` Jon Loeliger
[not found] ` <E1KOBTw-0002lU-LL-CYoMK+44s/E@public.gmane.org>
2008-07-30 13:32 ` Kumar Gala
[not found] ` <7EE6D71E-3074-4DCF-A279-15E91825B0A7-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2008-07-30 13:42 ` Jon Loeliger
2008-07-30 13:59 ` [PATCH] dtc: give advance warning that "-S" is going away Paul Gortmaker
[not found] ` <1217426356-1248-1-git-send-email-paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2008-07-30 14:03 ` Jon Loeliger
2008-07-31 15:43 ` Jon Loeliger
[not found] ` <E1KOBwm-0002vc-CT-CYoMK+44s/E@public.gmane.org>
2008-07-30 13:59 ` removing -S option from dtc? Jon Loeliger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox