enable omapfb and related stuff

This commit is contained in:
macallan 2010-08-31 19:07:01 +00:00
parent 704f7610df
commit a83a5dd561
1 changed files with 43 additions and 11 deletions

View File

@ -1,5 +1,5 @@
# #
# $NetBSD: BEAGLEBOARD,v 1.10 2010/08/28 13:02:32 ahoka Exp $ # $NetBSD: BEAGLEBOARD,v 1.11 2010/08/31 19:07:01 macallan Exp $
# #
# BEAGLEBOARD -- TI OMAP 3530 Eval Board Kernel # BEAGLEBOARD -- TI OMAP 3530 Eval Board Kernel
# #
@ -27,7 +27,7 @@ options PMAPCOUNTERS
file-system FFS # UFS file-system FFS # UFS
#file-system LFS # log-structured file system #file-system LFS # log-structured file system
file-system MFS # memory file system #file-system MFS # memory file system
file-system NFS # Network file system file-system NFS # Network file system
#file-system ADOSFS # AmigaDOS-compatible file system #file-system ADOSFS # AmigaDOS-compatible file system
#file-system EXT2FS # second extended file system (linux) #file-system EXT2FS # second extended file system (linux)
@ -87,8 +87,8 @@ options NFS_BOOT_RWSIZE=1024
#options COMPAT_43 # 4.3BSD compatibility. #options COMPAT_43 # 4.3BSD compatibility.
options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility.
options COMPAT_40 # NetBSD 4.0 compatibility. #options COMPAT_40 # NetBSD 4.0 compatibility.
options COMPAT_30 # NetBSD 3.0 compatibility. #options COMPAT_30 # NetBSD 3.0 compatibility.
#options COMPAT_20 # NetBSD 2.0 compatibility. #options COMPAT_20 # NetBSD 2.0 compatibility.
#options COMPAT_16 # NetBSD 1.6 compatibility. #options COMPAT_16 # NetBSD 1.6 compatibility.
#options COMPAT_15 # NetBSD 1.5 compatibility. #options COMPAT_15 # NetBSD 1.5 compatibility.
@ -145,6 +145,7 @@ options SYMTAB_SPACE=300000
## USB Debugging options ## USB Debugging options
options USB_DEBUG options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG options OHCI_DEBUG
options UHUB_DEBUG options UHUB_DEBUG
@ -168,7 +169,7 @@ mainbus0 at root
cpu0 at mainbus? cpu0 at mainbus?
# Specify the memory size in megabytes. # Specify the memory size in megabytes.
options MEMSIZE=128 options MEMSIZE=256
# L3 Interconnect # L3 Interconnect
L3i0 at mainbus? L3i0 at mainbus?
@ -204,7 +205,7 @@ gpio* at omapgpio?
# On-board 16550 UARTs # On-board 16550 UARTs
com0 at obio2 addr 0x49020000 intr 74 mult 4 # UART3 (console) com0 at obio2 addr 0x49020000 intr 74 mult 4 # UART3 (console)
#options CONSADDR=0x49020000, CONSPEED=57600 #options CONSADDR=0x49020000, CONSPEED=38400
options CONSADDR=0x49020000, CONSPEED=115200 options CONSADDR=0x49020000, CONSPEED=115200
# Operating System Timer # Operating System Timer
@ -220,16 +221,47 @@ omapwdt32k* at obio2 addr 0x49030000 size 2048 # WDT3
#omapwdt32k* at obio1 addr 0x4830c000 size 2048 # WDT1 #omapwdt32k* at obio1 addr 0x4830c000 size 2048 # WDT1
#omapwdt32k* at obio1 addr 0x48314000 size 2048 # WDT2 #omapwdt32k* at obio1 addr 0x48314000 size 2048 # WDT2
# onboard video
omapfb* at obio0 addr 0x48050000 size 0x10000
# make sure the console display is always wsdisplay0
wsdisplay0 at wsemuldisplaydev? console 1
wsdisplay* at wsemuldisplaydev?
# various options for wscons - we try to look as much like a standard
# sun console as possible
options WSEMUL_VT100 # sun terminal emulation
options WS_DEFAULT_FG=WSCOL_BLACK
options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options WS_KERNEL_FG=WSCOL_GREEN
options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSDISPLAY_DEFAULTSCREENS=4
options FONT_QVSS8x15
#options FONT_GALLANT12x22 # the console font
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
# Power, Reset and Clock Management # Power, Reset and Clock Management
prcm* at obio1 addr 0x48306000 size 0x2000 # PRM Module prcm* at obio1 addr 0x48306000 size 0x2000 # PRM Module
# On-board USB # On-board USB
#ehci* at obio0 addr 0x48064800 size 0x0400 intr 77 ehci* at obio0 addr 0x48064800 size 0x0400 intr 77
#ohci* at obio0 addr 0x48064400 size 0x0400 intr 76 #ohci* at obio0 addr 0x48064400 size 0x0400 intr 76
#usb* at ohci? #usb* at ohci?
#uhub* at usb? usb* at ehci?
##umass* at uhub? port ? configuration ? interface ? uhub* at usb?
##wd* at umass? uhub* at uhub? port ?
umass* at uhub? port ? configuration ? interface ?
wd* at umass?
uhidev* at uhub?
ukbd* at uhidev?
ums* at uhidev?
wskbd* at ukbd?
wsmouse* at ums?
#axe* at uhub? port ? configuration ? interface ? #axe* at uhub? port ? configuration ? interface ?
# Hardware clocking and power management # Hardware clocking and power management
@ -241,7 +273,7 @@ options OMAP_CK_REF_SPEED=12000000
# Pseudo-Devices # Pseudo-Devices
# disk/mass storage pseudo-devices # disk/mass storage pseudo-devices
pseudo-device md 1 # memory disk device (ramdisk) #pseudo-device md 1 # memory disk device (ramdisk)
#pseudo-device vnd # disk-like interface to files #pseudo-device vnd # disk-like interface to files
#pseudo-device fss # file system snapshot device #pseudo-device fss # file system snapshot device