[fedora-arm] fedora login by uart

钟威 zhongw_1984 at yahoo.com.cn
Fri Dec 17 06:57:01 UTC 2010


Dear Chris,      Thank you very much! It's very useful!!
Regards,William

--- 10年12月17日,周五, Chris Tyler <chris at tylers.info> 写道:

发件人: Chris Tyler <chris at tylers.info>
主题: Re: [fedora-arm] fedora login by uart
收件人: "钟威" <zhongw_1984 at yahoo.com.cn>
抄送: arm at lists.fedoraproject.org
日期: 2010年12月17日,周五,上午12:04

On Thu, 2010-12-16 at 13:47 +0800, 閽熷▉ wrote:
> Hi Chris,
>     1.The rootfs is fedora12 which is for arm I download from offical
> website.
>     2.I used serial port on my PC to connect my board(freescale imx5)
> and I boot my board through NFS Server.
>     3.I am using Fedora13 on my PC.
>     4.I am using "minicom" to communicate.
>     
> And now,I want to use "minicom" to communicate my board,like using
> some commands in shell,but I cannot login the shell on my PC,I cannot
> input the count and password,I can only login by my board.
> Thanks!

Login over serial is controlled by files in /etc/events.d

If your serial connection is defined as the primary console (usually
through a console= argument on the kernel boot line),
then /etc/events.d/serial should detect this and offer a login on that
line. Otherwise, copy one of the existing ttyX scripts and modify it:

  cp /etc/events.d/tty1 /etc/events.d/ttyS0 # or whatever the port is

Then change the mingetty to an agetty command, with appropriate
arguments for serial port speed and so forth, perhaps something like:

  /sbin/agetty -L 115200 ttyS0

or

  /sbin/agetty-L 9600 ttyS1

...depending on the particular port you're using.

I'm unclear from your e-mail -- if the problem is that you're seeing the
login prompt but can't type anything, check to make sure that hardware
flow control is disabled in minicom.

-Chris




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/arm/attachments/20101217/0d5ad6c0/attachment.html 


More information about the arm mailing list