From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E67AE36.9080608@domain.hid> Date: Wed, 07 Sep 2011 19:47:34 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4E63E503.8090206@domain.hid> <4E66049D.6000105@domain.hid> <1315315628.20820.48.camel@domain.hid> <4E662BD6.9080205@domain.hid> <1315320786.20820.53.camel@domain.hid> <1315320835.20820.54.camel@domain.hid> <1315321820.20820.62.camel@domain.hid> <4E66643B.7050402@domain.hid> <1315343717.20820.87.camel@domain.hid> In-Reply-To: <1315343717.20820.87.camel@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [Xenomai-help] Xenomai 2.6.0-rc1 List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: Xenomai core On 09/06/2011 11:15 PM, Philippe Gerum wrote: > On Tue, 2011-09-06 at 20:19 +0200, Gilles Chanteperdrix wrote: >> On 09/06/2011 05:10 PM, Philippe Gerum wrote: >>> On Tue, 2011-09-06 at 16:53 +0200, Philippe Gerum wrote: >>>> On Tue, 2011-09-06 at 16:53 +0200, Philippe Gerum wrote: >>>>> On Tue, 2011-09-06 at 16:19 +0200, Gilles Chanteperdrix wrote: >>>>>> On 09/06/2011 03:27 PM, Philippe Gerum wrote: >>>>>>> On Tue, 2011-09-06 at 13:31 +0200, Gilles Chanteperdrix wrote: >>>>>>>> On 09/04/2011 10:52 PM, Gilles Chanteperdrix wrote: >>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> The first release candidate for the 2.6.0 version may be downloaded here: >>>>>>>>> >>>>>>>>> http://download.gna.org/xenomai/testing/xenomai-2.6.0-rc1.tar.bz2 >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> currently 2.6.0-rc1 fails to build on 2.4 kernel, with errors related to >>>>>>>> vfile support. Do we really want to still support 2.4 kernels? >>>>>>>> >>>>>>> >>>>>>> That would not be a massive loss, but removing linux 2.4 support is more >>>>>>> than a few hunks here and there, so this may not be the right thing to >>>>>>> do ATM. Besides, it would be better not to leave the few linux 2.4 users >>>>>>> out there without upgrade path to xenomai 2.6, since this will be the >>>>>>> last maintained version from the Xenomai 2.x architecture. >>>>>>> >>>>>>> That stuff does not compile likely because the Config.in bits are not up >>>>>>> to date, blame it on me. I'll make this build over linux 2.4 and commit >>>>>>> the result today. >>>>>>> >>>>>> >>>>>> No problem, I was not looking for someone to blame... Since you are at >>>>>> it, I have problems compiling the nios2 kernel too, but I am not sure I >>>>>> got the proper configuration file. >>>>>> >>>>> >>>>> HEAD builds fine based on the attached .config. >>>>> >>> >>> Btw we now only support the MMU version (2.6.35.2) of this kernel over >>> Xenomai 2.6. Reference tree is available there: >>> >>> url = git://sopc.et.ntust.edu.tw/git/linux-2.6.git >>> branch = nios2mmu >>> >>> nommu support is discontinued for nios2 - people who depend on it should >>> stick with Xenomai 2.5.x. >>> >> >> Ok, still not building, maybe the commit number mentioned in the README >> is not up-to-date? >> > > The commit # is correct, but I suspect that your kernel tree does not > have the files normally created by the SOPC builder anymore, these can't > (may not actually) be included in the pipeline patch. In short, your > tree might be missing the bits corresponding to the fpga design your > build for, so basic symbols like HRCLOCK* and HRTIMER* are undefined. > > I'm building for a cyclone 3c25 from the NEEK kit, with SOPC files > available from arch/nios2/boards/neek. Any valuable files in there on > your side? (typically, include/asm/custom_fpga.h should contain > definitions for our real-time clocks and timers) > I create a file arch/nios2/hardware.mk, which contains: SYSPTF = /path/to/std_1s10.ptf CPU = cpu EXEMEM = sdram Then run the kernel compilation as for any other platform. Is it not sufficient? Perhaps my .ptf file is outdated? -- Gilles.