TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
ttyS0 freigeben

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> ADNP/1520
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
marco76



Joined: 18 Jan 2007
Posts: 10
Location: Graz

PostPosted: 25.06.2007, 13:35    Post subject: ttyS0 freigeben Reply with quote

Hallo *,

Ich wollte nur fragen was man anstellen muss um die serielle Schnittstelle (ttyS0) nach dem booten des Linux für andere Programme zu nutzen. Also kein Konsolen- Login any more. Muss ja doch irgendwo ein Prozess gestartet werden in nem rc. directory oder... ich finds nicht Sad

Vielen Dank schon mal im Vorraus,
Marco
Back to top
View user's profile Send private message
mha



Joined: 05 May 2006
Posts: 28

PostPosted: 06.07.2007, 07:22    Post subject: Reply with quote

Hallo.

Damit die serielle Schnittstelle ttyS0 im Linux
nicht benutzt wird, sind zwei Sachen zu ändern.

1) In der "start.bat" im DOS System (ggf. auch im Bootloader)
müssen die Linux Kernel Meldungen abgeschaltet werden.

Folgende Zeile ist in der Datei "start.bat" zu ändern:

Alt: loadlin zimage console=ttyS0,115200 initrd=rimage.gz root=/dev/ram0
Neu: loadlin zimage initrd=rimage.gz root=/dev/ram0

2) Im Linux "rimage.gz" muß die Datei "inittab" im Verzeichnis "/etc" modifiziert
werden, um den Login abzuschalten.

Folgende Zeile in der "inittab" in "/etc" ist zu ändern:

Alt: 1:123:respawn:/sbin/getty -L 115200 ttyS0 vt100
Neu: #1:123:respawn:/sbin/getty -L 115200 ttyS0 vt100

Gruß Marco
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> ADNP/1520 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015