FYI ...

ron

---------- Forwarded message ----------
Date: Sun,  3 Mar 2002 22:33:14 +0100 (CET)
From: Christer Weinigel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [fb-d] NatSemi SC2200

Hi,

I've been stuck at home with a cold during the week(end), so I've been
fooling around a bit with a National Semiconductor SC2200 based
system.  It has taken me a couple of days to get the chipset setup and
ram sizing working, but now it can boot a Linux kernel from flash.

The PCI bus with two NatSemi DP8315 ethernet chips on it works, the
built in IDE and USB controllers also work.  The built in serial
ports, ACCESS.bus controller, watchdog and RTC also work.  I have not
looked at graphics or sound at all and getting that working will
probably be a lot of work.

Is anybody else using a SC1200, SC2200 or SC3200 based system and
interested in getting LinuxBIOS running on that system?  I'd be happy
to share what I have now, but it does need to be cleaned up a bit
first.  There are a lot of more things that could be done too, such as
optimizing the memory, there are at least another 256k of RAM that
could be given to the Linux kernel, and of course there's graphics and
sound to work on.

I've seen a few messages regarding getting Grub/Etherboot/Tiara
running instead of linuxbiosmain.  Has anybody done work in that
direction?  What I would like to do is to use grub to boot from a
local hard drive/Compact Flash, or Etherboot to boot over network
using a NatSemi DP83815 ethernet controller.

Another thing, and this might be anathema on this list *grin*, do you
know what Windows CE needs to be able to boot, could it be persuaded
to boot from LinuxBIOS do you think?  How hard would it be?

  /Christer

LinuxBIOS starting...
Setting up default parameters for memory
Sizing memory
Probing for DIMM0
Found DIMM0
    Page Size:       00000800
    Component Banks: 4
    Module Banks:    1
    DIMM size:       02000000
Probing for DIMM1
Memory sizing done, MC_BANK_CFG = 0x00701310
Ram Initialize?
before mainLinuxBIOS booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Scanning PCI bus...PCI: pci_scan_bus for bus 0
PCI: 00:00 [1078/0001]
PCI: 00:78 [100b/0020]
PCI: 00:80 [100b/0020]
PCI: 00:90 [100b/0500]
PCI: 00:91 [100b/0501]
PCI: 00:92 [100b/0502]
PCI: 00:93 [100b/0503]
PCI: 00:94 [100b/0504]
PCI: 00:95 [100b/0505]
PCI: 00:98 [0e11/a0f8]
PCI: pci_scan_bus returning with max=00
done
DIMM0: 32MB (2kB page size, 4 component banks, 1 module banks)
DIMM1: empty
totalram: 32M
Initializing CPU #0
Enabling cache...done.

Max cpuid index    : 2
Vendor ID          : Geode by NSC
Processor Type     : 0x00
Processor Family   : 0x05
Processor Model    : 0x04
Processor Mask     : 0x00
Processor Stepping : 0x00
Feature flags      : 0x00808131

Cache/TLB descriptor values: 1 reads required
Desc 0x70 : UNKNOWN
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
Desc 0x80 : UNKNOWN
Desc 0x00 : null
Desc 0x00 : null
Desc 0x00 : null
done.
CPU #0 Initialized
Allocating PCI resources...COMPUTE_ALLOCATE: do IO
compute_allocate_io: base 0x1000
DEVIO: Bus 0x0, devfn 0x78, reg 0x0: iosize 0x100
  rounded size 256 base 0x1000
-->set base to 0x1000
DEVIO: Bus 0x0, devfn 0x80, reg 0x0: iosize 0x100
  rounded size 256 base 0x1100
-->set base to 0x1100
DEVIO: Bus 0x0, devfn 0x90, reg 0x0: iosize 0x40
  rounded size 64 base 0x1200
-->set base to 0x1200
DEVIO: Bus 0x0, devfn 0x90, reg 0x1: iosize 0x40
  rounded size 64 base 0x1240
-->set base to 0x1240
DEVIO: Bus 0x0, devfn 0x91, reg 0x0: iosize 0x100
  rounded size 256 base 0x1300
-->set base to 0x1300
DEVIO: Bus 0x0, devfn 0x92, reg 0x4: iosize 0x10
  rounded size 16 base 0x1400
-->set base to 0x1400
Running VGA fix...
DEVIO: Bus 0x0, devfn 0x95, reg 0x0: iosize 0x40
  rounded size 64 base 0x1440
