All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] [PATCH V3 0/2] Adding DTB to architecture independent vmlinux
@ 2010-11-10 18:52 dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <cover.1289411770.git.dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w @ 2010-11-10 18:52 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	sodaville-hfZtesqFncYOwBW4kG4KsQ
  Cc: arjan-VuQAYsv1563Yd54FQh9/CA

From: Dirk Brandewie <dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

These patches add support for linking device tree blob(s) into
vmlinux.

The changes since V2:
patch has been split into architecture independent and x86 specific
parts.

The DTB's have been moved into the .init.data section.

The DTB's linked into vmlinux is controlled by kernel config
variables. Specifying the DTB on the make command line is gone.

Linking multiple DTB's into image is supported. (suggested by David
VomLehn and refined with the help of HPA and Grant Likely)

Specific issues I would like feed back on:
Is the padding added on the dtc invocation needed since the paltform
code will have to copy the tree out of the init section?

Setting $(dtstree) in the arch specific makefile is required is there
a better write the cmd_dtc in Makefile.lib?

Things on the TODO list:
[generic]
Pass DTB name/compatible string on the kernel command line.
Add funciton to find "compatible" root node in the set of DTB's linked
in.
[x86]
Add function to relocate DTB whose address is passed in via setup_data
ala init_rd.

Comments/Suggestions?

Dirk Brandewie (2):
  of: Add support for linking device tree blobs into vmlinux
  x86/of:  Support building device tree blob(s) into image.

 arch/x86/Kconfig                  |    6 +++++-
 arch/x86/boot/dts/Kconfig         |    8 ++++++++
 arch/x86/kernel/Makefile          |   11 +++++++++++
 include/asm-generic/vmlinux.lds.h |   12 ++++++++++++
 init/Kconfig                      |    7 +++++++
 scripts/Makefile.lib              |   14 ++++++++++++++
 6 files changed, 57 insertions(+), 1 deletions(-)
 create mode 100644 arch/x86/boot/dts/Kconfig

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-10 21:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-10 18:52 [RFC] [PATCH V3 0/2] Adding DTB to architecture independent vmlinux dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <cover.1289411770.git.dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-10 18:46   ` [sodaville] " H. Peter Anvin
     [not found]     ` <4CDAE874.1000707-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2010-11-10 19:06       ` Dirk Brandewie
     [not found]         ` <4CDAED3C.6010304-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-10 18:53           ` H. Peter Anvin
     [not found]             ` <4CDAEA26.6040206-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2010-11-10 18:55               ` Grant Likely
     [not found]                 ` <AANLkTimgLO0vAQiF4uwHkHnz7SHxiq+KD2iUYV_Y8-Fk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 21:33                   ` Dirk Brandewie
2010-11-10 18:52   ` [PATCH 1/3] of: Add support for linking device tree blobs into vmlinux dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w
2010-11-10 18:52   ` [PATCH 2/3] x86/of: Support building device tree blob(s) into image dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.