[0/2] Merge dtc

2007-12-17 Thread David Gibson
Here is a revised set of patches to merge dtc into the kernel tree. The various methods suggested for doing some sort of automagic git pull of the dtc repository into the kernel git all appear to me to be more trouble than they're worth at this stage. So, at this stage this is just a raw patch

[1/2] Merge dtc upstream source

2007-12-17 Thread David Gibson
This large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This patch only imports the upstream sources verbatim, a later patches is needed to actually link it into the kernel Makefiles and use the embedded code during the kernel build. Signed-off-by: David

Re: Merge dtc

2007-12-04 Thread Jon Loeliger
So, like, the other day David Woodhouse mumbled: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. We shouldn't be merging _more_ stuff in. Thanks for chiming in here, David W. As far as I can tell so far, the only two people

Re: Merge dtc

2007-12-04 Thread Josh Boyer
On Tue, 04 Dec 2007 07:25:57 -0600 Jon Loeliger [EMAIL PROTECTED] wrote: So, like, the other day David Woodhouse mumbled: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. We shouldn't be merging _more_ stuff in.

Re: Merge dtc

2007-12-04 Thread Kumar Gala
On Dec 4, 2007, at 9:26 AM, Josh Boyer wrote: On Tue, 04 Dec 2007 07:25:57 -0600 Jon Loeliger [EMAIL PROTECTED] wrote: So, like, the other day David Woodhouse mumbled: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. We

Re: Merge dtc

2007-12-04 Thread David Woodhouse
On Tue, 2007-12-04 at 14:10 +1100, David Gibson wrote: We've been back and forth on this several times, Paul and I finally concluded this was the better option. As long as I can just ignore it and use the separately-shipped dtc, I suppose it doesn't have to bother me too much. It means we can

Re: Merge dtc

2007-12-04 Thread Scott Wood
On Tue, Dec 04, 2007 at 07:25:57AM -0600, Jon Loeliger wrote: So, like, the other day David Woodhouse mumbled: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. We shouldn't be merging _more_ stuff in. Thanks for

Re: Merge dtc

2007-12-04 Thread David Gibson
On Tue, Dec 04, 2007 at 10:04:53AM -0600, Kumar Gala wrote: On Dec 4, 2007, at 9:26 AM, Josh Boyer wrote: On Tue, 04 Dec 2007 07:25:57 -0600 Jon Loeliger [EMAIL PROTECTED] wrote: So, like, the other day David Woodhouse mumbled: I think this is a bad idea -- it's hardly a difficult

Re: Merge dtc

2007-12-04 Thread Paul Mackerras
David Woodhouse writes: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. The trouble is that it's not just people who are making a kernel for a specific embedded board that need dtc. These days anyone who wants to try

Re: Merge dtc

2007-12-04 Thread David Woodhouse
On Wed, 2007-12-05 at 09:21 +1100, Paul Mackerras wrote: David Woodhouse writes: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. The trouble is that it's not just people who are making a kernel for a specific embedded

Re: Merge dtc

2007-12-04 Thread Josh Boyer
On Wed, 5 Dec 2007 09:21:21 +1100 Paul Mackerras [EMAIL PROTECTED] wrote: David Woodhouse writes: I think this is a bad idea -- it's hardly a difficult for those people who _do_ need dts to obtain it separately. The trouble is that it's not just people who are making a kernel for a

Re: Merge dtc

2007-12-04 Thread David Woodhouse
On Tue, 2007-12-04 at 22:33 +, David Woodhouse wrote: Make vmlinux the default target instead of zImage would seem like a better answer. I'm surprised that it isn't like that already, in fact -- and I'm only inferring that it isn't from your message. I always thought that if I typed

Re: Merge dtc

2007-12-04 Thread Paul Mackerras
David Woodhouse writes: Make vmlinux the default target instead of zImage would seem like a better answer. I'm surprised that it isn't like that already, in fact -- and I'm only inferring that it isn't from your message. I always thought that if I typed 'make' I got the vmlinux and not a

Re: Merge dtc

2007-12-04 Thread Josh Boyer
On Wed, 05 Dec 2007 00:54:38 + David Woodhouse [EMAIL PROTECTED] wrote: On Tue, 2007-12-04 at 22:33 +, David Woodhouse wrote: Make vmlinux the default target instead of zImage would seem like a better answer. I'm surprised that it isn't like that already, in fact -- and I'm only

