Skip to content

RFC Adding DTB to architecture independent vmlinux

[email protected] linux-devicetree 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest posting 2/24 patches 17 repliesIn review
  2. v4 RFC posting 1/20 of 4 patches 1 replySuperseded
  3. v3 RFC0 of 2 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC1 patch14 repliesSuperseded
v1 RFC1 patch3 repliesSuperseded

Changes in v4 from the cover letter

Added kernel command line option to pass a "compatible" string to select the DTB for the platform.

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/of: Support building device tree blob(s) into image.arch/x86/Kconfig arch/x86/boot/dts/Kconfig arch/x86/kernel/Makefile+24 -11 reply
2/4of: Add support for linking device tree blobs into vmlinuxinclude/asm-generic/vmlinux.lds.h init/Kconfig scripts/Makefile.lib+33 -13 replies
3/4of/dtc: force dtb size to modulo 32 bytesscripts/dtc/flattree.c+5 -18 replies
4/4of/fdt: add kernel command line option for dtb_compat stringdrivers/of/fdt.c include/linux/of_fdt.h+61 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH 0/4] [RFC V4] Adding DTB to architecture independent vmlinux

From: Dirk Brandewie <[email protected]>

The following series implements the ability to link device tree blob(s) into the kernel image.

Changes since V3:
Added kernel command line option to pass a "compatible" string to select the DTB for the platform.

Added function to find the compatible DTB in the kernel image if any

Added code to dtc to force the DTB to be modulo 32 bytes in size

Changed the alignment of the .dtb section

Dirk Brandewie (4):
x86/of: Support building device tree blob(s) into image.
of: Add support for linking device tree blobs into vmlinux of/dtc: force dtb size to modulo 32 bytes
of/fdt: add kernel command line option for dtb_compat string

 arch/x86/Kconfig                  |    6 +++-
 arch/x86/boot/dts/Kconfig         |    8 +++++
 arch/x86/kernel/Makefile          |   11 ++++++++
 drivers/of/fdt.c                  |   52 +++++++++++++++++++++++++++++++++++++
 include/asm-generic/vmlinux.lds.h |   13 ++++++++-
 include/linux/of_fdt.h            |    9 ++++++
 init/Kconfig                      |    7 +++++
 scripts/Makefile.lib              |   14 ++++++++++
 scripts/dtc/flattree.c            |    6 +++-
 9 files changed, 123 insertions(+), 3 deletions(-)
 create mode 100644 arch/x86/boot/dts/Kconfig
Signature · 1 line
1.7.2.3