From: Jon Loeliger <jdl@freescale.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>,
Wolfgang Denk <wd@denx.de>
Subject: Re: Default flats for running dtc from kernel build
Date: Fri, 06 Jun 2008 10:31:04 -0500 [thread overview]
Message-ID: <1212766264.6788.4.camel@ld0161-tx32> (raw)
In-Reply-To: <A005B9E2-9A1D-4190-AB00-A7C880E4DBDB@kernel.crashing.org>
On Fri, 2008-06-06 at 09:51 -0500, Kumar Gala wrote:
> >
> > I will. But wouldn't it make sense to allow at least for some level
> > of compatibility with older versions of U-Boot? Adding these options
> > as default would probably not hurt?
>
> Agreed. I didn't realize we could actually do this from the kernel
> build system.
>
> I'm sure others will have their two cents to add.
>
> But something like:
>
> diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
> index c40fb82..52db85a 100644
> --- a/arch/powerpc/boot/Makefile
> +++ b/arch/powerpc/boot/Makefile
> @@ -29,6 +29,8 @@ ifdef CONFIG_DEBUG_INFO
> BOOTCFLAGS += -g
> endif
>
> +DTS_FLAGS ?= -R4 -S 0x3000
> +
> ifeq ($(call cc-option-yn, -fstack-protector),y)
> BOOTCFLAGS += -fno-stack-protector
> endif
Hrm. Should we use -p <extra_space> instead of -S <total_space>?
Seems someone added this DTC commit last November:
commit 2b7dc8dce549ad72ad437b254bf756d7ba4c2a5a
Author: Kumar Gala <galak@kernel.crashing.org>
Date: Wed Nov 28 10:21:12 2007 -0600
Add an option to pad the blob that is generated
There are times when we need extra space in the blob and just want
to have it added on w/o know the exact size to make it.
The padding and min size options are mutually exclusive.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
A thought,
jdl
next prev parent reply other threads:[~2008-06-06 15:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 9:05 [PATCH v2 1/4] [POWERPC] 85xx: add board support for the TQM8548 modules Wolfgang Grandegger
2008-06-05 13:43 ` Kumar Gala
2008-06-05 17:19 ` Wolfgang Grandegger
2008-06-05 22:52 ` David Gibson
2008-06-06 10:09 ` Wolfgang Grandegger
2008-06-06 13:59 ` Kumar Gala
2008-06-06 14:33 ` Wolfgang Denk
2008-06-06 14:51 ` Default flats for running dtc from kernel build Kumar Gala
2008-06-06 15:31 ` Jon Loeliger [this message]
2008-06-06 15:42 ` Kumar Gala
2008-06-06 15:44 ` Grant Likely
2008-06-06 16:08 ` Jon Loeliger
2008-06-06 21:39 ` Segher Boessenkool
2008-06-09 9:42 ` Peter Czanik
2008-06-16 3:00 ` Jerry Van Baren
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=1212766264.6788.4.camel@ld0161-tx32 \
--to=jdl@freescale.com \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=wd@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;
as well as URLs for NNTP newsgroup(s).