Received: from [203.143.174.143] (helo=lemon.ken.nicta.com.au) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1M1vyE-000699-SJ for openembedded-devel@lists.linuxtogo.org; Thu, 07 May 2009 07:16:35 +0200 Received: from c220-237-0-198.randw1.nsw.optusnet.com.au ([220.237.0.198]:35486 helo=hippo.chubb.wattle.id.au) by lemon.ken.nicta.com.au with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1M1vsG-0002mQ-SI for openembedded-devel@lists.linuxtogo.org; Thu, 07 May 2009 15:10:28 +1000 Date: Thu, 07 May 2009 15:10:24 +1000 Message-ID: <87eiv133cv.wl%peter@chubb.wattle.id.au> From: Peter Chubb To: openembedded-devel@lists.linuxtogo.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 MULE XEmacs/21.4 (patch 21) (Educational Television) (i486-linux-gnu) X-Face: GgFg(Z>fx((4\32hvXq<)|jndSniCH~~$D)Ka:P@e@JR1P%Vr}EwUdfwf-4j\rUs#JR{'h# !]])6%Jh~b$VA|ALhnpPiHu[-x~@<"@Iv&|%R)Fq[[, (&Z'O)Q)xCqe1\M[F8#9l8~}#u$S$Rm`S9% \'T@`:&8>Sb*c5d'=eDYI&GF`+t[LfDH="MP5rwOO]w>ALi7'=QJHz&y&C&TE_3j! Organization: National ICT Australia MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") X-SA-Exim-Connect-IP: 220.237.0.198 X-SA-Exim-Mail-From: peter.chubb@nicta.com.au X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lemon.ken.nicta.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_99 autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:11 +0000) X-SA-Exim-Scanned: Yes (on lemon.ken.nicta.com.au) Subject: [PATCH] fixing klibc/kexec-tools-static X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 05:16:35 -0000 Content-Type: text/plain; charset=US-ASCII Currently when you try to build linux-kexecboot or similar for an ARM platform, you get failures because of a missing header subdirectory. This is a known problem. However, the missing directory full of kernel headers (e.g., mach/memory.h) that probably shouldn't be exposed anyway. This patch removes the #include of the file that's a problem. The resulting image seems to work on Collie. --- /dev/null +++ b/recipes/kexec/files/kexec-klibc-new-kernels.patch @@ -0,0 +1,26 @@ +Index: kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c +=================================================================== +--- kexec-tools-1.101.orig/kexec/arch/arm/kexec-zImage-arm.c 2009-05-07 14:28:21.000000000 +1000 ++++ kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c 2009-05-07 14:28:27.000000000 +1000 +@@ -8,21 +8,20 @@ + + #define _GNU_SOURCE + #include + #include + #include + #include + #include + #include + #include + #include +-#include + #include "../../kexec.h" + + #define COMMAND_LINE_SIZE 1024 + #define BOOT_PARAMS_SIZE 1536 + + struct tag_header { + uint32_t size; + uint32_t tag; + }; + -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia