[PATCH 0/4] V3 Add ability to link device blob(s) into vmlinux

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch set adds the ability to link device tree blobs into vmlinux. Patch 1 implements the changes to include/asm-generic/vmlinux.lds.h and adds a generic rule for generating DTB objects to be linked vmlinux. Patch 2 implements linking a DTB

[PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds support for linking device tree blob(s) into vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking .dtb sections into vmlinux. To maintain compatiblity with the of/fdt driver code platforms MUST copy the blob to a non-init memory

[PATCH 2/4] x86/of: Add building device tree blob(s) into image.

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds linking device tree blob into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/x86/platform/ce4100/Makefile | 10

[PATCH 3/4] of/powerpc: Use generic rule to build dtb's

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/powerpc/boot/Makefile |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch

[PATCH 4/4] microblaze/of: Use generic rule to build dtb's

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/microblaze/boot/Makefile | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 0/4] V3 Add ability to link device blob(s) into vmlinux

2010-12-14 Thread Dirk Brandewie
of the if_changed function. Dirk Brandewie (4): of: Add support for linking device tree blobs into vmlinux x86/of: Add building device tree blob(s) into image. of/powerpc: Use generic rule to build dtb's microblaze/of: Use generic rule to build dtb's Documentation/kbuild/makefiles.txt | 15

[PATCH 0/4] V3 Add ability to link device blob(s) into vmlinux

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch set adds the ability to link device tree blobs into vmlinux. Patch 1 implements the changes to include/asm-generic/vmlinux.lds.h and adds a generic rule for generating DTB objects to be linked vmlinux. Patch 2 implements linking a DTB

[PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds support for linking device tree blob(s) into vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking .dtb sections into vmlinux. To maintain compatiblity with the of/fdt driver code platforms MUST copy the blob to a non-init memory

[PATCH 2/4] x86/of: Add building device tree blob(s) into image.

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds linking device tree blob into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/x86/platform/ce4100/Makefile | 10

[PATCH 3/4] of/powerpc: Use generic rule to build dtb's

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/powerpc/boot/Makefile |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch

[PATCH 4/4] microblaze/of: Use generic rule to build dtb's

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/microblaze/boot/Makefile | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git

[PATCH 0/4] V2 Add ability to link device blob(s) into vmlinux

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch set adds the ability to link device tree blobs into vmlinux. Patch 1 implements the changes to include/asm-generic/vmlinux.lds.h and adds a generic rule for generating DTB objects to be linked vmlinux. Patch 2 implements linking a DTB

[PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds support for linking device tree blob(s) into vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking .dtb sections into vmlinux. To maintain compatiblity with the of/fdt driver code platforms MUST copy the blob to a non-init memory

[PATCH 4/4] microblaze/of: Use generic rule to build dtb's

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/microblaze/boot/Makefile | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH 2/4] x86/of: Add building device tree blob(s) into image.

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds linking device tree blob into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/x86/platform/ce4100/Makefile | 10

[PATCH 3/4] of/powerpc: Use generic rule to build dtb's

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/powerpc/boot/Makefile |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch

Re: [PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-06 Thread Dirk Brandewie
On 12/06/2010 11:02 AM, Sam Ravnborg wrote: On Mon, Dec 06, 2010 at 09:35:59AM -0800, dirk.brande...@gmail.com wrote: From: Dirk Brandewiedirk.brande...@gmail.com - +# DTC +# --- + +# Generate an assembly file to wrap the

[PATCH 0/4] V2 Add ability to link device blob(s) into vmlinux

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch set adds the ability to link device tree blobs into vmlinux. Patch 1 implements the changes to include/asm-generic/vmlinux.lds.h and adds a generic rule for generating DTB objects to be linked vmlinux. Patch 2 implements linking a DTB

[PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds support for linking device tree blob(s) into vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking .dtb sections into vmlinux. To maintain compatiblity with the of/fdt driver code platforms MUST copy the blob to a non-init memory

[PATCH 2/4] x86/of: Add building device tree blob(s) into image.

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds linking device tree blob into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/x86/platform/ce4100/Makefile | 10

[PATCH 3/4] of/powerpc: Use generic rule to build dtb's

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/powerpc/boot/Makefile |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch

[PATCH 4/4] microblaze/of: Use generic rule to build dtb's

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/microblaze/boot/Makefile | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH 0/5] Add the ability to link device blobs into vmlinux

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch set adds the ability to link device tree blob(s) directly into the vmlinux image and specify the blob to be used via a kernel command line option. Patch 1 implements the changes to include/asm-generic/vmlinux.lds.h, add generic rules

[PATCH 1/5] of: Add support for linking device tree blobs into vmlinux

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds support for linking device tree blobs into vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking .dtb.init.rodata sections into the .init.data section of the vmlinux image. Modifies scripts/Makefile.lib to add a kbuild command

[PATCH 2/5] of/fdt: add kernel command line option for dtb_compat string

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com Adds a kernel command line option dtb_compat=string and functions for architecture/platform specific code to retrieve the command line string and locate the compatible DTB linked into the kernel of_flat_dt_get_dtb_compatible_string() returns

[PATCH 3/5] x86/of: Add building device tree blob(s) into image.

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch adds linking device tree blobs into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. e.g: obj-$(CONFIG_TEST_DTB) += test.dtb.o The set of DTB linked into the image is controlled

[PATCH 4/5] of/powerpc: Move build to use generic dts-dtb rule

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch changes arch/powerpc/boot/Makefile to use the generic rule build the device tree blobs in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/powerpc/boot/Makefile |7 --- 1 files changed, 0

[PATCH 5/5] of/microblaze: Move build to use generic dts-dtb rule

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com This patch changes arch/microblaze/boot/Makefile to use the generic rule build the device tree blobs in scripts/Makefile.lib Signed-off-by: Dirk Brandewie dirk.brande...@gmail.com --- arch/microblaze/boot/Makefile | 13 + 1 files

Re: [PATCH 1/5] of: Add support for linking device tree blobs into vmlinux

2010-11-16 Thread Dirk Brandewie
On 11/16/2010 04:39 PM, David Daney wrote: Thanks for doing this. However I have a few comments... On 11/16/2010 02:41 PM, dirk.brande...@gmail.com wrote: From: Dirk Brandewiedirk.brande...@gmail.com /* .data section */ #define DATA_DATA \ *(.data) \ @@ -468,7 +482,8 @@ MCOUNT_REC() \

Re: [PATCH 1/5] of: Add support for linking device tree blobs into vmlinux

2010-11-16 Thread Dirk Brandewie
On 11/16/2010 06:58 PM, Grant Likely wrote: On Tue, Nov 16, 2010 at 7:21 PM, Dirk Brandewie dirk.brande...@gmail.com wrote: On 11/16/2010 04:39 PM, David Daney wrote: Thanks for doing this. However I have a few comments... On 11/16/2010 02:41 PM, dirk.brande...@gmail.com wrote: From

Re: [PATCH 4/5] of/powerpc: Move build to use generic dts-dtb rule

2010-11-16 Thread Dirk Brandewie
On 11/16/2010 10:06 PM, Grant Likely wrote: On Tue, Nov 16, 2010 at 02:41:39PM -0800, dirk.brande...@gmail.com wrote: From: Dirk Brandewiedirk.brande...@gmail.com This patch changes arch/powerpc/boot/Makefile to use the generic rule build the device tree blobs in scripts/Makefile.lib

Re: [PATCH 3/5] x86/of: Add building device tree blob(s) into image.

2010-11-16 Thread Dirk Brandewie
On 11/16/2010 10:02 PM, Grant Likely wrote: On Tue, Nov 16, 2010 at 02:41:38PM -0800, dirk.brande...@gmail.com wrote: From: Dirk Brandewiedirk.brande...@gmail.com This patch adds linking device tree blobs into vmlinux. DTB's are added by adding the blob object name to list of objects to be

Re: [PATCH 1/2] of: Add support for linking device tree blobs into vmlinux

2010-11-15 Thread Dirk Brandewie
On 11/15/2010 09:17 PM, Grant Likely wrote: On Mon, Nov 15, 2010 at 10:06 PM, Dirk Brandewie dirk.brande...@gmail.com wrote: On 11/15/2010 08:41 PM, Grant Likely wrote: On Mon, Nov 15, 2010 at 08:01:20PM -0800, dirk.brande...@gmail.com wrote: From: Dirk Brandewiedirk.brande...@gmail.com