From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52CE7261.205@xenomai.org> Date: Thu, 09 Jan 2014 10:56:49 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <52C7CF1E.2050404@xenomai.org> <52C85088.7020501@xenomai.org> <52C86093.4000609@xenomai.org> <52C891C1.2090007@xenomai.org> <52C949D6.6090904@xenomai.org> <52C9B255.7030702@xenomai.org> <52CA622D.806@xenomai.org> <52CB23F5.6000006@xenomai.org> <52CB261F.1050808@xenomai.org> <52CB29F9.4020100@xenomai.org> <52CB32BD.7020607@xenomai.org> <52CE6A13.3090909@xenomai.org> In-Reply-To: <52CE6A13.3090909@xenomai.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] rtdm_task_init call freezes the system List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nima Nourozi Cc: xenomai@xenomai.org On 01/09/2014 10:21 AM, Gilles Chanteperdrix wrote: > On 01/09/2014 03:51 AM, Nima Nourozi wrote: >> On Mon, Jan 6, 2014 at 2:48 PM, Gilles Chanteperdrix < >> gilles.chanteperdrix@xenomai.org> wrote: >> >>> On 01/06/2014 11:47 PM, Nima Nourozi wrote: >>>> I'm not seeing the latency command on my board. Is it part of xenomai? >>> I'm >>>> using buildroot for my filesystem. >>> >>> It may not be installed in /usr/bin >>> >>> Try "xeno latency" >>> >>> >>> -- >>> Gilles. >>> >> >> Gilles, good news! >> >> I was about to report back that the "simplified SPI code" was throwing the >> same exception before I messed around in the kernel a little bit more and >> turned off VFP feature and low and behold the task is working now!! >> Hurray!! I don't know why VFP was causing all this headache but I'm glad >> it's working. >> >> Thanks everybody for all help! > > Actually, what the VFP changes is the size of rtdm_task_t, Ok, now that I come to think about it, enabling CONFIG_XENO_HW_FPU with CONFIG_VFP unconditionally uses VFP instructions during the context switch. Since this configuration does not make sense for any of the armv4 and armv5 processors supported by Xenomai, we will add a check at runtime so that xenomai will refuse starting in that case. Regards. -- Gilles.