about a serial port.....

Roger rogerxxmaillist at speakeasy.net
Wed Jul 23 21:32:00 CEST 2003


First, you need a 9 pin serial crossover cable to hook-up the two
computers.  Typically you'll find a 9 pin serial cable at Radio Shack
and with an optional crossover adapter that plugs into one end of the
cable.

I prefer kermit (instead of minicom -- kermit acts more like a common
shell)

Set /dev/ttyS? to your specific port number.
baud_rate can be set to whatever value you want. (This value is limited
by serial cable length.)

* On the box being used to monitor the target box *
~/.kermrc
set modem type none
set line /dev/ttyS0
set speed 115200
set flow rts/cts
set carrier-watch off

Ensure that baud_base is set to match the remote target box's baud_base
(can be any other supported baud_rate ie 9600):
roger at remote # setserial -a /dev/ttyS0

baud_base <> match the remote target box's baud_rate?
roger at remote # setserial ttyS0 baud_base 115200


* On the target box *

To test that it does work with your working kernel do something like the
following:

/etc/lilo.conf
image = /boot/blah
	label = blah
	root = /dev/hda1
	append = "console=ttyS1,115200"
This will spit-out the dmesg on boot to the remote box.  This is what
you basically want to occur with Linuxbios.  This config option is found
within the config file when building the actual linuxbios image file for
burning to a mtd device (ie flash, DOC, etc)

Or, add to /etc/inittab:
S1:12345:respawn:/sbin/agetty ttyS1 -L 115200 vt102
Restart inetd and this inittab addition will only display the later part
of the boot process and will give you a login shell via kermit/minicom.


Ok. After making sure that your port numbers and baudrates are correct,
fire up kermit on the remote box.  Reboot or restart initd depending on
which test method you decide to choose.


On Wed, 2003-07-23 at 13:22, gimyung han wrote:
> I finally succeeded in burning linuxbois on rom, however, how can i see if 
> i succeed or not?
> 
> On the HOWTO I should connect linuxbios computer with serial port.....
> 
> where should I connect it?
> 
> can anybody explain about it?
> 
> 
> thanks for any helps
> 
> _________________________________________________________________
> 증권 정보 가장 빠르고 편하게 보실 수 있습니다. MSN 증권/투자   
> http://www.msn.co.kr/stock/  
> 
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
-- 

Roger
http://www.eskimo.com/~roger/index.html




More information about the coreboot mailing list