Re: Merge dtc

2007-12-04 Thread Paul Mackerras
Josh Boyer writes: Using that same reasoning, should we merge a mkimage patch for the boards that use U-Boot? I think so. It's fairly small and it would mean that people could cross-compile all the defconfigs easily. Paul. ___ Linuxppc-dev mailing

Re: Merge dtc

2007-12-04 Thread Josh Boyer
On Wed, 5 Dec 2007 13:22:46 +1100 Paul Mackerras [EMAIL PROTECTED] wrote: Josh Boyer writes: Using that same reasoning, should we merge a mkimage patch for the boards that use U-Boot? I think so. It's fairly small and it would mean that people could cross-compile all the defconfigs

Re: Merge dtc

2007-12-04 Thread Josh Boyer
On Tue, 4 Dec 2007 20:26:25 -0600 Josh Boyer [EMAIL PROTECTED] wrote: On Wed, 5 Dec 2007 13:22:46 +1100 Paul Mackerras [EMAIL PROTECTED] wrote: Josh Boyer writes: Using that same reasoning, should we merge a mkimage patch for the boards that use U-Boot? I think so. It's

Re: Merge dtc

2007-12-04 Thread Olof Johansson
On Tue, Dec 04, 2007 at 10:00:12PM -0600, Josh Boyer wrote: So if mkimage is going to be put in-kernel, I'd rather it be in a more generic place. Arguably, dtc should go there as well seeing as how microblaze could probably use it too. Well, kconfig is in scripts/ in spite of not being a

Re: Merge dtc

2007-12-03 Thread David Woodhouse
On Tue, 2007-10-16 at 15:02 +1000, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels with configurations which need a dtb file. Signed-off-by:

Re: Merge dtc

2007-12-03 Thread David Gibson
On Tue, Dec 04, 2007 at 01:59:04AM +, David Woodhouse wrote: On Tue, 2007-10-16 at 15:02 +1000, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build

Re: [PATCH 1/4] Merge dtc and libfdt upstream source

2007-11-12 Thread Scott Wood
On Mon, Nov 12, 2007 at 03:15:24PM +1100, David Gibson wrote: This very large patch incorporates a copy of dtc (including libfdt) into the kernel source, in arch/powerpc/boot/dtc-src. This patch only imports the upstream sources verbatim, later patches are needed to actually link it into the

RE: [PATCH 1/4] Merge dtc and libfdt upstream source

2007-11-12 Thread Stephen Neuendorffer
-Original Message- From: [EMAIL PROTECTED] g [mailto:[EMAIL PROTECTED] zlabs.org] On Behalf Of Scott Wood Sent: Monday, November 12, 2007 9:13 AM To: David Gibson Cc: linuxppc-dev@ozlabs.org; Paul Mackerras Subject: Re: [PATCH 1/4] Merge dtc and libfdt upstream source

Re: [PATCH 1/4] Merge dtc and libfdt upstream source

2007-11-12 Thread David Gibson
On Mon, Nov 12, 2007 at 11:12:40AM -0600, Scott Wood wrote: On Mon, Nov 12, 2007 at 03:15:24PM +1100, David Gibson wrote: This very large patch incorporates a copy of dtc (including libfdt) into the kernel source, in arch/powerpc/boot/dtc-src. This patch only imports the upstream sources

[PATCH 1/4] Merge dtc and libfdt upstream source

2007-11-11 Thread David Gibson
This very large patch incorporates a copy of dtc (including libfdt) into the kernel source, in arch/powerpc/boot/dtc-src. This patch only imports the upstream sources verbatim, later patches are needed to actually link it into the kernel Makefiles and use the embedded code during the kernel

Re: Merge dtc

2007-11-08 Thread Jon Loeliger
David Gibson wrote: Ok. I'll use this version in my next spin; except for adding one dependency you missed, and removing one which should never have been there (unneccessary #include, which I've already fixed in dtc upstream). I think if we embed the DTC in the kernel tree, we should

Re: Merge dtc

2007-11-07 Thread David Gibson
On Fri, Oct 19, 2007 at 08:42:49PM +0200, Sam Ravnborg wrote: Hi David. Give me a day or two then I shall give it a try and see what I can do about it. I will use the previsous posted URL as basis if you do not tell me otherwise. Thank you. The previous URL should be fine, I've

[1/4] Merge dtc and libfdt upstream source

