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.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to