Skip to content

RFC: arm: (really) minimal device tree support

David Vrabel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7libfdt: add version 1.3.0xen/common/libfdt/Makefile.libfdt xen/common/libfdt/TODO xen/common/libfdt/fdt.c +10 more+3211 -00 replies
2/7libfdt: add to buildxen/common/Makefile xen/common/libfdt/Makefile+6 -00 replies
3/7arm: link a device tree blob into the xen imagexen/arch/arm/Makefile xen/arch/arm/dtb.S xen/arch/arm/head.S +1 more+18 -21 reply
4/7arm: map device tree blob in initial page tablesxen/arch/arm/head.S+5 -03 replies
5/7libfdt: fixup libfdt_env.h for xenxen/common/libfdt/libfdt_env.h xen/include/xen/types.h+12 -170 replies
6/7arm: add early_printk()xen/arch/arm/Makefile xen/arch/arm/early_printk.c xen/include/asm-arm/early_printk.h+100 -00 replies
7/7arm, device tree: parse the DTB for RAM location and sizexen/arch/arm/mm.c xen/arch/arm/setup.c xen/common/Makefile +3 more+225 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] RFC: arm: (really) minimal device tree support

This set of patches adds libfdt and some minimal infrastructure for parsing a DTB. The DTB is linked into the Xen image since there isn't a bootloader when running on the model. Information on available RAM is obtained and used to get the address to relocate Xen to (the MM is still initialized with hard-coded values, I'll be fixing this next).

I also added an early_printk() function since its needed when doing the early scan of the DTB. It's not very platform-independant but it should do for now.

So, not really a lot here but I think it would be useful to get the basic infrastructure reviewed a bit before making more use of it.

David