From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by ozlabs.org (Postfix) with ESMTP id 1963CDDE02 for ; Sat, 1 Dec 2007 01:45:44 +1100 (EST) Received: by nf-out-0910.google.com with SMTP id c10so2631833nfd for ; Fri, 30 Nov 2007 06:45:43 -0800 (PST) Message-ID: Date: Fri, 30 Nov 2007 15:45:42 +0100 From: fabien To: "Grant Likely" Subject: Re: ppcboot and powerpc branch question In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 2007/11/30, Grant Likely : > On 11/30/07, fabien wrote: > > hi all, > > > > After some problem with my custom board and kernel 2.6.19 about the > > init process, i've moved > > on 2.6.23 and that had fixed my problems. (related to this post : > > http://marc.info/?l=linuxppc-embedded&m=119609022221017&w=2) > > Apparently it was a problem with cpm_uart on SMC1. > > (http://lkml.org/lkml/2007/9/23/99) > > the patch have been integrated in 2.6.23. Now i use this kernel and > > busybox works. > > I want to migrated my board in powerpc branch instead of ppc (i plan > > to use xenomai but in 2.6.23 > > there is only an adeos patch for piowerpc branch), but i see the use > > of a device tree > > instead of bd_t struct. I'm a bit disappointed because i also see that > > older u-boot (in my case > > ppcboot 1.1.5) aren't capable to pass dts to kernel. > > Is there a way to keep my old bootloader to boot a powerpc branch kernel ? > > Yes, you can build a 'cuImage' in arch/powerpc which wraps the kernel > image with a device tree and copies the bd_t data into the tree before > booting. > > Cheers, > g. > > > -- > Grant Likely, B.Sc., P.Eng. > Secret Lab Technologies Ltd. > grant.likely@secretlab.ca > (403) 399-0195 > Ok, thanks So do I need to define a dts file or the bd_t struct only will be sufficient to boot with cuImage ? Best regards Fab