-->set base to 0x1440
BUS 0: set iolimit to 0x1fff
COMPUTE_ALLOCATE: do MEM
compute_allocate_mem: base 0x80000000
DEVMEM: Bus 0x0, devfn 0x78, reg 0x1: memsize 0x1000
-->set base to 0x80000000
DEVMEM: Bus 0x0, devfn 0x80, reg 0x1: memsize 0x1000
-->set base to 0x80001000
DEVMEM: Bus 0x0, devfn 0x93, reg 0x0: memsize 0x1000
-->set base to 0x80002000
DEVMEM: Bus 0x0, devfn 0x94, reg 0x0: memsize 0x1000
-->set base to 0x80003000
DEVMEM: Bus 0x0, devfn 0x94, reg 0x1: memsize 0x1000
-->set base to 0x80004000
DEVMEM: Bus 0x0, devfn 0x94, reg 0x2: memsize 0x1000
-->set base to 0x80005000
DEVMEM: Bus 0x0, devfn 0x98, reg 0x0: memsize 0x1000
-->set base to 0x80006000
BUS 0: set memlimit to 0x800fffff
COMPUTE_ALLOCATE: do PREFMEM
Compute_allocate_prefmem: base 0x80100000
BUS 0: set prefmemlimit to 0x800fffff
ASSIGN RESOURCES, bus 0
Bus 0x0 devfn 0x78 reg 0x0 base to 0x1001
Bus 0x0 devfn 0x78 reg 0x1 base to 0x80000000
Bus 0x0 devfn 0x80 reg 0x0 base to 0x1101
Bus 0x0 devfn 0x80 reg 0x1 base to 0x80001000
Bus 0x0 devfn 0x90 reg 0x0 base to 0x1201
Bus 0x0 devfn 0x90 reg 0x1 base to 0x1241
Bus 0x0 devfn 0x91 reg 0x0 base to 0x1301
Bus 0x0 devfn 0x92 reg 0x4 base to 0x1401
Bus 0x0 devfn 0x93 reg 0x0 base to 0x80002000
Bus 0x0 devfn 0x94 reg 0x0 base to 0x80003000
Bus 0x0 devfn 0x94 reg 0x1 base to 0x80004000
Bus 0x0 devfn 0x94 reg 0x2 base to 0x80005000
Bus 0x0 devfn 0x95 reg 0x0 base to 0x1441
Bus 0x0 devfn 0x98 reg 0x0 base to 0x80006000
done.
Enabling PCI resourcess...DEV Set command bus 0x00 devfn 0x00 to 0x07
DEV Set command bus 0x00 devfn 0x78 to 0x03
DEV Set command bus 0x00 devfn 0x80 to 0x03
DEV Set command bus 0x00 devfn 0x90 to 0x0f
DEV Set command bus 0x00 devfn 0x91 to 0x01
DEV Set command bus 0x00 devfn 0x92 to 0x01
DEV Set command bus 0x00 devfn 0x93 to 0x02
DEV Set command bus 0x00 devfn 0x94 to 0x03
DEV Set command bus 0x00 devfn 0x95 to 0x01
DEV Set command bus 0x00 devfn 0x98 to 0x02
done.
Zeroing PCI IRQ settings...done.
Final southbridge fixup
scx200: PCI INTA=9, INTB=10, INTC=11, INTD=12
scx200: Enabling Primary IDE Controller
scx200: USB is on INTD, IRQ 12
Final mainboard fixup
nano: Setting eth0 IRQ to 9
nano: Setting eth1 IRQ to 9
Jumping to linuxbiosmain()...

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

    37:init_bytes() - zkernel_start:0xc0000200  zkernel_mask:0x0000ffff
Gunzip setup
gunzip_setup
output data is 0x00100000
Gunzipping boot code
flush 0x00100000 count 0x00008000
...
flush 0x00240000 count 0x00006660
command line - [root=/dev/hda2 console=ttyS0,38400]
Jumping to boot code
Linux version 2.4.19pre1 (wingel@sloth) (gcc version egcs-2.91.66 19990314/Linux 
(egcs-1.1.2 release)) #14 Wed Feb 27 21:20:02 CET 2002
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000001f00000 (usable)
On node 0 totalpages: 7936
zone(0): 4096 pages.
zone(1): 3840 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda2 console=ttyS0,38400
Initializing CPU#0
Detected 233.340 MHz processor.
Calibrating delay loop... 465.30 BogoMIPS
Memory: 29336k/31744k available (863k kernel code, 2020k reserved, 230k data, 192k 
init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Geode by NSC Geode(TM) Integrated Processor by National Semi stepping 00
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: none
PCI: Using configuration type 1
PCI: Probing PCI hardware
scx200: Configuration Block at 0x9000 (default)
scx200: GX_BASE is 0x40000000
scx200: GPIOs at 0x1200
scx200_nano: GPIO01/#IOCS1,GPIO20/#DOCCS on H2,H3
scx200_nano: Configuring GPIOs
scx200_nano: #DOCCS not GPIO20, ZWS
scx200_nano: GPIO34 = 0x7
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ 
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 0) is a 16550A
Real Time Clock Driver v1.10e
block: 64 slots per queue, batch=16
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SCx200: IDE controller on PCI bus 00 dev 92
SCx200: chipset revision 1
SCx200: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1400-0x1407, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:pio, hdd:pio
hda: C/H/S=0/0/0 from BIOS ignored
hda: ST360020A, ATA DISK drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63
Partition check:
 hda: [PTBL] [7297/255/63] hda1 hda2 hda3 hda4
natsemi.c:v1.07 1/9/2001  Written by Donald Becker <[EMAIL PROTECTED]>
  http://www.scyld.com/network/natsemi.html
  (unofficial 2.4.x kernel port, version 1.07+LK1.0.14, Nov 27, 2001  Jeff Garzik, 
Tjeerd Mulder)
eth0: NatSemi DP8381[56] at 0xc2811000, 00:07:90:f0:00:19, IRQ 9.
eth1: NatSemi DP8381[56] at 0xc2813000, 00:07:90:f0:00:1a, IRQ 9.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 192k freed
modprobe: modprobe: Can't locate module char-major-4
INIT: version 2.78 booting
                        Welcome to Red Hat Linux
                Press 'I' to enter interactive startup.
Mounting proc filesystem:  [  OK  ]
Configuring kernel parameters:  [  OK  ]
Setting clock  (utc): Sun Mar  3 21:38:44 CET 2002 [  OK  ]
Activating swap partitions:  [  OK  ]
Setting hostname localhost.localdomain:  [  OK  ]
...

-- 
"Just how much can I get away with and still go to heaven?"

_______________________________________________
Freebios-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freebios-devel

Reply via email to