Skip to content

arm: initial device tree support (#3)

David Vrabel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Changes since v2 from the cover letter

- use the CONFIG_DTB_FILE variable instead of a hardcoded path for the DTB file.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8libfdt: add version 1.3.0xen/common/libfdt/Makefile.libfdt xen/common/libfdt/TODO xen/common/libfdt/fdt.c +10 more+3211 -00 replies
2/8libfdt: fixup libfdt_env.h for xenxen/common/libfdt/libfdt_env.h xen/include/xen/types.h+12 -170 replies
3/8libfdt: add to buildxen/arch/arm/Rules.mk xen/common/Makefile xen/common/libfdt/Makefile+8 -00 replies
4/8arm: link a device tree blob into the xen imageconfig/arm.mk xen/arch/arm/Makefile xen/arch/arm/dtb.S +2 more+26 -14 replies
5/8arm: map device tree blob in initial page tablesxen/arch/arm/head.S xen/arch/arm/mm.c xen/include/asm-arm/config.h+18 -20 replies
6/8arm: add early_printk()xen/arch/arm/Makefile xen/arch/arm/early_printk.c xen/include/asm-arm/early_printk.h+100 -00 replies
7/8arm, device tree: parse the DTB for RAM location and sizexen/arch/arm/mm.c xen/arch/arm/setup.c xen/common/Makefile +3 more+228 -45 replies
8/8arm: setup MM using information from the device treexen/arch/arm/kernel.c xen/arch/arm/mm.c xen/arch/arm/setup.c +4 more+107 -390 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchTim DeeganIan Campbell
1/8A-b
2/8A-b
3/8A-b
4/8A-b A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] arm: initial device tree support (#3)

This series adds preliminary device tree support to Xen for ARM.

libfdt for parsing a device tree in flattened device tree (fdt) format and added and used to find the location and size of RAM. This info is then used when relocating Xen and setting up the mm and heaps.

Since we don't have a bootloader when using the model the device tree blob (DTB) is linked into .dtb section of the Xen image. The CONFIG_DTB_FILE make variable (set in .config or on the make command line) gives the name of the DTB file to use. See the wiki[1] for a device tree for the model.

This series is also available in the device-tree-v3 branch of
git://xenbits.xen.org/people/dvrabel/xen-unstable.git

Changes since v2:

- use the CONFIG_DTB_FILE variable instead of a hardcoded path for the DTB file.

Changes since v1:

- map DTB in head.S using the L2 slot after the fixmap.
- new patch 8 for setting up mm/heaps.

David

[1] http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions