Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm preliminary support for the Propox MMnet1002...
details: https://anonhg.NetBSD.org/src/rev/011158557498
branches: trunk
changeset: 770971:011158557498
user: aymeric <aymeric%NetBSD.org@localhost>
date: Fri Nov 04 17:40:48 2011 +0000
description:
preliminary support for the Propox MMnet1002 board
http://www.propox.com/products/t_232.html
diffstat:
sys/arch/evbarm/conf/MMNET_GENERIC | 649 ++++++++++++++++++++++++++++++++++
sys/arch/evbarm/conf/files.mmnet | 9 +
sys/arch/evbarm/conf/mk.mmnet | 13 +
sys/arch/evbarm/conf/std.mmnet | 31 +
sys/arch/evbarm/mmnet/mmnet_machdep.c | 358 ++++++++++++++++++
sys/arch/evbarm/mmnet/mmnet_start.S | 201 ++++++++++
6 files changed, 1261 insertions(+), 0 deletions(-)
diffs (truncated from 1285 to 300 lines):
diff -r 3ebb521e57a9 -r 011158557498 sys/arch/evbarm/conf/MMNET_GENERIC
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbarm/conf/MMNET_GENERIC Fri Nov 04 17:40:48 2011 +0000
@@ -0,0 +1,649 @@
+# $NetBSD: MMNET_GENERIC,v 1.1 2011/11/04 17:40:48 aymeric Exp $
+#
+# GENERIC machine description file
+#
+# This machine description file is used to generate the default NetBSD
+# kernel. The generic kernel does not include all options, subsystems
+# and device drivers, but should be useful for most applications.
+#
+# The machine description file can be customised for your specific
+# machine to reduce the kernel size and improve its performance.
+#
+# For further information on compiling NetBSD kernels, see the config(8)
+# man page.
+#
+# For further information on hardware support for this architecture, see
+# the intro(4) man page. For further information about kernel options
+# for this architecture, see the options(4) man page. For an explanation
+# of each device driver in this file see the section 4 man page for the
+# device.
+
+include "arch/evbarm/conf/std.mmnet"
+
+options INCLUDE_CONFIG_FILE # embed config file in kernel binary
+
+#ident "GENERIC-$Revision: 1.1 $"
+
+maxusers 32 # estimated number of users
+
+# CPU support.
+options CPU_ARM9E
+makeoptions CPUFLAGS="-mtune=arm926ej-s -mcpu=arm926ej-s"
+
+# CPU-related options.
+#options MATH_EMULATE # floating point emulation
+
+# doesn't work with MP just yet..
+#options PERFCTRS # performance-monitoring counters support
+
+#options MULTIBOOT # Multiboot support (see multiboot(8))
+
+# delay between "rebooting ..." message and hardware reset, in milliseconds
+#options CPURESET_DELAY=2000
+
+# This option allows you to force a serial console at the specified
+# I/O address. see console(4) for details.
+#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
+# you don't want the option below ON iff you are using the
+# serial console option of the new boot strap code.
+#options CONS_OVERRIDE # Always use above! independent of boot info
+
+# Standard system options
+
+#options INSECURE # disable kernel security levels - X needs this
+
+options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
+options NTP # NTP phase/frequency locked loop
+
+options KTRACE # system call tracing via ktrace(1)
+
+options SYSVMSG # System V-like message queues
+options SYSVSEM # System V-like semaphores
+#options SEMMNI=10 # number of semaphore identifiers
+#options SEMMNS=60 # number of semaphores in system
+#options SEMUME=10 # max number of undo entries per process
+#options SEMMNU=30 # number of undo structures in system
+options SYSVSHM # System V-like memory sharing
+options P1003_1B_SEMAPHORE # p1003.1b semaphore support
+
+
+#options USERCONF # userconf(4) support
+#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
+options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
+
+# Beep when it is safe to power down the system (requires sysbeep)
+#options BEEP_ONHALT
+# Some tunable details of the above feature (default values used below)
+#options BEEP_ONHALT_COUNT=3 # Times to beep
+#options BEEP_ONHALT_PITCH=1500 # Default frequency (in Hz)
+#options BEEP_ONHALT_PERIOD=250 # Default duration (in msecs)
+
+# Enable experimental buffer queue strategy for better responsiveness under
+# high disk I/O load. Likely stable but not yet the default.
+#options BUFQ_READPRIO
+#options BUFQ_PRIOCSCAN
+
+# Diagnostic/debugging support options
+options DIAGNOSTIC # expensive kernel consistency checks
+options DEBUG # expensive debugging checks/support
+options KMEMSTATS # kernel memory statistics (vmstat -m)
+options DDB # in-kernel debugger
+options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
+options DDB_HISTORY_SIZE=512 # enable history editing in DDB
+#options KGDB # remote debugger
+#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
+makeoptions DEBUG="-Os -g" # compile full symbol table
+options SYMTAB_SPACE=600000
+#options SYSCALL_STATS # per syscall counts
+#options SYSCALL_TIMES # per syscall times
+#options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris)
+
+# Compatibility options
+#options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
+#options COMPAT_09 # NetBSD 0.9
+#options COMPAT_10 # NetBSD 1.0
+#options COMPAT_11 # NetBSD 1.1
+#options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
+#options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
+#options COMPAT_14 # NetBSD 1.4
+#options COMPAT_15 # NetBSD 1.5
+options COMPAT_16 # NetBSD 1.6
+options COMPAT_20 # NetBSD 2.0
+options COMPAT_30 # NetBSD 3.0
+options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
+#options COMPAT_386BSD_MBRPART # recognize old partition ID
+#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
+
+#options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
+#options COMPAT_SVR4 # binary compatibility with SVR4
+#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
+#options COMPAT_LINUX # binary compatibility with Linux
+#options COMPAT_FREEBSD # binary compatibility with FreeBSD
+#options COMPAT_MACH # binary compatibility with Mach binaries
+#options COMPAT_DARWIN # binary compatibility with Darwin binaries
+#options EXEC_MACHO # exec MACH-O binaries
+#options COMPAT_NDIS # NDIS network driver
+#options COMPAT_PECOFF # kernel support to run Win32 apps
+options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
+
+# File systems
+file-system FFS # UFS
+#file-system EXT2FS # second extended file system (linux)
+#file-system LFS # log-structured file system
+file-system MFS # memory file system
+file-system NFS # Network File System client
+#file-system NTFS # Windows/NT file system (experimental)
+#file-system CD9660 # ISO 9660 + Rock Ridge file system
+file-system MSDOSFS # MS-DOS file system
+#file-system FDESC # /dev/fd
+file-system KERNFS # /kern
+file-system NULLFS # loopback file system
+#file-system OVERLAY # overlay file system
+#file-system PROCFS # /proc
+#file-system UMAPFS # NULLFS + uid and gid remapping
+file-system UNION # union file system
+#file-system CODA # Coda File System; also needs vcoda (below)
+#file-system SMBFS # experimental - CIFS; also needs nsmb (below)
+file-system PTYFS # /dev/ptm support
+file-system TMPFS # Efficient memory file-system
+#file-system UDF # experimental - OSTA UDF CD/DVD file-system
+
+# File system options
+#options QUOTA # UFS quotas
+#options FFS_EI # FFS Endian Independent support
+options WAPBL # File system journaling support - Experimental
+# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
+# It is not recommended for general use.
+#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
+#options NFSSERVER # Network File System server
+options FFS_NO_SNAPSHOT # No FFS snapshot support
+#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
+ # immutable) behave as system flags.
+
+# Networking options
+options GATEWAY # packet forwarding
+options INET # IP + ICMP + TCP + UDP
+#options INET6 # IPV6
+#options IPSEC # IP security
+#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
+#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
+#options IPSEC_DEBUG # debug for IP security
+#options MROUTING # IP multicast routing
+#options PIM # Protocol Independent Multicast
+#options ISO,TPIP # OSI
+#options EON # OSI tunneling over IP
+#options NETATALK # AppleTalk networking protocols
+options PPP_BSDCOMP # BSD-Compress compression support for PPP
+options PPP_DEFLATE # Deflate compression support for PPP
+options PPP_FILTER # Active filter support for PPP (requires bpf)
+options PFIL_HOOKS # pfil(9) packet filter hooks
+options IPFILTER_LOG # ipmon(8) log support
+options IPFILTER_LOOKUP # ippool(8) support
+#options IPFILTER_DEFAULT_BLOCK # block all packets by default
+#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
+
+#options ALTQ # Manipulate network interfaces' output queues
+#options ALTQ_BLUE # Stochastic Fair Blue
+#options ALTQ_CBQ # Class-Based Queueing
+#options ALTQ_CDNR # Diffserv Traffic Conditioner
+#options ALTQ_FIFOQ # First-In First-Out Queue
+#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
+#options ALTQ_HFSC # Hierarchical Fair Service Curve
+#options ALTQ_LOCALQ # Local queueing discipline
+#options ALTQ_PRIQ # Priority Queueing
+#options ALTQ_RED # Random Early Detection
+#options ALTQ_RIO # RED with IN/OUT
+#options ALTQ_WFQ # Weighted Fair Queueing
+
+# These options enable verbose messages for several subsystems.
+# Warning, these may compile large string tables into the kernel!
+options MIIVERBOSE # verbose PHY autoconfig messages
+options PCMCIAVERBOSE # verbose PCMCIA configuration messages
+options SCSIVERBOSE # human readable SCSI error messages
+options USBVERBOSE # verbose USB device autoconfig messages
+
+options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
+
+#
+# wscons options
+#
+# builtin terminal emulations
+#options WSEMUL_SUN # sun terminal emulation
+#options WSEMUL_VT100 # VT100 / VT220 emulation
+# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
+#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
+#options WS_DEFAULT_FG=WSCOL_WHITE
+#options WS_DEFAULT_BG=WSCOL_BLACK
+#options WS_DEFAULT_COLATTR="(0)"
+#options WS_DEFAULT_MONOATTR="(0)"
+#options WS_KERNEL_FG=WSCOL_GREEN
+#options WS_KERNEL_BG=WSCOL_BLACK
+#options WS_KERNEL_COLATTR=""
+#options WS_KERNEL_MONOATTR=""
+# customization of console border color
+#options WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8)
+#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
+# compatibility to other console drivers
+#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
+#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
+#options WSDISPLAY_COMPAT_USL # VT handling
+#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
+#options WSKBD_EVENT_AUTOREPEAT # auto repeat in event mode
+#options WSKBD_USONLY # strip off non-US keymaps
+# don't attach pckbd as the console if no PS/2 keyboard is found
+#options PCKBD_CNATTACH_MAY_FAIL
+# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
+#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
+#options UKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for ukbd driver
+# allocate a number of virtual screens at autoconfiguration time
+#options WSDISPLAY_DEFAULTSCREENS=4
+# use a large software cursor that doesn't blink
+#options PCDISPLAY_SOFTCURSOR
+# modify the screen type of the console; defaults to "80x25"
+#options VGA_CONSOLE_SCREENTYPE="\"80x24\""
+# work around a hardware bug that loaded fonts don't work; found on ATI cards
+#options VGA_CONSOLE_ATI_BROKEN_FONTSEL
+# console scrolling support.
+#options WSDISPLAY_SCROLLSUPPORT
+# enable VGA raster mode capable of displaying multilingual text on console
+#options VGA_RASTERCONSOLE
+# enable splash screen support; requires hw driver support
+#options SPLASHSCREEN
+#options SPLASHSCREEN_PROGRESS
+
+# Kernel root file system and dump configuration.
+#config netbsd root on sd0c type ffs
+config netbsd root on ? type ?
+#config netbsd root on ? type ?
+#config netbsd root on ? type nfs
+
+#
+# Device configuration
+#
+
+mainbus0 at root
+
+cpu* at mainbus?
+
+# Basic Bus Support
+at91bus0 at mainbus? # AT91 bus
+
+
+# Integrated peripherals:
+# On-chip interrupt controller
+at91aic0 at at91bus0 addr 0xfffff000 size 0x200
+
+# On-chip timer
+#at91st0 at at91bus0 addr 0xfffffd00 size 0x100 pid 1
+at91tctmr0 at at91bus0 addr 0xfffa0000 size 0x40 pid 17
+
+# On-chip debug UART
+at91dbgu0 at at91bus0 addr 0xfffff200 size 0x200 pid 1
+
+# On-chip UARTs
+#at91usart0 at at91bus0 addr 0xfffc0000 size 0x4000 pid 6
+#at91usart1 at at91bus0 addr 0xfffc4000 size 0x4000 pid 7
+#at91usart2 at at91bus0 addr 0xfffc8000 size 0x4000 pid 8
+#at91usart3 at at91bus0 addr 0xfffcc000 size 0x4000 pid 9
+
+# On-chip ethernet
+at91emac0 at at91bus0 addr 0xfffc4000 size 0x4000 pid 21
+
+# General purpose I/O
+at91pio0 at at91bus0 addr 0xfffff400 size 0x200 pid 2
+at91pio1 at at91bus0 addr 0xfffff600 size 0x200 pid 3
+at91pio2 at at91bus0 addr 0xfffff800 size 0x200 pid 4
+gpio* at at91pio?
Home |
Main Index |
Thread Index |
Old Index