Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / prex-0.9.0 / conf / ppc / prep @ 03e9c04a

History | View | Annotate | Download (2.9 KB)

1 03e9c04a Brad Neuman
#
2
# Prex system configuration file
3
#
4
5
#
6
# Make options
7
#
8
makeoptions	GCCFLAGS+= -mcpu=powerpc -m32 -mno-eabi -msoft-float
9
makeoptions	GCCFLAGS+= -fno-dwarf2-cfi-asm
10
makeoptions	ASFLAGS+= -mregnames
11
12
#
13
# Memory address
14
#
15
memory		LOADER_TEXT	0x00100000	# Start of boot loader
16
memory		KERNEL_TEXT	0x00080000	# Start of kernel
17
memory		BOOTIMG_BASE	0x00102000	# Location of boot image
18
memory		SYSPAGE_BASE	0x00000000	# Location of system page
19
20
#
21
# Tunable paramters
22
#
23
options 	HZ=1000		# Ticks/second of the clock
24
options 	TIME_SLICE=50	# Context switch ratio (msec)
25
options 	OPEN_MAX=16	# Max open files per process
26
options 	BUF_CACHE=32	# Blocks for buffer cache
27
options 	FS_THREADS=4	# Number of file system threads
28
29
#
30
# Platform settings
31
#
32
options		MPC750		# Processor type
33
#options 	MMU		# Memory management unit
34
options 	CACHE		# Cache memory
35
#options 	FPU		# Floating point unit
36
#options 	ROMBOOT		# Boot from ROM
37
options 	BOOTDISK	# Disk for /boot directory
38
options		PPC_OEA		# PowerPC OEA
39
40
#
41
# General setup
42
#
43
options 	POSIX		# POSIX support
44
options 	CMDBOX		# Core utilities
45
#options 	TINY		# Optimize for size
46
47
#
48
# Kernel hacking
49
#
50
options 	KD		# Kernel debugger
51
#options 	AUDIT		# Security auditing
52
53
#
54
# Diagnostic options
55
#
56
#options 	DIAG_SCREEN	# Diagnostic via screen
57
#options 	DIAG_SERIAL	# Diagnostic via serial port
58
options 	DIAG_QEMU	# Diagnostic via qemu emulater
59
60
#
61
# File systems
62
#
63
#options 	FIFOFS		# FIFO & Pipe
64
options 	DEVFS		# Device file system
65
options 	RAMFS		# RAM file system
66
options 	ARFS		# Archive file system
67
#options 	FATFS		# FAT file system
68
69
#
70
# Power management
71
#
72
options 	PM		# Power management
73
#options 	PM_POWERSAVE	# Power policy: Battery optimized
74
options 	PM_PERFORMANCE	# Power policy: Parformance optimized
75
#options 	DVS_EMULATION	# Dynamic voltage scaling emulation
76
77
#
78
# Device drivers (initialization order)
79
#
80
device		pm		# Power management
81
device		cons		# System console
82
#device		wscons		# Workstation console
83
#device		pckbd	    	# PC/AT Keyboard (P:wscons)
84
#device		vga	    	# VGA video (P:wscons)
85
device		serial		# Logical serial
86
device		ns16550	    	# NS16550 serial port (P:serial)
87
#device		psaux		# PS/2 Mouse
88
device		rtc		# Logical RTC
89
device		mc146818	# MC146818 Real time clock (P:rtc)
90
device		null		# NULL device
91
device		zero		# Zero device
92
device		ramdisk		# RAM disk
93
#device		fdd		# Floppy disk drive
94
95
#
96
# Hardware configuations
97
#
98
options		NS16550_BASE=0x3f8
99
options		NS16550_IRQ=4
100
options		MC146818_BASE=0x70
101
102
#
103
# Command box
104
#
105
command 	cat
106
command 	clear
107
command 	cp
108
command 	date
109
command 	dmesg
110
command 	echo
111
command 	free
112
command 	head
113
command 	hostname
114
command 	kill
115
command 	ls
116
command 	mkdir
117
command 	more
118
command 	mv
119
command 	nice
120
command 	printenv
121
command 	ps
122
command 	pwd
123
command 	rm
124
command 	rmdir
125
command 	sh
126
command 	sleep
127
command 	sync
128
#command 	test
129
command 	touch
130
command 	uname
131
132
#
133
# Adminisrative tools
134
#
135
command 	diskutil
136
command 	install
137
command 	pmctrl
138
command 	ktrace
139
command 	lock
140
command 	debug