2007-11-07 Thread David Gibson
This very large patch incorporates a copy of dtc (including libfdt) into the kernel source, in arch/powerpc/boot/dtc-src. This patch only imports the upstream sources verbatim, later patches are needed to actually link it into the kernel Makefiles and use the embedded code during the kernel

Re: embedded a default dtb in the kernel (was merge dtc)

2007-10-20 Thread David Gibson
On Fri, Oct 19, 2007 at 01:09:39PM -0600, Grant Likely wrote: On 10/19/07, Leisner, Martin [EMAIL PROTECTED] wrote: Is there a way to embed a default dtb into the kernel? When I build a kernel, I want to embed a dtb into it -- so I don't have to deal with the headaches of finding the

Re: embedded a default dtb in the kernel (was merge dtc)

2007-10-20 Thread David Gibson
On Fri, Oct 19, 2007 at 02:30:28PM -0400, Leisner, Martin wrote: Is there a way to embed a default dtb into the kernel? When I build a kernel, I want to embed a dtb into it -- so I don't have to deal with the headaches of finding the right file to match the right board (its always easier to

Re: Merge dtc

2007-10-19 Thread David Gibson
On Fri, Oct 19, 2007 at 12:56:41AM -0500, Milton Miller wrote: On Oct 18, 2007, at 8:45 PM, David Gibson wrote: On Thu, Oct 18, 2007 at 09:59:26PM +0200, Sam Ravnborg wrote: On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote: On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote:

Re: embedded a default dtb in the kernel (was merge dtc)

2007-10-19 Thread Grant Likely
On 10/19/07, Leisner, Martin [EMAIL PROTECTED] wrote: Is there a way to embed a default dtb into the kernel? When I build a kernel, I want to embed a dtb into it -- so I don't have to deal with the headaches of finding the right file to match the right board (its always easier to deal with 1

Re: Merge dtc

2007-10-19 Thread Sam Ravnborg
Hi David. Give me a day or two then I shall give it a try and see what I can do about it. I will use the previsous posted URL as basis if you do not tell me otherwise. Thank you. The previous URL should be fine, I've made no changes since then. I decided to go for a kbuild specific

embedded a default dtb in the kernel (was merge dtc)

2007-10-19 Thread Leisner, Martin
Is there a way to embed a default dtb into the kernel? When I build a kernel, I want to embed a dtb into it -- so I don't have to deal with the headaches of finding the right file to match the right board (its always easier to deal with 1 file than 2). If there is, it makes sense to put dtc into

Re: Merge dtc

2007-10-19 Thread Sam Ravnborg
Compared to the behemoth that is Kbuild... I'm happy to improve the Makefile integration, but you seem to be rather vague on how, and the Kbuild documentation makes my brain hurt. I can make an ALL UPPERCASE VERSION if that makes it easier for you to read ;-) Give me a day or two then I

Re: Merge dtc

2007-10-18 Thread Milton Miller
On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels with configurations which need a dtb file. Signed-off-by:

Re: Merge dtc

2007-10-18 Thread Sam Ravnborg
On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote: On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels

Re: Merge dtc

2007-10-18 Thread David Gibson
On Thu, Oct 18, 2007 at 09:59:26PM +0200, Sam Ravnborg wrote: On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote: On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This

Re: Merge dtc

2007-10-18 Thread Milton Miller
On Oct 18, 2007, at 8:45 PM, David Gibson wrote: On Thu, Oct 18, 2007 at 09:59:26PM +0200, Sam Ravnborg wrote: On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote: On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel

Re: Merge dtc

2007-10-18 Thread Milton Miller
On Oct 18, 2007, at 8:30 PM, David Gibson wrote: On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote: On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote: Too big for the list, full patch at http://ozlabs.org/~dgibson/home/merge-dtc.patch+ So split it up. The obvious one is

Re: Merge dtc

2007-10-18 Thread David Gibson
On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote: On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build

Re: Merge dtc

2007-10-17 Thread Grant Likely
On 10/16/07, David Gibson [EMAIL PROTECTED] wrote: On Tue, Oct 16, 2007 at 07:17:01AM -0600, Grant Likely wrote: On 10/15/07, David Gibson [EMAIL PROTECTED] wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc

RE: Merge dtc

