Deleted Added
full compact
VERSATILEPB (244281) VERSATILEPB (244480)
1# VERSATILEPB - Configuration for QEMU version of Versatile Platform Board
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
1# VERSATILEPB - Configuration for QEMU version of Versatile Platform Board
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD: head/sys/arm/conf/VERSATILEPB 244281 2012-12-16 00:20:16Z gonzo $
18# $FreeBSD: head/sys/arm/conf/VERSATILEPB 244480 2012-12-20 04:32:02Z gonzo $
19
20ident VERSATILEPB
21machine arm armv6
19
20ident VERSATILEPB
21machine arm armv6
22cpu CPU_ARM11
22cpu CPU_ARM1176
23
24files "../versatile/files.versatile"
25makeoptions MODULES_OVERRIDE=""
26
27options KERNVIRTADDR=0xc0100000
28makeoptions KERNVIRTADDR=0xc0100000
29options KERNPHYSADDR=0x00100000
30makeoptions KERNPHYSADDR=0x00100000
31options PHYSADDR=0x00000000
32options STARTUP_PAGETABLE_ADDR=0x01000000
33options FREEBSD_BOOT_LOADER
34options LINUX_BOOT_ABI
35
36makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
37options HZ=100
38
39options SCHED_4BSD #4BSD scheduler
40options INET #InterNETworking
41options FFS #Berkeley Fast Filesystem
42options SOFTUPDATES #Enable FFS soft updates support
43options UFS_ACL #Support for access control lists
44options UFS_DIRHASH #Improve performance on big directories
45device snp
46
47options PSEUDOFS #Pseudo-filesystem framework
48options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
49options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
50options KTRACE #ktrace(1) support
51options SYSVSHM #SYSV-style shared memory
52options SYSVMSG #SYSV-style message queues
53options SYSVSEM #SYSV-style semaphores
54options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
55options KBD_INSTALL_CDEV # install a CDEV entry in /dev
56options ROOTDEVNAME=\"ufs:da0s2a\"
57
58options PREEMPTION
59
60device bpf
61device loop
62device mii
63device mii_bitbang
64device smc
65device smcphy
66device ether
67device uart
68device pl011
69device pl190
70
71device pty
72
73device pci
74
75# SCSI Controllers
76device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
77
78# ATA/SCSI peripherals
79device scbus # SCSI bus (required for ATA/SCSI)
80device da # Direct Access (disks)
81device pass # Passthrough device (direct ATA/SCSI access)
82
83# NOTE: serial console is disabled if syscons enabled
84# Comment following lines for headless setup
85device sc
86device kbdmux
87options SC_DFLT_FONT # compile font in
88makeoptions SC_DFLT_FONT=cp437
89
90options KDB
91options DDB #Enable the kernel debugger
92options INVARIANTS #Enable calls of extra sanity checking
93options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
94
95device md
96device random # Entropy device
97
98# Flattened Device Tree
99options FDT
100options FDT_DTB_STATIC
101makeoptions FDT_DTS_FILE=versatilepb.dts
23
24files "../versatile/files.versatile"
25makeoptions MODULES_OVERRIDE=""
26
27options KERNVIRTADDR=0xc0100000
28makeoptions KERNVIRTADDR=0xc0100000
29options KERNPHYSADDR=0x00100000
30makeoptions KERNPHYSADDR=0x00100000
31options PHYSADDR=0x00000000
32options STARTUP_PAGETABLE_ADDR=0x01000000
33options FREEBSD_BOOT_LOADER
34options LINUX_BOOT_ABI
35
36makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
37options HZ=100
38
39options SCHED_4BSD #4BSD scheduler
40options INET #InterNETworking
41options FFS #Berkeley Fast Filesystem
42options SOFTUPDATES #Enable FFS soft updates support
43options UFS_ACL #Support for access control lists
44options UFS_DIRHASH #Improve performance on big directories
45device snp
46
47options PSEUDOFS #Pseudo-filesystem framework
48options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
49options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
50options KTRACE #ktrace(1) support
51options SYSVSHM #SYSV-style shared memory
52options SYSVMSG #SYSV-style message queues
53options SYSVSEM #SYSV-style semaphores
54options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
55options KBD_INSTALL_CDEV # install a CDEV entry in /dev
56options ROOTDEVNAME=\"ufs:da0s2a\"
57
58options PREEMPTION
59
60device bpf
61device loop
62device mii
63device mii_bitbang
64device smc
65device smcphy
66device ether
67device uart
68device pl011
69device pl190
70
71device pty
72
73device pci
74
75# SCSI Controllers
76device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
77
78# ATA/SCSI peripherals
79device scbus # SCSI bus (required for ATA/SCSI)
80device da # Direct Access (disks)
81device pass # Passthrough device (direct ATA/SCSI access)
82
83# NOTE: serial console is disabled if syscons enabled
84# Comment following lines for headless setup
85device sc
86device kbdmux
87options SC_DFLT_FONT # compile font in
88makeoptions SC_DFLT_FONT=cp437
89
90options KDB
91options DDB #Enable the kernel debugger
92options INVARIANTS #Enable calls of extra sanity checking
93options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
94
95device md
96device random # Entropy device
97
98# Flattened Device Tree
99options FDT
100options FDT_DTB_STATIC
101makeoptions FDT_DTS_FILE=versatilepb.dts