[PATCH v2 00/21] FDT clean-ups and libfdt support

Stephen N Chivers schivers at csc.com.au
Wed Apr 30 10:33:53 EST 2014

> From: Rob Herring <robherring2 at gmail.com>
> To: Grant Likely <grant.likely at linaro.org>, linux-
> kernel at vger.kernel.org, devicetree at vger.kernel.org
> Cc: Rob Herring <robh at kernel.org>, Aurelien Jacquiot <a-
> jacquiot at ti.com>, Benjamin Herrenschmidt <benh at kernel.crashing.org>,
> Chris Zankel <chris at zankel.net>, "H. Peter Anvin" <hpa at zytor.com>, 
> Ingo Molnar <mingo at redhat.com>, James Hogan <james.hogan at imgtec.co>
> Date: 04/30/2014 09:45 AM
> Subject: [PATCH v2 00/21] FDT clean-ups and libfdt support
> Sent by: linux-kernel-owner at vger.kernel.org
> From: Rob Herring <robh at kernel.org>
> This is a series of clean-ups of architecture FDT code and converts the
> core FDT code over to using libfdt functions. This is in preparation
> to add FDT based address translation parsing functions for early
> console support. This series removes direct access to FDT data from all
> arches except powerpc.
> The current MIPS lantiq and xlp DT code is buggy as built-in DTBs need
> to be copied out of init section. Patches 2 and 3 should be applied to
> 3.15.
> Changes in v2 are relatively minor. There was a bug in the unflattening
> code where walking up the tree was not being handled correctly (thanks
> to Michal Simek). I re-worked things a bit to avoid globally adding
> libfdt include paths.
> A branch is available here[1], and I plan to put into linux-next in a 
> days. Please test! I've compiled on arm, arm64, mips, microblaze, 
> and powerpc and booted on arm and arm64.
I have tested this for PowerPC using a snapshot of libfdt[1] collected 
the today (30/04/2014).

The computers used were 32 bit, Freescale and IBM/AMCC CPUs:

        MVME5100 - Motorola/Fresscale CPU - PPCBug firmware
        SAM440EP - IBM/AMCC - U-Boot firmware

Tested-by: Stephen Chivers <schivers at csc.com>

Stephen Chivers,
CSC Australia Pty. Ltd.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git libfdt

More information about the Linuxppc-dev mailing list