[ELDK] building linux with xenomai for powerpc

Wolfgang Denk wd at denx.de
Thu Mar 26 21:00:17 CET 2009


Dear Yigal Goldberger,

In message <864110.22095.qm at web38905.mail.mud.yahoo.com> you wrote:
> 
> I'll try to be as accurate as I can.
> Yesterday I downloaded ELDK 4.2 from DENX site and Installed it.
> I want to build a Xenomai enabled kernel.
> I saw that my kernel is 2.6.24-xenomai and that's what I'm trying to build.
> My target is freescale quicc II (MPC8248) and I want to start by building a Xenomai enabled kernel for a target board as close as possible to my custom board.
> I know from the old build we had that the defconfig that was used to build the kernel was ads8272_defconfig ( I hope some research was done before choosing it... )

That doesn't make sense to me. First you write you have a MPC8248
based board, then you try to use the ADS8272 config file - these two
don't match...

> It probebly was sufficiently close since it worked fine with some configuraions and changes .

Umm... "probably sufficiently close" is nothign I would build a
project on. It always has to be an exact match.

> My board has 2 flash chips AMD29LV256ML (from which one is the boot memory) , 4SDRAM chips  48LC32M16A2 an FPGA from Xilinx with some logic as a peripheral device and that's about it.
> It should comunicate with a host PC via Ethernet or via RS-232 serial com.
>  
> I'd like to get the following assistance :
>  
> A) help in building the kernel as is for this target board without changes .

Well, as Scott Wood already replied to your other posting on the ppc
mailing list (note: such multiple postings to different lists without
any cross-references are considered seriously bad manners; please see
http://www.catb.org/~esr/faqs/smart-questions.html) the first thing
you should do is to use a *recent* kernel tree. 

The second thing you should do is to use an exactly mathcing board
configuration. 

> B) hints as to how and where should modifications and changes be made to port to a custom board .

Ah! You have a custom board? Then you need to unserstand *exactly*
what hardware you have, and what might be used on the other boards
where you look for reference implementations. 


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"What terrible way to die."
"There are no good ways."
	-- Sulu and Kirk, "That Which Survives", stardate unknown


More information about the eldk mailing list