O.k. After adding the code to properly initialize the i8259 interrupt
controller, and the RTC, linux Boots!
On the alpha with 2.4.0 I don't even need to touch the PCI bus.
The only detail still waiting is how to enable writing to the flash
chip over the TIG bus.
For reference I have not needed to pull the 2MB AMD flash rom from
my system, despite the fact I made certain it was possible.
Eric
---- boot log ---------
testboot 1
RTC_FREQ_SELECT=0x27
RTC_CONTROL =0x46
RTC_INTR_FLAGS =0xd0
RTC_VALID =0x80
Setting RTC_FREQ to 1024 Hz (27)
Turning on square wave RTC interrupts.
Welcome to start32, the open sourced starter.
This space will eventually hold more diagnostic information.
January 2000, James Hendricks, Dale Webster, and Ron Minnich.
Version 0.1
Linux version 2.4.0.dp264.eb1.4 (eric@ds10) (gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)) #17 Mon Feb 5 22:27:22 MST 2001
UBE pointer: 0x000000000000bfd0
Ok, code 0
(rev 0)
pcb->ksp= 0xfffffc00004bfed0
pcb->usp= 0x0000000000000000
pcb->ptbr= 0x0000000000000180
pcb->pcc= 0x0000000000000000
pcb->asn= 0x0000000000000000
pcb->unique=0x0000000000000000
pcb->flags= 0x0000000000000001
pcb->res1= 0x0000000000000000
pcb->res2= 0x0000000000000000
hwpcb:
pcb->ksp= 0x0000000000000000
pcb->usp= 0x0000000000000000
pcb->ptbr= 0x0000000000000000
pcb->pcc= 0x0000000000000000
pcb->asn= 0x0000000000000000
pcb->unique=0x0000000000000000
pcb->flags= 0x0000000000000000
pcb->res1= 0x0000000000000000
pcb->res2= 0x0000000000000000
Booting GENERIC on Tsunami variation Webbrick using machine vector Webbrick from MILO
Command line: console=ttyS0,9600 root=/dev/sda2 1
memcluster 0, usage 1, start 0, end 128
memcluster 1, usage 0, start 128, end 16384
freeing pages 128:384
freeing pages 709:16384
tsunami_init_arch: CChip registers:
tsunami_init_arch: CSR_CSC 0x42444015152664
tsunami_init_arch: CSR_MTR 0x2f7414000130
tsunami_init_arch: CSR_MISC 0x110000030
tsunami_init_arch: CSR_DIM0 0x0
tsunami_init_arch: CSR_DIM1 0x0
tsunami_init_arch: CSR_DIR0 0x0
tsunami_init_arch: CSR_DIR1 0x0
tsunami_init_arch: CSR_DRIR 0x83c0000000000000
tsunami_init_arch: CSR_TTR 0x3103
tsunami_init_arch: CSR_TDR 0xf37ff37ff37ff37f
tsunami_init_arch: DChip registers:
tsunami_init_arch: CSR_DSC 0x404040404040404
tsunami_init_arch: CSR_STR 0x2626262626262626
tsunami_init_arch: CSR_DREV 0x101010101010101
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 root=/dev/sda2 1
Using epoch = 1900
RTC_FREQ_SELECT = 0x26
Linux version 2.4.0.dp264.eb1.4 (eric@ds10) (gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)) #17 Mon Feb 5 22:27:22 MST 2001
UBE pointer: 0x000000000000bfd0
Ok, code 0
(rev 0)
pcb->ksp= 0xfffffc00004bfed0
pcb->usp= 0x0000000000000000
pcb->ptbr= 0x0000000000000180
pcb->pcc= 0x0000000000000000
pcb->asn= 0x0000000000000000
pcb->unique=0x0000000000000000
pcb->flags= 0x0000000000000001
pcb->res1= 0x0000000000000000
pcb->res2= 0x0000000000000000
hwpcb:
pcb->ksp= 0x0000000000000000
pcb->usp= 0x0000000000000000
pcb->ptbr= 0x0000000000000000
pcb->pcc= 0x0000000000000000
pcb->asn= 0x0000000000000000
pcb->unique=0x0000000000000000
pcb->flags= 0x0000000000000000
pcb->res1= 0x0000000000000000
pcb->res2= 0x0000000000000000
Booting GENERIC on Tsunami variation Webbrick using machine vector Webbrick from MILO
Command line: console=ttyS0,9600 root=/dev/sda2 1
memcluster 0, usage 1, start 0, end 128
memcluster 1, usage 0, start 128, end 16384
freeing pages 128:384
freeing pages 709:16384
tsunami_init_arch: CChip registers:
tsunami_init_arch: CSR_CSC 0x42444015152664
tsunami_init_arch: CSR_MTR 0x2f7414000130
tsunami_init_arch: CSR_MISC 0x110000030
tsunami_init_arch: CSR_DIM0 0x0
tsunami_init_arch: CSR_DIM1 0x0
tsunami_init_arch: CSR_DIR0 0x0
tsunami_init_arch: CSR_DIR1 0x0
tsunami_init_arch: CSR_DRIR 0x83c0000000000000
tsunami_init_arch: CSR_TTR 0x3103
tsunami_init_arch: CSR_TDR 0xf37ff37ff37ff37f
tsunami_init_arch: DChip registers:
tsunami_init_arch: CSR_DSC 0x404040404040404
tsunami_init_arch: CSR_STR 0x2626262626262626
tsunami_init_arch: CSR_DREV 0x101010101010101
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 root=/dev/sda2 1
Using epoch = 1900
RTC_FREQ_SELECT = 0x26
Calibrating delay loop... 919.28 BogoMIPS
Memory: 125104k/131072k available (1481k kernel code, 4944k reserved, 473k data, 168k
init)
Dentry-cache hash table entries: 16384 (order: 5, 262144 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 65536 bytes)
Page-cache hash table entries: 16384 (order: 4, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 131072 bytes)
POSIX conformance testing by UNIFIX
got res[8000:80ff] for resource 0 of PCI device 1077:1020
got res[8400:847f] for resource 0 of PCI device 1011:0019
got res[8480:84ff] for resource 0 of PCI device 1011:0019
got res[8800:880f] for resource 0 of PCI device 10b9:5229
got res[8810:881f] for resource 2 of PCI device 10b9:5229
got res[8820:882f] for resource 4 of PCI device 10b9:5229
got res[8830:8833] for resource 1 of PCI device 10b9:5229
got res[8834:8837] for resource 3 of PCI device 10b9:5229
got res[9000000:97fffff] for resource 1 of PCI device 104c:3d07
got res[9800000:9ffffff] for resource 2 of PCI device 104c:3d07
got res[a000000:a03ffff] for resource 6 of PCI device 1011:0019
got res[a040000:a07ffff] for resource 6 of PCI device 1011:0019
got res[a080000:a09ffff] for resource 0 of PCI device 104c:3d07
got res[a0a0000:a0affff] for resource 6 of PCI device 1077:1020
got res[a0b0000:a0bffff] for resource 6 of PCI device 104c:3d07
got res[a0c0000:a0c0fff] for resource 0 of PCI device 10b9:5237
got res[a0c1000:a0c1fff] for resource 1 of PCI device 1077:1020
got res[a0c2000:a0c23ff] for resource 1 of PCI device 1011:0019
got res[a0c3000:a0c33ff] for resource 1 of PCI device 1011:0019
PCI enable device: (PCI device 10b9:5237)
cmd reg 0x6
PCI enable device: (PCI device 10b9:1533)
cmd reg 0xf
PCI enable device: (PCI device 1011:0019)
cmd reg 0x7
PCI enable device: (PCI device 1011:0019)
cmd reg 0x7
PCI enable device: (PCI device 10b9:5229)
cmd reg 0x5
PCI enable device: (PCI device 1077:1020)
cmd reg 0x7
PCI enable device: (PCI device 104c:3d07)
cmd reg 0x7
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: QUANTUM FIREBALL EX6.4A, ATA DISK drive
hdd: COMPAQ CDR-8435, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1: unexpected interrupt, status=0xff, count=1
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12594960 sectors (6449 MB) w/418KiB Cache, CHS=13328/15/63
Partition check:
hda: [PTBL] [784/255/63] hda1 hda2 hda3
Floppy drive(s): fd0 is 2.88M
floppy0: no floppy controllers found
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Linux Tulip driver version 0.9.13 (January 2, 2001)
eth0: Digital DS21143 Tulip rev 65 at 0x8400, 08:00:2B:86:57:E3, IRQ 29.
eth0: EEPROM default media type Autosense.
eth0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
eth0: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
eth0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
eth0: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) block.
eth1: Digital DS21143 Tulip rev 65 at 0x8480, 08:00:2B:86:57:23, IRQ 30.
eth1: EEPROM default media type Autosense.
eth1: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
eth1: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
eth1: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
eth1: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) block.
SCSI subsystem driver Revision: 1.00
qlogicisp : new isp1020 revision ID (5)
scsi0 : QLogic ISP1020 SCSI on PCI bus 00 device 70 irq 35 I/O base 0x8000
Vendor: DEC Model: RZ2DA-KA (C) DEC Rev: N1H1
Type: Direct-Access ANSI SCSI revision: 02
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: COMPAQ Model: CDR-8435 Rev: 0013
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
sda: sda1 sda2 sda3
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
flash chip on the Tsunami TIG bus: Found no CFI device at location zero
mtd: did not recognize jedec chip
mtd: Giving out device 0 to flash chip on the Tsunami TIG bus
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 16Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 168k freed
INIT: version 2.77 booting
Welcome to Red Hat Linux
Press 'I' to enter interactive startup.