All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] installing xenomai on pandaboard
@ 2011-09-20 17:26 Robert
  2011-09-20 18:13 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 23+ messages in thread
From: Robert @ 2011-09-20 17:26 UTC (permalink / raw)
  To: xenomai

Can someone help me installing xenomai on panda?

What should I do, to install xenomai on ubuntu host?
Download kernel from kernel.org and patch it with xenomai and adeos-patch, or download kernel from git repository, or download ubuntu image-omap4 via apt-get source?

The last one would download 2.6.38 kernel, but there is no adeos patch for this version yet.
It is also possible to download 2.6.37-9, but the same problem.


^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: [Xenomai-help] installing xenomai on pandaboard
@ 2011-10-26 15:26 Robert
  2011-10-26 15:36 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 23+ messages in thread
From: Robert @ 2011-10-26 15:26 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai help


Dnia 24 października 2011 22:58 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> napisał(a):

> On 10/24/2011 01:11 PM, Robert wrote:
> > 
> > 
> > 
> > Dnia 24 października 2011 13:07 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> napisał(a):
> > 
> >> On 10/24/2011 12:59 PM, Robert wrote:
> >>> Dnia 24 października 2011 12:37 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> napisał(a):
> >>
> >>>> Ok. Try calling /usr/xenomai/bin/xeno-test instead of cding to the
> >>>> directory and runing ./xeno-test.
> >>>
> >>> No difference.
> >>
> >> I am unable to reproduce this issue, but I am using ash, not bash. last
> >> attempt: could you try adding /usr/xenomai/bin to the PATH variable?
> > 
> > The same.
> 
> Could you try the following patch? 
> 
> http://git.xenomai.org/?p=xenomai-head.git;a=commitdiff;h=8f2fd0b49e51fb2547c4972f2cda9e32dfc5dca6;hp=82ab99a3a840dd78c3ed8e5a6555f422420b7827
> 
> The problem is due to dash, not bash, which is linked to /bin/sh by 
> default on ubuntu. 
> 

I applied Yours patches, and now it compile and almost run:

root@domain.hid                   
Started child 1035: /bin/bash /usr/xenomai/bin/xeno-test-run-wrapper /usr/xenoma
i/bin/xeno-test                                                                 
++ echo 0 

After that, board is dead.

And I have to build xenomai sources using 'make CFLAGS+=-Wa,mimplicit-it=thumb'.
My gcc version 4.5.2-8ubuntu4


> > 
> >>>> I have not received the config file.
> >>
> >>> CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
> >>> # CONFIG_ARCH_OMAP2 is not set
> >>> CONFIG_ARCH_OMAP3=y
> >>> CONFIG_ARCH_OMAP4=y
> >>> # CONFIG_ARCH_OMAP3430 is not set
> >>> CONFIG_OMAP_PACKAGE_CBL=y
> >>> CONFIG_OMAP_PACKAGE_CBS=y
> >>
> >> Could you try disabling CONFIG_OMAP3?
> > 
> > No. While running "make oldconfig" CONFIG_OMAP3 automatically set to yes, so i didn't touch it.
> > Ok, so now I will try to recompile kernel with new config.
> 
> The error is indeed due to OMAP3 + OMAP4 setting. In order to disable
> CONFIG_OMAP3, you have to unselect all the omap3 based boards. 
> "make xconfig" has debug options allowing to find such dependencies.
> 

It was my fault. While compilling uImage and modules panda hangs up. After reboot, I have continued make process.
During reboot time has changed, so build was broken.
I have rebuild the kernel, and now everything works.
Sorry for wasting Your time.


> And by the way, thanks for testing the release candidate.
> 
> Regards.
> 
> 



^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: [Xenomai-help] installing xenomai on pandaboard
@ 2011-10-27  9:05 Gilles Chanteperdrix
  2011-10-27 19:56 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 23+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-27  9:05 UTC (permalink / raw)
  To: xenomai



Robert wrote:
> Ok, so now latency test looks good, but board still hangs up on xeno-test.
>

Please try, as I suggested in a previous mail, to get the kernel console
output on the serial port, and see if the hang is not due to a kernel
oops.

And I am also asking again: are you compiling user-space support for thumb?

-- 
                    Gilles.



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-10-28 10:54 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 17:26 [Xenomai-help] installing xenomai on pandaboard Robert
2011-09-20 18:13 ` Gilles Chanteperdrix
2011-10-24  7:53   ` Robert
2011-10-24  8:33     ` Gilles Chanteperdrix
2011-10-24  9:16       ` Robert
2011-10-24  9:47         ` Gilles Chanteperdrix
2011-10-24 10:04           ` Robert
2011-10-24 10:37             ` Gilles Chanteperdrix
2011-10-24 10:59               ` Robert
2011-10-24 11:07                 ` Gilles Chanteperdrix
     [not found]                   ` <e966a6c.7f7f5548.4ea547f5.6fa69@domain.hid>
2011-10-24 11:18                     ` Gilles Chanteperdrix
2011-10-24 20:58                     ` Gilles Chanteperdrix
2011-10-24  8:41     ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2011-10-26 15:26 Robert
2011-10-26 15:36 ` Gilles Chanteperdrix
2011-10-26 18:00   ` Robert
2011-10-26 19:44     ` Gilles Chanteperdrix
2011-10-26 21:29       ` Robert
2011-10-27  9:05 Gilles Chanteperdrix
2011-10-27 19:56 ` Gilles Chanteperdrix
2011-10-28 10:03   ` Robert
2011-10-28 10:38     ` Gilles Chanteperdrix
2011-10-28 10:54       ` Robert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.