From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailgw.cs.york.ac.uk (mailgw.cs.york.ac.uk [144.32.40.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 3BD99679FB for ; Fri, 7 Jul 2006 00:43:27 +1000 (EST) Message-ID: <44AD20F6.8020401@gmail.com> Date: Thu, 06 Jul 2006 15:40:54 +0100 From: Ameet Patil MIME-Version: 1.0 To: Ming Liu Subject: Re: Xilinx BSP for linux 2.6 References: In-Reply-To: Content-Type: text/plain; charset=GB2312 Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Ming, If your Xilinx EDK generates the xparameters_ml300.h file for the ML403 board then it has been configured with the right parameters and address required by Linux. Don't look at the existing xparameters_ml403.h file in the kernel source. It has got too many parameters with address initializations that might not suit you at all. I think its safe to copy the ml300.h onto ml403.h. I tried it... the kernel compiles without any problems. -Ameet Ming Liu wrote: > Dear Ameet, > >> I DONOT have a ML403 with me. But does Xilinx EDK generate >> xparameters_ml300.h in the BSP instead of xparameters_ml403.h for the >> ML403 board? > > Yes. EKD only generates ml300.h instead of ml403.h, although you specify > the platform is ML403. > > >> You need to just copy the xparameters_ml300.h file (if that is what >> xilinx EDK generates) as xparameters_ml403.h in >> arch/ppc/platforms/4xx/xparameters/ folder. Configure the kernel as >> ML403. > > I don't think so. I have looked into these two files. I found that there > are many differences between them. Not only the addresses for each > peripheral are different, but also the parameters' names. So If we just > simply copy ml300.h file as ml403.h, many parameters will be undefined. >> Like I said to you before, if you want to get started quickly and >> without much headache.. then please go step-by-step. Try the things I >> mention in the article PART I without applying any patches. > > Thanks for your suggestion. I will start from the beginning. >> Please DONOT hesitate to ask further clarifications! > > It is really like a big family in the Linux world because of the help > among the persons. Thanks for all the help from the friends in Linux world! > > Regards > Ming > > _________________________________________________________________ > Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ >