All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Tim Cussins <timcussins@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Marvell sheeva support
Date: Wed, 11 Aug 2010 17:25:55 +0200	[thread overview]
Message-ID: <4C62C103.4020207@domain.hid> (raw)
In-Reply-To: <1281538723.2246.120.camel@domain.hid>

Tim Cussins wrote:
> I've had a good play with mkrootfs - nice. I had to make a couple of
> changes to meet my needs (and system, ubuntu 10.04). Is there a git repo
> for mkrootfs that I can base my patches on? They're very small btw. More
> on that off-list if you want.

Yes, there is a git repo for mkrootfs, it is not public yet, which does
not really make sense, since I talked about it publicly. I am going to
make it public. I just do not want to pollute the Xenomai mailing list
with the mkrootfs maintenance, so, we will have to set-up a mailing list
elsewhere.

> 
>>>> You can also use the patch below as a starting point for your port:
>>>> http://download.gna.org/adeos/patches/tmp/adeos-ipipe-2.6.29-mv88f6290.patch
>>> I've tried applying this to vanilla 2.6.29 and 2.6.29.6 - it doesn't
>>> apply cleanly (well, fails :P). Am I approaching this the wrong way?
>>> Also tried chucking the patch into the xenomai tree and getting
>>> prepare_kernel.sh to try: still no joy.
>> It probably does not apply to vanilla because vanilla has no support for
>> the Sheevaplug board. Or am I missing something?
> 
> Well, I don't think so. Some hunks are expecting lines of context that
> simply don't exist in 2.6.29 == fail.

Well yes, that is exactly my point: the patch is made to be applied to
another kernel tree, a marvell specific kernel tree.

> 
> I took the mv88f6290 patch and bullied it into applying to vanilla
> 2.6.29. Built ok, but was at home and no way to test, so I just got on
> with migrating it to 2.6.33. That seems to be done - check the 2.6.33
> boot output:
>   
>    ...
>   I-pipe: Domain Xenomai registered.
>   Xenomai: hal/arm started.
>   Xenomai: scheduling class idle registered.
>   Xenomai: scheduling class rt registered.
>   Xenomai: real-time nucleus v2.5.4 (Sleep Walk) loaded.
>   Xenomai: starting native API services.
>   Xenomai: starting POSIX services.
>   Xenomai: starting RTDM services.
>    ...
> 
> Full boot output is attached FYI.
> 
> However, I've got a problem with busybox/getty and /dev/ttyS0 so I can't
> log in via console OR telnet. Once that's solved, I'll be able to run
> the xenomai tests. (In case you've seen it before - /var/log/messages is
> slowly filling with:

There are two ptys style, the BSD one corresponding to the
CONFIG_LEGACY_PTYS in kernel configuration, and the new style,
corresponding to the CONFIG_UNIX98_PTYS. busybox uses one style by
default (I believe it is the new style), but will not work if your
kernel is only configured for the other style. Anyway, you have to check
that the busybox and kernel configurations match. This is probably the
reason why telnetd does not work.

As for the reason why ttyS0 is not working, well, it is strange. Maybe
something missing in the kernel configuration? Could you send me your
.config?

-- 
					    Gilles.


  reply	other threads:[~2010-08-11 15:25 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 14:10 [Xenomai-help] Marvell sheeva support Tim Cussins
2010-07-15 11:53 ` Gilles Chanteperdrix
2010-07-15 16:11   ` Philippe Gerum
2010-07-20 11:00     ` Tim Cussins
2010-07-21  6:23       ` Gilles Chanteperdrix
2010-08-11 14:58         ` Tim Cussins
2010-08-11 15:25           ` Gilles Chanteperdrix [this message]
2010-08-11 16:33             ` Tim Cussins
2010-08-11 15:28           ` Philippe Gerum
2010-08-11 16:24             ` Tim Cussins
     [not found]               ` <1281544161.1730.23.camel@domain.hid>
2010-08-11 16:44                 ` Tim Cussins
2010-08-11 16:56                   ` Gilles Chanteperdrix
2010-08-12 15:04                     ` Tim Cussins
2010-08-12 15:11                       ` Gilles Chanteperdrix
2010-08-11 16:30             ` Philippe Gerum
2010-08-12 15:45           ` Tim Cussins
2010-08-12 15:58             ` Philippe Gerum
2010-08-12 16:03               ` Philippe Gerum
2010-08-12 16:21                 ` Tim Cussins
2010-08-16 11:00         ` Tim Cussins
2010-07-21  9:50       ` Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C62C103.4020207@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=timcussins@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.