[Xenomai] Support of Beagleboard xm rev C on 3.14-ipipe

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Jun 25 19:01:51 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/25/2014 11:47 AM, Arnaud Degroote wrote:
> On 25/Jun - 10:37, Gilles Chanteperdrix wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 06/25/2014 10:11 AM, Arnaud Degroote wrote:
>>> On 24/Jun - 20:31, Gilles Chanteperdrix wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>> 
>>>> On 06/24/2014 02:21 PM, Arnaud Degroote wrote:
>>>>> On 24/Jun - 08:29, Gilles Chanteperdrix wrote:
>>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>>> 
>>>>>> On 06/24/2014 08:23 AM, Arnaud Degroote wrote:
>>>>>>> On 24/Jun - 01:45, Gilles Chanteperdrix wrote:
>>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>>>>> 
>>>>>>>> On 06/23/2014 01:18 PM, Arnaud Degroote wrote:
>>>>>>>>> On 23/Jun - 11:22, Gilles Chanteperdrix wrote:
>>>>>>>>>> On 06/23/2014 11:08 AM, Arnaud Degroote wrote:
>>>>>>>>>>> Hi list,
>>>>>>>>>>> 
>>>>>>>>>>> I'm trying to deploy a 3.14 kernel on my 
>>>>>>>>>>> BeagleBoard XM rev C but got several issues.
>>>>>>>>>>> So, first question, it is supposed to be
>>>>>>>>>>> supported or am I somewhere in a grey zone ?
>>>>>>>>>>> 
>>>>>>>>>>> Let describe more precisely the configuration
>>>>>>>>>>> and the symptom. - linux-ipipe branch
>>>>>>>>>>> ipipe-3.14 - xenomai 2.6.3 + some patches from
>>>>>>>>>>> 2.6 branch (including
>>>>>>>>>>> d1d00e0acd29bb5f9023494a883a7fa0def40917 
>>>>>>>>>>> 41cb1f73814d1094e0ea75ccbbd23ff01280787e 
>>>>>>>>>>> 7a48019268d7e1157ebb072b88f6683425f0c7c5 
>>>>>>>>>>> f00d22eca6277e780c19a5d5ecd2ed0e23dabafe )
>>>>>>>>>> 
>>>>>>>>>> It is supposed to work, could you try again with
>>>>>>>>>> the xenomai 2.6 git?
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Hi Gilles,
>>>>>>>>> 
>>>>>>>>> I just tested against 2.6-git and observe the same
>>>>>>>>>  behaviours.
>>>>>>>>> 
>>>>>>>>> Best regards,
>>>>>>>>> 
>>>>>>>> Could you post your configuration?
>>>>>>> 
>>>>>>> Sure, see the attached defconfig. It is basically
>>>>>>> yocto base arm kernel + xenomai (and some kernel
>>>>>>> hacking option).
>>>>>>> 
>>>>>>> 
>>>>>> Could you try to turn off CONFIG_NO_HZ ?
>>>>> 
>>>>> Without CONFIG_NO_HZ, it hangs repeatably during the boot
>>>>> (in the same place than with CONFIG_NO_HZ without 
>>>>> CONFIG_DEBUG_LOCK_ALLOC, so this last option is more a
>>>>> timing workaround than a "real fix"). See the attached
>>>>> defconfig and boot log.
>>>> 
>>>> Do you have the same problem if you boot using NFS instead of
>>>> an SD card?
>>>> 
>>> 
>>> Using root on nfs does not seem to change the problem. It
>>> still hangs in the same place.
>> 
>> Ok, could you disable FTRACE, then enable the I-pipe debugs
>> except the I-pipe tracer? And enable all the xenomai debugs?
>> 
> 
> Without FTRACE, the kernel seems to boot successfully quite often
> (I won't say always still). Moreover, the clocktest now terminates.
> Still, the latency hangs, without much debug information (maybe I
> miss some options in the kernel configuration or at runtime). At
> this moment, /proc/xenomai/sched shows

Probably something wrong with the timer used by Xenomai. You should
check that the timer used by Xenomai (normally the GPtimer 3) is
correctly working (that is, that you see its value decreasing after
having programmed it).


- -- 
                                                                Gilles.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iD8DBQFTqwB/GpcgE6m/fboRAkrKAJ96jy1oLQOGvP59wR6QBa3DLmZNbwCcCVRh
S5IO0rzRLrqAoATbsyFJ3+o=
=MsL4
-----END PGP SIGNATURE-----




More information about the Xenomai mailing list