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 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 Brandewie This patch adds support for linking device tree

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

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie 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 for building and linking the

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

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie 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 to compile DTS files to

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

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie Adds a kernel command line option "dtb_compat=" 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 a pointer string passe

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

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie 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 the Kconfig file in arc

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

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie 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 --- arch/powerpc/boot/Makefile |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/arch

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

2010-11-16 Thread dirk . brandewie
From: Dirk Brandewie 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 --- arch/microblaze/boot/Makefile | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git

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 Brandewie /* .data section */ #define DATA_DATA \ *(.data) \ @@ -468,7 +482,8 @@ MCOUNT_REC() \ DEV_DISCARD(init.rodata

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 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: Dirk Brandewie /* .data

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 Brandewie >> >> This patch changes arch/powerpc/boot/Makefile to use the generic >> rule build the device tree blobs in scripts/Makef

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 Brandewie 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

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

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie 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 into an x86 image. Patch

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

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie 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 location before the

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

2010-12-01 Thread dirk . brandewie
From: Dirk Brandewie 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 --- arch/x86/platform/ce4100/Makefile | 10 ++ 1 files changed, 10 inser

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

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

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

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

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

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie 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 into an x86 image. Patch

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

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie 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 location before the

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

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

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

2010-12-06 Thread dirk . brandewie
From: Dirk Brandewie 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 --- arch/x86/platform/ce4100/Makefile | 10 ++ 1 files changed, 10 inser

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

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

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 Brandewie - +# DTC +# --- + +# Generate an assembly file to wrap the output of the device

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

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie 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 into an x86 image. Patch

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

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie 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 location before the

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

2010-12-08 Thread dirk . brandewie
From: Dirk Brandewie 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 --- arch/x86/platform/ce4100/Makefile | 10 ++ 1 files changed, 10 inser

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

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

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

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

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

2010-12-14 Thread Dirk Brandewie
On 12/08/2010 07:01 AM, dirk.brande...@gmail.com wrote: From: Dirk Brandewie 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

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

2010-12-21 Thread Dirk Brandewie
On 12/21/2010 06:24 AM, Michal Marek wrote: On 8.12.2010 16:01, dirk.brande...@gmail.com wrote: +quiet_cmd_dt_S_dtb= DTB$@ +quiet_cmd_dtc = DTC $@ Hi, just an aesthetic remark: The target name should start at the 9th column, so there should be 5 spaces after both "DTB" and "DTC". Mich

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

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie 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 into an x86 image. Patch

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

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie 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 location before the

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

2010-12-22 Thread dirk . brandewie
From: Dirk Brandewie 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 --- arch/x86/platform/ce4100/Makefile | 10 ++ 1 files changed, 10 inser

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

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

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

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