From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C93EA0.FD761650" Date: Tue, 4 Nov 2008 18:15:50 +0100 Message-ID: <406CC9939904F143B9D42CEEA3E56E565DA7FA@oab1mx1.oneaccess.intra> From: "Filip Van Rillaer" Subject: [Xenomai-help] xenomai on blackfin svn4240 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C93EA0.FD761650 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hello, =20 Starting from subversion revision 4240, xenomai is not compiling anymore for blackfin. I think that part of the problem is the absence of following parts in usermode (I mean not __KERNEL__) in the file asm-blackfin/atomic.h : - typedef for xnarch_atomic_t is missing - xnarch_atomic_get is missing - xnarch_atomic_set is missing - xnarch_atomic_cmpxchg is missing =20 I also had to make the function xeno_init_current_mode (file bind.h) as <> to avoid a problem with multiple definitions when linking my user-application (it includes functions of native and rtdm library). =20 Finally rt_task_shadow fails and returns EFAULT (but that problem can be caused by my own dummy implementation for the functions mentioned) =20 Best regards, Filip ------_=_NextPart_001_01C93EA0.FD761650 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Hello,
 
Starting from=20 subversion revision 4240, xenomai is not compiling anymore for=20 blackfin.
I = think that part of=20 the problem is the absence of following parts in usermode (I = mean not=20 __KERNEL__) in the file asm-blackfin/atomic.h :
 - typedef for=20 xnarch_atomic_t is missing
 -=20 xnarch_atomic_get is missing
 -=20 xnarch_atomic_set is missing
 -=20 xnarch_atomic_cmpxchg is missing
 
I also = had to make=20 the function xeno_init_current_mode (file bind.h) as <<static=20 inline>> to avoid a problem with multiple definitions when = linking my=20 user-application (it includes functions of native and rtdm=20 library).
 
Finally=20 rt_task_shadow fails and returns  EFAULT (but that problem can = be=20 caused by my own dummy implementation for the functions=20 mentioned)
 
