[BACK]Return to RAMDISK CVS log [TXT][DIR] Up to [local] / sys / arch / hp300 / conf

File: [local] / sys / arch / hp300 / conf / RAMDISK (download)

Revision 1.1.1.1 (vendor branch), Tue Mar 4 16:05:36 2008 UTC (16 years, 3 months ago) by nbrk
Branch: OPENBSD_4_2_BASE, MAIN
CVS Tags: jornada-partial-support-wip, HEAD
Changes since 1.1: +0 -0 lines

Import of OpenBSD 4.2 release kernel tree with initial code to support 
Jornada 720/728, StrongARM 1110-based handheld PC.
At this point kernel roots on NFS and boots into vfs_mountroot() and traps.
What is supported:
- glass console, Jornada framebuffer (jfb) works in 16bpp direct color mode
(needs some palette tweaks for non black/white/blue colors, i think)
- saic, SA11x0 interrupt controller (needs cleanup)
- sacom, SA11x0 UART (supported only as boot console for now)
- SA11x0 GPIO controller fully supported (but can't handle multiple interrupt
handlers on one gpio pin)
- sassp, SSP port on SA11x0 that attaches spibus
- Jornada microcontroller (jmcu) to control kbd, battery, etc throught
the SPI bus (wskbd attaches on jmcu, but not tested)
- tod functions seem work
- initial code for SA-1111 (chip companion) : this is TODO

Next important steps, i think:
- gpio and intc on sa1111
- pcmcia support for sa11x0 (and sa1111 help logic)
- REAL root on nfs when we have PCMCIA support (we may use any of supported pccard NICs)
- root on wd0! (using already supported PCMCIA-ATA)

#	$OpenBSD: RAMDISK,v 1.29 2007/05/01 15:22:23 deraadt Exp $
#
# Ram disk kernel.
#

machine hp300 m68k

# Support for various CPU types
option		HP340
option		HP345
option		HP360
option		HP362
option		HP370
option		HP375
option		HP380
option		HP382
option		HP385
option		HP400
option		HP425
option		HP433

maxusers	32

option		TIMEZONE=0	# time zone to adjust RTC time by
option		DST=0		# daylight saving time used by RTC

option		FFS		# UFS
#option		EXT2FS		# Linux ext2fs

option		NFSCLIENT	# Network File System client

option		CD9660		# ISO 9660 + Rock Ridge file system
#option		MSDOSFS		# MS-DOS file system
option		FIFO		# FIFOs; RECOMMENDED

option		INET		# IP + ICMP + TCP + UDP

option		BOOT_CONFIG	# add support for boot -c

# Options for HP hardware
option		USELEDS		# make the lights twinkle
#option		CONSCODE="9"	# force console at this select code for DIO
				# or DIO-II devices, or 256 + slot number
				# for SGC devices

# Verbose descriptions of unconfigured DIO devices
# (Warning: this compiles in a large string table)
option		DIOVERBOSE	# recognize "unknown" DIO devices

# Options for the ramdisk.
option		MINIROOTSIZE=4096
option		RAMDISK_HOOKS

config		bsd	root on rd0 swap on rd0 and hd0b and sd0b

mainbus0	at root		# root "bus"

intio0		at mainbus0	# internal i/o space
dio0		at mainbus0	# DIO/DIO-II bus
sgc0		at mainbus0	# SGC bus on some 4xx models

# Human Interface Loop devices
hil0		at intio?	# HIL controller
hilkbd*		at hil?		# keyboards
wskbd*		at hilkbd? mux 1
#hilms*		at hil?		# mice, buttons and tablets
#wsmouse*	at hilms? mux 0
#hilid*		at hil?		# ID module

# Frodo utility chip found on 362, 382 and 4xx's
frodo0		at intio?

# 8250-like serial ports found on Frodo ASIC
dnkbd0		at frodo?	# Domain keyboard flavor
wskbd*		at dnkbd? mux 1
#wsmouse*	at dnkbd? mux 0
apci*		at frodo?	# tty flavor

# Davinci framebuffer
dvbox*		at intio?
dvbox*		at dio?
wsdisplay*	at dvbox?

# Gatorbox framebuffer
gbox*		at intio?
gbox*		at dio?
wsdisplay*	at gbox?

# Hyperion framebuffer
hyper*		at dio?
wsdisplay*	at hyper?

# Renaissance framebuffer
rbox*		at intio?
rbox*		at dio?
wsdisplay*	at rbox?

# Topcat/catseye framebuffers
topcat*		at intio?
topcat*		at dio?
wsdisplay*	at topcat?

# TurboVRX framebuffer
tvrx*		at dio?
wsdisplay*	at tvrx?

# SGC framebuffers
sti*		at sgc?
wsdisplay*	at sti?

dca0		at dio? scode 9	flags 1	# DCA serial interfaces
dca*		at dio?

dcm*		at dio? flags 0xe	# DCM 4- or 8-port serial interfaces

le*		at dio?			# LANCE ethernet interfaces

nhpib0		at dio? scode 7		# slow internal HP-IB
nhpib*		at dio?

fhpib*		at dio?			# `fast' HP-IB

hpibbus0	at nhpib0
hpibbus*	at nhpib?
hpibbus*	at fhpib?

hd*		at hpibbus?		# HP-IB disks
ct*		at hpibbus?		# HP-IB cartridge tapes
mt*		at hpibbus?		# HP-IB 9-track tape

spc*		at dio? flags 0x00	# SCSI controller
scsibus*	at spc?

sd*		at scsibus?		# SCSI disks
st*		at scsibus?		# SCSI tapes
cd*		at scsibus?		# SCSI CD-ROMs

pseudo-device	loop	1	# network loopback
pseudo-device	pty	16	# pseudo-terminals
pseudo-device	bpfilter 1	# packet filter
pseudo-device	rd	1	# ramdisk