shell/telnetd/SpaceWire question

Robert S. Grimes rsg at alum.mit.edu
Fri Jun 3 14:52:23 UTC 2011


Ah, yes, that makes much sense; I guess I was
focused on the "packet" nature of SpaceWire, but it
does look more like a serial port...

So I wonder - is using telnetd completely wrong
thinking on my part?
Maybe I should look into something that would be
used like this:

  rtems_shell_init(
     "SHLL",
     RTEMS_MINIMUM_STACK_SIZE * 4,
     100,
     "/dev/ptySpaceWire",    // SpaceWire
pseudo-terminal device
     false,
     false);

If so, where do I begin to create the
"/dev/ptySpaceWire" device?  I highly suspect this
is so obvious to more thoroughly schooled Linux
types!

Thanks!
Bob

---- Original message ----

  Date: Fri, 03 Jun 2011 15:42:07 +0200
  From: Thomas Doerfler
  <Thomas.Doerfler at embedded-brains.de>
  Subject: Re: shell/telnetd/SpaceWire question
  To: rtems-users at rtems.org
  >Robert,
  >
  >the shell via telnetd uses the RTEMS pseudo-tty
  package, so you may
  >adapt the SpaceWire transport layer using PTTY
  again.
  >
  >If it is feasible to use the telnetd as a
  starting point, I cant tell,
  >because I know very little about SpaceWire.
  >
  >wkr,
  >Thomas.
  >
  >
  >Am 03.06.2011 15:36, schrieb Robert S. Grimes:
  >> Hi,
  >>
  >> I am hoping to run the RTEMS shell over a
  SpaceWire port, as I won't
  >> have a serial port available in the deployed
  system. Out of the box,
  >> the shell can use the console or the telnetd;
  what is the best way to
  >> add a third option?
  >>
  >> For those that don't know, SpaceWire is
  packet-based, so it seems that
  >> variant of telnetd that uses SpaceWire packets
  might be the way to go -
  >> does that make sense?
  >>
  >> What would be the best way to begin? Any
  suggestions welcome!
  >>
  >> Thanks.
  >>
  >>
  >>
  >> _______________________________________________
  >> rtems-users mailing list
  >> rtems-users at rtems.org
  >>
  http://www.rtems.org/mailman/listinfo/rtems-users
  >
  >
  >--
  >--------------------------------------------
  >Embedded Brains GmbH
  >Thomas Doerfler Obere Lagerstr. 30
  >D-82178 Puchheim Germany
  >email: Thomas.Doerfler at embedded-brains.de
  >Phone: +49-89-18908079-2
  >Fax: +49-89-18908079-9
  >_______________________________________________
  >rtems-users mailing list
  >rtems-users at rtems.org
  >http://www.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110603/4f8b7548/attachment-0001.html>


More information about the users mailing list