Index: i386/conf/MINIMAL =================================================================== --- i386/conf/MINIMAL (revision 0) +++ i386/conf/MINIMAL (revision 0) @@ -0,0 +1,113 @@ +# +# MINIMAL -- Minimal kernel configuration file for FreeBSD/i386 +# +# For more information on this file, please read the handbook section on +# Kernel Configuration Files: +# +# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html +# +# The handbook is also available locally in /usr/share/doc/handbook +# if you've installed the doc distribution, otherwise always see the +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the +# latest information. +# +# An exhaustive list of options and more detailed explanations of the +# device lines is also present in the ../../conf/NOTES and NOTES files. +# If you are in doubt as to the purpose or necessity of a line, check first +# in NOTES. +# +# $FreeBSD: head/sys/i386/conf/GENERIC 183567 2008-10-03 10:31:31Z stas $ + +cpu I486_CPU +cpu I586_CPU +cpu I686_CPU +ident MINIMAL + +# To statically compile in device wiring instead of /boot/device.hints +#hints "GENERIC.hints" # Default places to look for devices. + +makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols + +options SCHED_ULE # ULE scheduler +options PREEMPTION # Enable kernel thread preemption +options INET # InterNETworking +options INET6 # IPv6 communications protocols +options SCTP # Stream Control Transmission Protocol +options FFS # Berkeley Fast Filesystem +options SOFTUPDATES # Enable FFS soft updates support +options UFS_ACL # Support for access control lists +options UFS_DIRHASH # Improve performance on big directories +options UFS_GJOURNAL # Enable gjournal-based UFS journaling +options PROCFS # Process filesystem (requires PSEUDOFS) +options PSEUDOFS # Pseudo-filesystem framework +options GEOM_PART_GPT # GUID Partition Tables. +options GEOM_LABEL # Provides labelization +options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] +options COMPAT_FREEBSD4 # Compatible with FreeBSD4 +options COMPAT_FREEBSD5 # Compatible with FreeBSD5 +options COMPAT_FREEBSD6 # Compatible with FreeBSD6 +options COMPAT_FREEBSD7 # Compatible with FreeBSD7 +options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI +options KTRACE # ktrace(1) support +options STACK # stack(9) support +options SYSVSHM # SYSV-style shared memory +options SYSVMSG # SYSV-style message queues +options SYSVSEM # SYSV-style semaphores +options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions +options KBD_INSTALL_CDEV # install a CDEV entry in /dev +options STOP_NMI # Stop CPUS using NMI instead of IPI +options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) +options AUDIT # Security event auditing + +# Debugging for use in -current +options KDB # Enable kernel debugger support. +options DDB # Support DDB. +options GDB # Support remote GDB. +options INVARIANTS # Enable calls of extra sanity checking +options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS +options WITNESS # Enable checks to detect deadlocks and cycles +options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed + +# To make an SMP kernel, the next two lines are needed +options SMP # Symmetric MultiProcessor Kernel +device apic # I/O APIC + +# Bus support. +device acpi +device eisa +device pci + +# atkbdc0 controls both the keyboard and the PS/2 mouse +device atkbdc # AT keyboard controller +device atkbd # AT keyboard +device psm # PS/2 mouse + +device vga # VGA video card driver + +# syscons is the default console driver, resembling an SCO console +device sc + +# Pseudo devices. +device loop # Network loopback +device random # Entropy device +device ether # Ethernet support +device pty # BSD-style compatibility pseudo ttys + +# Leaving out these two will result in the following errors: +# +# link_elf: symbol firmware_register undefined +# KLD file ispfw.ko - could not finalize loading +# link_elf: symbol xpt_create_path undefined +# KLD file hptiop.ko - could not finalize loading +# link_elf: symbol firmware_get undefined +# KLD file isp.ko - could not finalize loading +# link_elf: symbol cam_simq_alloc undefined +# KLD file hptmv.ko - could not finalize loading +device scbus # SCSI bus (required for SCSI) +device firmware # firmware assist module + +# The `bpf' device enables the Berkeley Packet Filter. +# Be aware of the administrative consequences of enabling this! +# Note that 'bpf' is required for DHCP. +device bpf # Berkeley packet filter + Index: boot/forth/generic_drivers.conf =================================================================== --- boot/forth/generic_drivers.conf (revision 0) +++ boot/forth/generic_drivers.conf (revision 0) @@ -0,0 +1,220 @@ +nfsclient_load="YES" +nfsserver_load="YES" +nfslockd_load="YES" +msdosfs_load="YES" +cd9660_load="YES" + +cpufreq_load="YES" + +fdc_load="YES" + +# ATA and ATAPI devices +ata_load="YES" +atadisk_load="YES" +ataraid_load="YES" +atapicd_load="YES" +atapifd_load="YES" +atapist_load="YES" + +# SCSI Controllers +ahb_load="YES" +ahc_load="YES" +ahd_load="YES" +amd_load="YES" +hptiop_load="YES" +isp_load="YES" +ispfw_load="YES" +mpt_load="YES" +ncr_load="YES" +sym_load="YES" +trm_load="YES" +adv_load="YES" +adw_load="YES" +aha_load="YES" +aic_load="YES" +bt_load="YES" + +# NCR 53C500 +nsp_load="YES" +stg_load="YES" + +# SCSI peripherals +scbus_load="YES" +ch_load="YES" +da_load="YES" +sa_load="YES" +cd_load="YES" +pass_load="YES" +ses_load="YES" + +# RAID controllers interfaced to the SCSI subsystem +amr_load="YES" +arcmsr_load="YES" +asr_load="YES" +ciss_load="YES" +dpt_load="YES" +hptmv_load="YES" +hptrr_load="YES" +iir_load="YES" +ips_load="YES" +mly_load="YES" +twa_load="YES" + +# RAID controllers +aac_load="YES" +aacp_load="YES" +ida_load="YES" +mfi_load="YES" +mlx_load="YES" +pst_load="YES" +twe_load="YES" + +kbdmux_load="YES" + +splash_load="YES" + +agp_load="YES" + +# Power management support (see NOTES for more options) +apm_load="YES" +# Add suspend/resume support for the i8254. +pmtimer_load="YES" + +# PCCARD (PCMCIA) support +# PCMCIA and cardbus bridge support +cbb_load="YES" +pccard_load="YES" +cardbus_load="YES" + +# Serial (COM) ports +uart_load="YES" + +# Parallel port +ppc_load="YES" +ppbus_load="YES" +lpt_load="YES" +plip_load="YES" +ppi_load="YES" +vpo_load="YES" + +#puc_load="YES" + +# PCI Ethernet NICs. +if_de_load="YES" +if_em_load="YES" +if_igb_load="YES" +if_ixgb_load="YES" +if_le_load="YES" +if_ti_load="YES" +if_txp_load="YES" +if_vx_load="YES" + +# PCI Ethernet NICs that use the common MII bus controller code. +# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! +miibus_load="YES" +if_ae_load="YES" +if_age_load="YES" +if_bce_load="YES" +if_bfe_load="YES" +if_bge_load="YES" +if_dc_load="YES" +if_et_load="YES" +if_fxp_load="YES" +if_jme_load="YES" +if_lge_load="YES" +if_msk_load="YES" +if_nfe_load="YES" +if_nge_load="YES" +#if_nve_load="YES" +if_pcn_load="YES" +if_re_load="YES" +if_rl_load="YES" +if_sf_load="YES" +if_sis_load="YES" +if_sk_load="YES" +if_ste_load="YES" +if_stge_load="YES" +if_tl_load="YES" +if_tx_load="YES" +if_vge_load="YES" +if_vr_load="YES" +if_wb_load="YES" +if_xl_load="YES" + +# ISA Ethernet NICs. pccard NICs included. +if_cs_load="YES" +if_ed_load="YES" +if_ex_load="YES" +if_ep_load="YES" +if_fe_load="YES" +if_ie_load="YES" +if_sn_load="YES" +if_xe_load="YES" + +# Wireless NIC cards +wlan_load="YES" +wlan_wep_load="YES" +wlan_ccmp_load="YES" +wlan_tkip_load="YES" +wlan_amrr_load="YES" +if_an_load="YES" +if_ath_load="YES" +if_ath_hal_load="YES" +if_ath_rate_sample_load="YES" +if_ral_load="YES" +if_wi_load="YES" +#if_wl_load="YES" + +# Pseudo devices. +if_tun_load="YES" +md_load="YES" +if_gif_load="YES" +if_faith_load="YES" + +# USB support +uhci_load="YES" +ohci_load="YES" +ehci_load="YES" +usb_load="YES" +#udbp_load="YES" +ugen_load="YES" +uhid_load="YES" +ukbd_load="YES" +ulpt_load="YES" +umass_load="YES" +ums_load="YES" +ural_load="YES" +rum_load="YES" +zyd_load="YES" +urio_load="YES" +uscanner_load="YES" + +# USB Serial devices +ucom_load="YES" +u3g_load="YES" +uark_load="YES" +ubsa_load="YES" +uftdi_load="YES" +uipaq_load="YES" +uplcom_load="YES" +uslcom_load="YES" +uvisor_load="YES" +uvscom_load="YES" + +# USB Ethernet, requires miibus +aue_load="YES" +axe_load="YES" +cdce_load="YES" +cue_load="YES" +kue_load="YES" +rue_load="YES" +udav_load="YES" + +# FireWire support +firewire_load="YES" +sbp_load="YES" +fwe_load="YES" +fwip_load="YES" +dcons_load="YES" +dcons_crom_load="YES" + Index: boot/i386/loader/main.c =================================================================== --- boot/i386/loader/main.c (revision 183742) +++ boot/i386/loader/main.c (working copy) @@ -96,7 +96,7 @@ */ bios_getmem(); -#if defined(LOADER_BZIP2_SUPPORT) || defined(LOADER_FIREWIRE_SUPPORT) +#if 1 || defined(LOADER_BZIP2_SUPPORT) || defined(LOADER_FIREWIRE_SUPPORT) heap_top = PTOV(memtop_copyin); memtop_copyin -= 0x300000; heap_bottom = PTOV(memtop_copyin);