From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 46C9ADDEDC for ; Thu, 12 Apr 2007 02:31:00 +1000 (EST) Message-ID: <461D0D2E.5030300@freescale.com> Date: Wed, 11 Apr 2007 11:30:38 -0500 From: Scott Wood MIME-Version: 1.0 To: Milton Miller Subject: Re: [PATCH 6/8] bootwrapper: convert flatdevtree to version 16 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev@ozlabs.org, Paul Mackerras , David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Milton Miller wrote: > kexec-tools still produces a version 2 device tree, while the > libraries in the wrapper only support version 16 and later. > > Add a routine to convert a v2 flat device tree to a v16 one inplace > by inserting OF_DT_NOP and chomping full path. Make space for new > headers by moving and then chomping the OF_DT_NOPs. Why not fix kexec-tools to generate a version 17 device tree? -Scott