Subject: Re: new cats box...new experience
To: None <atatat@atatdot.net>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-cats
Date: 10/18/2002 22:23:33
In article <20021017114154.A9113@noc.untraceable.net>
atatat@atatdot.net wrote:

> it seems that after netbsd starts to boot, it stops using the serial
> console that the firmware was using.  perhaps i misunderstood the faq,
> but i thought it meant that the other serial port became active at
> that point.

Hmm, my cats (at least with 0.6 firmware) uses fcom for console
both on firmware and kernel:

---
 Init memory
.SDRAM Initial timing set
SDRAM defaults set
Probing SDRAM bank:read 456789AB found, not mode 0, not mode 2
Probing SDRAM bank:read 3456789A found, not mode 0, not mode 2
Probing SDRAM bank:read 23456789 found, not mode 0, not mode 2
Probing SDRAM bank:read 12345678 found, not mode 0, not mode 2
Resetting SDRAM registers
Checking memory sizes
Counting: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Counting: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Counting: XXXXXXXXXXXXXXXX
Counting: XXXXXXXXXXXXXXXX
Setting up array sizes
Final SDRAM setup
Total memory = 06000000
Setting up PCI
PCI arbiter selected
Initialisation complete
Keyboard failure (3)
No keyboard present
bus rescan requested
Keyboard failure (3)
No keyboard present
0, 8,0: vendor 0x5333 product 0x8a01 (VGA display, rev 0x01)
vga_bios_init: starting emulation...
++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+...........+halted
vga_bios_init: emulation done.
0, 7,0: vendor 0x10b9 product 0x1533 (ISA bridge, rev 0xc3)
Keyboard failure (3)
No keyboard present
0, 8,0: vendor 0x5333 product 0x8a01 (VGA display, rev 0x01)
0, 9,0: vendor 0x10b8 product 0x0005 (ethernet network, rev 0x08)
0,10,0: vendor 0x8086 product 0x1229 (ethernet network, rev 0x08)
0,16,0: vendor 0x10b9 product 0x5229 (IDE mass storage, interface 0xfa, rev 0xc1)
wd0: <FUJITSU MPB3043ATU,  01027187, 2602>
wd0: 4125MB, 8940 cyl, 15 head, 63 sec, 512 bytes/sec
cd0: < 8X_CD-ROM, ,  A01>
cd0: 426MB
wd1: <IBM-DJNA-352030,  GQ0GQFN2303, J58OA30K>
wd1: 19470MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sec
0,17,0: vendor 0x10b9 product 0x7101 (miscellaneous bridge)
0,20,0: vendor 0x10b9 product 0x5237 (USB serial bus, interface 0x10, rev 0x03)

>> Cyclone 0.6 firmware for Chalice CATS (X86EMU)
>> Copyright 1998,1999 BCCS Limited
>> Machine id 710000005b49e44d

96 MB memory available

bootable devices are:
	wd0	cd0	wd1
Autobooting in 5 seconds
boot> boot console=fcom
Loading wd0a:/netbsd to 10000000
netbsd: 2347008+40960+191380+[79356+97402] total=0x2a0e12
Calling 0xf0000020
bootstrap done.
init subsystems: stacks vectors undefined pmap irq done.
ddb: [ using 176764 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5R (DIAMANTE) #230: Sat Feb 10 00:26:59 JST 2001
    tsutsui@diamante:/usr/src/sys/arch/arm32/compile/DIAMANTE
total memory = 98304 KB
avail memory = 87588 KB

[..snip..]

todclock at footbridge0 not configured
fcom0 at footbridge0: console
ipl_bio=00000304 ipl_net=00000004 ipl_tty=00000004 ipl_imp=00000004
ipl_audio=00000004 ipl_imp=00000004 ipl_high=00000004 ipl_serial=00000000
clock: hz=100 stathz = 0 profhz = 0
---

Which port do you connect a terminal, and what args do you specify
to boot your kernel? The secondary com port can be switched to
use com1 at isa or fcom by jumpers, and I'm not sure which port
is used on newer firmware/board.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp