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.188]) by ozlabs.org (Postfix) with ESMTP id 9A03467A0E for ; Fri, 5 May 2006 06:04:31 +1000 (EST) Received: by nf-out-0910.google.com with SMTP id l24so388127nfc for ; Thu, 04 May 2006 13:04:29 -0700 (PDT) Message-ID: <528646bc0605041304q695a183ao68a4720e974ad4f@mail.gmail.com> Date: Thu, 4 May 2006 14:04:29 -0600 From: "Grant Likely" Sender: glikely@gmail.com To: "Chris Dumoulin" Subject: Re: Moving from 2.4 to 2.6 kernel In-Reply-To: <445A534D.8090800@ics-ltd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <445A3AB1.7040405@ics-ltd.com> <528646bc0605041111o1b652d60w3f5847a19abe5c95@mail.gmail.com> <445A534D.8090800@ics-ltd.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 5/4/06, Chris Dumoulin wrote: > I'm looking into getting a BDI 2000 so I can start stepping through and > see what is going on. > > I looked at the ML300 and V2Pro code in the arch/ppc/platforms/4xx > folder, but I did not use any of that in my code. It looks like this is > intended to be used with the BSP that is generated by Xilinx Platform > Studio. I've tried generating the BSP this way, but the generated code > is obviously not a complete patch to port Linux to your hardware, and I > figure that by the time I figure out what I do/don't have to add, I > might as well write the whole thing by myself. Have you had success > integrating the automatically generated BSP from Xilinx Platform Studio? No; the stuff in 2.6 is not integrated w/ platform studio. (only 2.4 is). However, you do need to extract the xparameters.h file from the platform studio BSP. You can generate a Linux BSP w/o actually telling it where your Linux tree is. Once its generated; pull out xparameters.h and drop it into arch/ppc/platforms/4xx/xparameters/ in your source tree. Note: it's important that you generate a LINUX BSP; not a 'standalone' bsp. If you don't, then you'll be missing a bunch of #defines. Let me say that once more for clarity: The only file you need from platform studio is the generated xparameters.h This will give you at the very least a serial port driver. Once your booting with that, you can focus on other device drivers. Trust me; this is the path of far less pain. Cheers, g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195