From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 31D86DDE0D for ; Sat, 29 Sep 2007 02:55:07 +1000 (EST) In-Reply-To: <18165.60185.316393.213864@cargo.ozlabs.ibm.com> References: <20070922095546.GA14185@lst.de> <200709221416.21580.rob@landley.net> <18165.60185.316393.213864@cargo.ozlabs.ibm.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4d27912d86d1373ca01d43bd296e237b@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 1/2] qemu platform, v2 Date: Fri, 28 Sep 2007 18:53:28 +0200 To: Paul Mackerras Cc: linuxppc-dev@ozlabs.org, David Gibson , Rob Landley , Milton Miller , Christoph Hellwig List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> I'd be following this more closely if compiling a device tree didn't >> currently >> require an external utility (dtc or some such) that doesn't come with >> the >> Linux kernel. No other target platform I've built kernels for >> requires such >> an environmental dependency. > > No? You haven't built kernels for other platforms that have external > dependencies such as perl, gcc, make, binutils, etc.? :) Two of the supported Linux archs cannot be built with a mainline compiler, even! And I have to install GNU sed/awk to get builds to work, too. OTOH, it would be nice if we didn't need DTC -- it itself doesn't build out-of-the-box on all systems, either ;-) >> (This is a problem both for hardwiring the >> device tree into the kernel and for building a new boot rom from the >> linux >> kernel's ppc boot wrapper that would contain such a device tree to >> feed to >> the kernel.) > > It's only really been a problem for ps3 so far, since the embedded > guys don't seem to have any difficulty with installing dtc. We are > looking at what to do for ps3 and prep, and the answer may well > involve bundling dtc in the kernel source (it's not too big, around > 3400 lines). If only a few platforms have this problem, we could instead include their .dtb files in the kernel source tree. Segher