On Thu, Jan 27, 2011 at 11:51 AM, Nicolas Pitre nicolas.pitre@linaro.org wrote:
On Thu, 27 Jan 2011, Grant Likely wrote:
2011/1/26 Grant Likely grant.likely@secretlab.ca:
On Wed, Jan 26, 2011 at 2:49 PM, Nicolas Pitre nicolas.pitre@linaro.org wrote:
On Wed, 26 Jan 2011, Grant Likely wrote:
If I were able to get all the supported Linaro platforms modified and tested to support dt booting, would you be okay with picking up the current dt support series and having CONFIG_OF turned on by default for the next Linaro release? There are also some details to nail down with respect to packaging the .dtb files, but I'm working out those details with Loďc.
May I ask you to create a linaro-2.6.37 branch in your repo based on git://git.linaro.org/kernel/linux-linaro-2.6.37.git and merge your DT branch in it? If the result look sane to you then I should be able to merge it in the current Linaro kernel for people to play with.
Done. My branch is based on 2.6.38-rc1, so I cherry picked rather than rebased. The first two commits are in Linus' tree, the remainder are from devicetree/arm. You can find the result here:
Oops, I've run into a bug. Hold off on this for the moment until I dig it out and squash it.
No problem. I hadn't pushed it out yet.
Alright, everything fixed up now. Here's the new pull request. I'll also be sending out the 2.6.38 based series for review that this branch cherry picks from.
g.
The following changes since commit fa3c5afc525bacfcdd2ba5107da5a2d93a04b32b:
Merge branch 'display-patches-for-linaro-37' of git://dev.omapzoom.org/pub/scm/anand/linux-omap-usb into linaro-2.6.37 (2011-02-09 18:49:56 -0500)
are available in the git repository at:
git://git.secretlab.ca/git/linux-2.6 devicetree/arm-linaro-2.6.37
Grant Likely (7): dt/flattree: Return virtual address from early_init_dt_alloc_memory_arch() of/flattree: Add of_flat_dt_match() helper function arm/dt: Make __vet_atags also accept a dtb image arm/dt: consolidate atags setup into setup_machine_atags arm/dt: probe for platforms via the device tree arm/dt: Basic versatile devicetree support arm/dt: Basic tegra devicetree support
Jeremy Kerr (1): arm/dt: Allow CONFIG_OF on ARM
Rob Herring (1): ARM/dt: map ATAGs when not in first 1MB of RAM
arch/arm/Kconfig | 7 ++ arch/arm/include/asm/mach/arch.h | 2 + arch/arm/include/asm/prom.h | 37 +++++++++ arch/arm/include/asm/setup.h | 3 + arch/arm/kernel/Makefile | 1 + arch/arm/kernel/devtree.c | 136 ++++++++++++++++++++++++++++++++ arch/arm/kernel/head-common.S | 24 ++++-- arch/arm/kernel/head.S | 27 +++++- arch/arm/kernel/setup.c | 78 ++++++++++-------- arch/arm/mach-tegra/board-harmony.c | 6 ++ arch/arm/mach-versatile/versatile_ab.c | 6 ++ arch/arm/mach-versatile/versatile_pb.c | 6 ++ arch/arm/mm/init.c | 11 +++ arch/microblaze/kernel/prom.c | 4 +- arch/mips/kernel/prom.c | 6 +- arch/powerpc/kernel/prom.c | 4 +- drivers/of/fdt.c | 33 +++++++- include/linux/of_fdt.h | 3 +- 18 files changed, 334 insertions(+), 60 deletions(-) create mode 100644 arch/arm/include/asm/prom.h create mode 100644 arch/arm/kernel/devtree.c