2007-10-17 Thread Stephen Neuendorffer
-Original Message- From: [EMAIL PROTECTED] g [mailto:[EMAIL PROTECTED] zlabs.org] On Behalf Of Grant Likely Sent: Wednesday, October 17, 2007 6:15 AM To: Grant Likely; Paul Mackerras; Josh Boyer; linuxppc-dev@ozlabs.org Subject: Re: Merge dtc On 10/16/07, David Gibson [EMAIL

Re: Merge dtc

2007-10-17 Thread Timur Tabi
Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. I think we should include mkimage *and* dtc. But then, I'm not sure how much weight my opinion has. :-) -- Timur Tabi Linux Kernel

Re: Merge dtc

2007-10-17 Thread Josh Boyer
On Wed, 17 Oct 2007 14:59:04 -0500 Timur Tabi [EMAIL PROTECTED] wrote: Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. I think we should include mkimage *and* dtc. But then,

Re: Merge dtc

2007-10-17 Thread Grant Likely
On 10/17/07, Josh Boyer [EMAIL PROTECTED] wrote: On Wed, 17 Oct 2007 14:59:04 -0500 Timur Tabi [EMAIL PROTECTED] wrote: Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. I

Re: Merge dtc

2007-10-17 Thread Linas Vepstas
On Wed, Oct 17, 2007 at 02:59:04PM -0500, Timur Tabi wrote: Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. I think we should include mkimage *and* dtc. But then, I'm not sure

Re: Merge dtc

2007-10-16 Thread Benjamin Herrenschmidt
You must have missed the thread where various people where complaining about how powerpc is the only architecture where they can't build kernels without some external tool that they don't have, etc., etc. We thought about shipping compiled DTBs for various platforms, but the problem there

Re: Merge dtc

2007-10-16 Thread Benjamin Herrenschmidt
On Tue, 2007-10-16 at 00:50 -0500, Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. It's a pain in the neck since those are built even for things that don't need them (such as 4xx

Re: Merge dtc

2007-10-16 Thread Kumar Gala
On Oct 16, 2007, at 1:01 AM, Benjamin Herrenschmidt wrote: On Tue, 2007-10-16 at 00:50 -0500, Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. It's a pain in the neck since those

Re: Merge dtc

2007-10-16 Thread Kumar Gala
On Oct 16, 2007, at 1:00 AM, Benjamin Herrenschmidt wrote: You must have missed the thread where various people where complaining about how powerpc is the only architecture where they can't build kernels without some external tool that they don't have, etc., etc. We thought about

Re: Merge dtc

2007-10-16 Thread Josh Boyer
On Tue, 2007-10-16 at 16:01 +1000, Benjamin Herrenschmidt wrote: On Tue, 2007-10-16 at 00:50 -0500, Kumar Gala wrote: Just out of interest who's complaining? We don't include mkimage for u-boot related builds and I haven't seen any gripes related to that. It's a pain in the neck since

Re: Merge dtc

2007-10-16 Thread Kumar Gala
On Oct 16, 2007, at 8:17 AM, Grant Likely wrote: On 10/15/07, David Gibson [EMAIL PROTECTED] wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels with

Re: Merge dtc

2007-10-16 Thread David Gibson
On Tue, Oct 16, 2007 at 07:17:01AM -0600, Grant Likely wrote: On 10/15/07, David Gibson [EMAIL PROTECTED] wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels

Merge dtc

2007-10-15 Thread David Gibson
This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels with configurations which need a dtb file. Signed-off-by: David Gibson [EMAIL PROTECTED] Too big for the list, full

Re: Merge dtc

2007-10-15 Thread David Gibson
On Tue, Oct 16, 2007 at 12:08:06AM -0500, Kumar Gala wrote: On Oct 16, 2007, at 12:02 AM, David Gibson wrote: This very large patch incorporates a copy of dtc into the kernel source, in arch/powerpc/boot/dtc-src. This means that dtc is no longer an external dependency to build kernels

Re: Merge dtc

2007-10-15 Thread Paul Mackerras
Kumar Gala writes: Dare I ask why we are including dtc in the kernel source tree? We don't really have precedence for this and there are users outside of linux for dtc. You must have missed the thread where various people where complaining about how powerpc is the only architecture where

Re: Merge dtc

2007-10-15 Thread Kumar Gala
On Oct 16, 2007, at 12:39 AM, Paul Mackerras wrote: Kumar Gala writes: Dare I ask why we are including dtc in the kernel source tree? We don't really have precedence for this and there are users outside of linux for dtc. You must have missed the thread where various people where