Best=20 regards,
Filip
------_=_NextPart_001_01C93EA0.FD761650-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4918560D.2000306@domain.hid> Date: Mon, 10 Nov 2008 16:41:01 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <406CC9939904F143B9D42CEEA3E56E565DA7FA@oab1mx1.oneaccess.intra> In-Reply-To: <406CC9939904F143B9D42CEEA3E56E565DA7FA@oab1mx1.oneaccess.intra> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Filip Van Rillaer Cc: xenomai@xenomai.org Filip Van Rillaer wrote: > Hello, > > Starting from subversion revision 4240, xenomai is not compiling anymore > for blackfin. > I think that part of the problem is the absence of following parts in > usermode (I mean not __KERNEL__) in the file asm-blackfin/atomic.h : > - typedef for xnarch_atomic_t is missing > - xnarch_atomic_get is missing > - xnarch_atomic_set is missing > - xnarch_atomic_cmpxchg is missing > > I also had to make the function xeno_init_current_mode (file bind.h) as > <> to avoid a problem with multiple definitions when > linking my user-application (it includes functions of native and rtdm > library). > > Finally rt_task_shadow fails and returns EFAULT (but that problem can > be caused by my own dummy implementation for the functions mentioned) > The build woes should be fixed, but I still need to validate the trunk on a bf561 here. > Best regards, > Filip > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe. From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Nov 2008 12:16:09 +0100 Message-ID: <406CC9939904F143B9D42CEEA3E56E566514C0@domain.hid> References: <406CC9939904F143B9D42CEEA3E56E565DA7FA@oab1mx1.oneaccess.intra> <4918560D.2000306@domain.hid> From: "Filip Van Rillaer" Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: rpm@xenomai.org Cc: xenomai@xenomai.org Hello Philippe, Thank you for upgrading the blackfin code. I upgraded to rev 4369 and the compilation + booting the image works fine. However, I am still having problems running programs with rt_task_shadow (e.g. in examples/native/rtprint.c example). Are you seeing similar problems? (my platform is BF537 on Stamp) Best regards, Filip -----Original Message----- From: Philippe Gerum [mailto:rpm@xenomai.org Sent: 10 November 2008 16:41 To: Filip Van Rillaer Cc: xenomai@xenomai.org Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 Filip Van Rillaer wrote: > Hello, > =20 > Starting from subversion revision 4240, xenomai is not compiling=20 > anymore for blackfin. > I think that part of the problem is the absence of following parts in=20 > usermode (I mean not __KERNEL__) in the file asm-blackfin/atomic.h : > - typedef for xnarch_atomic_t is missing > - xnarch_atomic_get is missing > - xnarch_atomic_set is missing > - xnarch_atomic_cmpxchg is missing > =20 > I also had to make the function xeno_init_current_mode (file bind.h)=20 > as <> to avoid a problem with multiple definitions when > linking my user-application (it includes functions of native and rtdm=20 > library). > =20 > Finally rt_task_shadow fails and returns EFAULT (but that problem can > be caused by my own dummy implementation for the functions mentioned) > The build woes should be fixed, but I still need to validate the trunk on a bf561 here. > Best regards, > Filip >=20 >=20 > ---------------------------------------------------------------------- > -- >=20 > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <491ABF34.8020504@domain.hid> Date: Wed, 12 Nov 2008 12:34:12 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <406CC9939904F143B9D42CEEA3E56E565DA7FA@oab1mx1.oneaccess.intra> <4918560D.2000306@domain.hid> <406CC9939904F143B9D42CEEA3E56E566514C0@domain.hid> In-Reply-To: <406CC9939904F143B9D42CEEA3E56E566514C0@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Filip Van Rillaer Cc: xenomai@xenomai.org Filip Van Rillaer wrote: > Hello Philippe, > > Thank you for upgrading the blackfin code. I upgraded to rev 4369 and > the compilation + booting the image works fine. > However, I am still having problems running programs with rt_task_shadow > (e.g. in examples/native/rtprint.c example). Are you seeing similar > problems? (my platform is BF537 on Stamp) > I have a serious kernel issue here with 1.7-04 on a bf561, so severe that I cannot actually run any app yet. I have a bf537 at hand as well, I think I'm going to give it a try asap. > Best regards, > Filip > > -----Original Message----- > From: Philippe Gerum [mailto:rpm@xenomai.org] > Sent: 10 November 2008 16:41 > To: Filip Van Rillaer > Cc: xenomai@xenomai.org > Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 > > Filip Van Rillaer wrote: >> Hello, >> >> Starting from subversion revision 4240, xenomai is not compiling >> anymore for blackfin. >> I think that part of the problem is the absence of following parts in >> usermode (I mean not __KERNEL__) in the file asm-blackfin/atomic.h : >> - typedef for xnarch_atomic_t is missing >> - xnarch_atomic_get is missing >> - xnarch_atomic_set is missing >> - xnarch_atomic_cmpxchg is missing >> >> I also had to make the function xeno_init_current_mode (file bind.h) >> as <> to avoid a problem with multiple definitions when > >> linking my user-application (it includes functions of native and rtdm >> library). >> >> Finally rt_task_shadow fails and returns EFAULT (but that problem can > >> be caused by my own dummy implementation for the functions mentioned) >> > > The build woes should be fixed, but I still need to validate the trunk > on a > bf561 here. > >> Best regards, >> Filip >> >> >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> Xenomai-help mailing list >> Xenomai-help@domain.hid >> https://mail.gna.org/listinfo/xenomai-help > > > -- > Philippe. > -- Philippe. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <491D5769.1050308@domain.hid> Date: Fri, 14 Nov 2008 11:48:09 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <406CC9939904F143B9D42CEEA3E56E565DA7FA@oab1mx1.oneaccess.intra> <4918560D.2000306@domain.hid> <406CC9939904F143B9D42CEEA3E56E566514C0@domain.hid> <491ABF34.8020504@domain.hid> In-Reply-To: <491ABF34.8020504@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Filip Van Rillaer Cc: xenomai@xenomai.org Philippe Gerum wrote: > Filip Van Rillaer wrote: >> Hello Philippe, >> >> Thank you for upgrading the blackfin code. I upgraded to rev 4369 and >> the compilation + booting the image works fine. >> However, I am still having problems running programs with rt_task_shadow >> (e.g. in examples/native/rtprint.c example). Are you seeing similar >> problems? (my platform is BF537 on Stamp) >> > > I have a serious kernel issue here with 1.7-04 on a bf561, so severe that I > cannot actually run any app yet. I have a bf537 at hand as well, I think I'm > going to give it a try asap. > The issue you faced has just been fixed in the trunk. There is a new I-pipe patch brewing here for the blackfin as well, since all patches from the 1.7 series are terminally broken when it comes to handling GPIO interrupts. The bf537 does work because the EMAC ethernet IRQ is not on the GPIO demux, but the ethernet interrupt of the bf561 is. You should be able to run your bf537 just pulling the from the current trunk; I will release an updated I-pipe patch later. >> Best regards, >> Filip >> >> -----Original Message----- >> From: Philippe Gerum [mailto:rpm@xenomai.org] >> Sent: 10 November 2008 16:41 >> To: Filip Van Rillaer >> Cc: xenomai@xenomai.org >> Subject: Re: [Xenomai-help] xenomai on blackfin svn4240 >> >> Filip Van Rillaer wrote: >>> Hello, >>> >>> Starting from subversion revision 4240, xenomai is not compiling >>> anymore for blackfin. >>> I think that part of the problem is the absence of following parts in >>> usermode (I mean not __KERNEL__) in the file asm-blackfin/atomic.h : >>> - typedef for xnarch_atomic_t is missing >>> - xnarch_atomic_get is missing >>> - xnarch_atomic_set is missing >>> - xnarch_atomic_cmpxchg is missing >>> >>> I also had to make the function xeno_init_current_mode (file bind.h) >>> as <> to avoid a problem with multiple definitions when >>> linking my user-application (it includes functions of native and rtdm >>> library). >>> >>> Finally rt_task_shadow fails and returns EFAULT (but that problem can >>> be caused by my own dummy implementation for the functions mentioned) >>> >> The build woes should be fixed, but I still need to validate the trunk >> on a >> bf561 here. >> >>> Best regards, >>> Filip >>> >>> >>> ---------------------------------------------------------------------- >>> -- >>> >>> _______________________________________________ >>> Xenomai-help mailing list >>> Xenomai-help@domain.hid >>> https://mail.gna.org/listinfo/xenomai-help >> >> -- >> Philippe. >> > > -- Philippe.