summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* -mdoc sweep.ru2005-11-181-3/+2
|
* Catch up with loader_color -> loader_logo and document beastie_disable.ru2005-11-152-5/+12
|
* Rename GEOM class kernel module g_md.ko to geom_md.ko for consistencypjd2005-11-111-4/+4
| | | | | | | | | | with the rest. mdconfig.c: Simplify mdmaybeload() function. mdioctl.h: Removed (now unused) #define. loader.conf: Sort GEOM classes properly. OK'ed by: phk
* Add more GEOM classes to defaults/loader.conf. Add references to manualpjd2005-11-111-3/+17
| | | | | | pages to those already present. Reviewed by: brueffer
* Consistently use OPT_* macros to test/set boot options.ru2005-11-032-12/+24
|
* MFi386: Enable beastie.4th.nyan2005-10-301-2/+2
|
* Add back some bits.scottl2005-10-302-1/+18
|
* Replace loader_color with loader_logoscottl2005-10-301-9/+42
|
* - Add a workaround for the fact that OFW doesn't guarantee thatmarius2005-10-251-7/+58
| | | | | | | | | | | | | devices can be opened multiple times simultaneously but we're expected to be able to do so by the rest of the loader. This fixes booting from disks attached to the on-board SCSI controller of Sun Ultra 1 (previously this triggered a trap) and probably also of AX1115 boards. - While here, remove unused variables and add empty lines where style(9) requires such. Tested on: powerpc (grehan), sparc64 MFC after: 1 month
* In ofw_parsedev() check the return value of malloc() and protectmarius2005-10-251-1/+5
| | | | | | | against a NULL pointer dereference when ofw_parsedev() is called with a NULL path argument. Tested on: powerpc (grehan), sparc64
* Use an ihandle_t to store the instance handle of an opened devicemarius2005-10-201-1/+1
| | | | | instead of a phandle_t (package handle). Since both are typedefed to unsigned int, this is more or less cosmetic.
* Remove unused variables.marius2005-10-204-7/+0
|
* Export processor socket information. New environment variables are:jkim2005-10-181-0/+32
| | | | | smbios.socket.enabled: number of enabled sockets smbios.socket.populated: number of populated sockets
* Re-implement rev.1.76 with respect to the code size.sobomax2005-10-162-30/+44
|
* Backout previous commit - for some reason it overflows space constrains onsobomax2005-10-162-64/+48
| | | | amd64. Better version will follow.
* Add new option `q', which makes second stage loader quiet unless autobootsobomax2005-10-162-48/+64
| | | | | | is disabled or fails. MFC after: 1 week
* MFi386: revision 1.33.nyan2005-09-301-1/+1
| | | | | | > Cause all flags passed by boot2 to set the respective loader(8) > boot_* variable. The end effect is that all flags from boot2 > are now passed to the kernel.
* Cause all flags passed by boot2 to set the respective loader(8)ru2005-09-223-1/+12
| | | | | boot_* variable. The end effect is that all flags from boot2 are now passed to the kernel.
* Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:ru2005-09-2210-15/+90
| | | | "boot_dfltroot", "boot_mute", and "boot_pause" respectively.
* - RBX_MASK wasn't updated when RB_PAUSE was changed from 0x40000ru2005-09-222-4/+4
| | | | | | to 0x100000 in rev. 1.67. - NOPT wasn't updated (decremented) in previous revision.
* Remove EPSON PC-386 note A/W/AE/WR support.nyan2005-09-141-13/+2
|
* MFi386: revision 1.11.nyan2005-09-131-9/+108
|
* MFi386: revisions 1.10 and 1.11.nyan2005-09-131-1/+2
| | | | - Add '-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3' to CFLAGS.
* net.graph.ngqfreemax has been deprecated.glebius2005-08-311-1/+0
|
* Add a "comconsole_speed" loader variable that can be used to changeiedowse2005-08-184-11/+136
| | | | | | | | | | | | the serial console speed (i386 and amd64 only). If the previous stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE) then the default speed is determined from the current serial port speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED at compile time. This makes it possible to set the serial port speed once in /boot.config and the setting will propagate to boot2, loader and the kernel serial console.
* Add the ability to specify the boot2 serial console speed iniedowse2005-08-184-32/+59
| | | | | | | | /boot.config or on the "boot:" prompt line via a "-S<speed>" flag, e.g. "-h -S19200". This adds about 50 bytes to the size of boot2 and required a few other small changes to limit the size impact. This changes only affects boot2; there are further loader changes to follow.
* - Change the code that determines whether to use a serial console andmarius2005-08-151-17/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which serial device to use in that case respectively to not rely on the OFW names of the input/output and stdin/stdout devices. Instead check whether input and output refers to the same device and is of type serial (uart(4) was already doing this) and for the fallback to a serial console in case a keyboard is the selected input device but unplugged do the same for stdin and stdout in case the input device is nonexistent (PS/2 and USB keyboards) or has a 'keyboard' property (RS232 keyboards). Additionally also check whether the OFW did a fallback to a serial console in the same way in case the output device is nonexistent. While at it save on some variables and for sys/boot/sparc64/loader/metadata.c move the code in question to a new function md_bootserial() so it can be kept in sync with uart_cpu_getdev_console() more easily. This fixes selecting a serial console and the appropriate device when using a device path for the 'input-device' and 'output-device' OFW environment variables instead of an alias for the serial device to use or when using a screen alias that additionally denotes a video mode (like e.g. 'screen:r1024x768x60') but no keyboard is plugged in (amongst others). It also makes the code select a serial console in case the OFW did the same due to a misconfiguration like both 'input-device' and 'output-device' set to 'keyboard' or to a nonexisting device (whether the OFW does a fallback to a serial console in case of a misconfiguration or one ends up with just no console at all highly depends on the OBP version however). - Reduce the size of buffers that only ever need to hold the string 'serial' accordingly. Double the size of buffers that may need to hold a device path as e.g. '/pci@8,700000/ebus@5/serial@1,400000:a' exceeds 32 chars. - Remove the package handle of the '/options' node from the argument list of uart_cpu_getdev_dbgport() as it's unused there and future use is also unlikely. MFC after: 1 week
* Add if_arl_load, if_axe_load, if_aue_load, if_cs_load, if_cue_load,krion2005-08-071-1/+10
| | | | | | | if_hme_load, if_nve_load, if_rue_load, if_udav_load to Networking Drivers section. Submitted by: matteo
* Add if_ath_load (default NO) in Networking Drivers section.krion2005-08-061-0/+1
| | | | | PR: conf/80870 Submitted by: Hasan Cana <vpb at albabsd dot org>
* The kernel is usually at /boot/kernel/kernel nowadays.ssouhlal2005-08-062-2/+2
| | | | | PR: i386/81756 Submitted by: trasz <trasz@buziaczek.pl>
* Fix a comparison that broke ``set console=vidconsole'' and even thebrian2005-07-291-1/+1
| | | | | | | loader.conf line ``console="vidconsole"''. Sponsored by: ActiveState/Sophos MFC after: 1 week
* Mention that console= can set multiple consoles.brian2005-07-291-11/+13
| | | | | | | | Relate boot_ options to their kernel command line flags and make it clear how kenv(1) is used. Sponsored by: ActiveState/Sophos MFC after: 1 week
* Simplify SMBIOS loader variables and drop `hint.smbios.0.enabled'.jkim2005-07-271-14/+11
| | | | | | | | They are not real hints. Reported by: des Pointed out by: peter Approved by: anholt (mentor)
* remove a pointless comment with a more helpful one...jmg2005-07-251-1/+1
| | | | | Submitted by: Tobias Roth MFC after: 5 days
* Make code match comment: make the smallest unit of page allocationgrehan2005-07-221-3/+5
| | | | | | | | | | | from OpenFirmware be 16 pages to avoid fragmentation in the list of mappings returned when the kernel requests it in pmap_bootstrap. This allows a static buffer to be used when obtaining the existing mappings - very useful on the G5 when random physical pages can't be grabbed because they can't be BAT-mapped. MFC after: 3 days
* Add -mno-sse3 for prescott/noconaache2005-07-154-3/+6
|
* Scan static SMBIOS structures and export the following environmentjkim2005-07-144-1/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variables to loader: hint.smbios.0.enabled "YES" when SMBIOS is detected hint.smbios.0.bios.vendor BIOS vendor hint.smbios.0.bios.version BIOS version hint.smbios.0.bios.reldate BIOS release date hint.smbios.0.system.maker System manufacturer hint.smbios.0.system.product System product name hint.smbios.0.system.version System version number hint.smbios.0.planar.maker Base board manufacturer hint.smbios.0.planar.product Base board product name hint.smbios.0.planar.version Base board version number hint.smbios.0.chassis.maker Enclosure manufacturer hint.smbios.0.chassis.version Enclosure version These strings can be used to detect hardware quirks and to set appropriate flags. For example, Compaq R3000 series and some HP laptops require hint.atkbd.0.flags="0x9" to boot. See amd64/67745 for more detail. Note: Please do not abuse this feature to resolve general problem when it can be fixed programmatically. This must be used as a last resort. PR: kern/81449 Approved by: anholt (mentor)
* Improved markup, fixes some spelling and grammar.ru2005-06-141-12/+13
| | | | Approved by: re (blanket)
* Fix getsecs(). It was not counting the seconds right. The immediatemarcel2005-06-041-19/+46
| | | | | | | | | | and visible effect of the bug what that autoboot would boot a kernel after only a couple of seconds had passed instead of waiting the full 10 seconds it's supposed to wait by default. Add my copyright notice, since one was missing and I reimplemented the one and only function in this file. MFC after: 1 week
* Fix delay(). The processor cycle counter is a 32-bit wrapping counter.marcel2005-06-041-5/+8
| | | | | | Hence, mask off the upper 32 bits and deal with wrap-arounds. MFC after: 1 week
* Temperarly disable building in the bzip2 support by default so we can fitobrien2005-06-011-1/+1
| | | | on the i386 floppies. Sigh, I hate floppies.
* Add a missing const to alpha_setcurrdev() to quiet a warning.jhb2005-05-312-2/+2
|
* Change the type the buf arg to the strategy routines from void * to char *jhb2005-05-311-4/+4
| | | | to quiet some warnings.
* Whitespace.jhb2005-05-311-1/+1
|
* Put bzip2 support on equal footing with gzip support.obrien2005-05-311-1/+1
| | | | | | Enable bzip2 support by default, set LOADER_NO_BZIP2_SUPPORT to disable it. Pointy hat to: sobomax
* Ensure GCC does not use FP registers in integer code.obrien2005-05-311-0/+1
| | | | | I really don't like cluttering up the compiler invocation, but this bigger hammer will fix reported problems for now.
* Markup nits.ru2005-05-301-2/+2
|
* - Add support to the loader for multiple consoles.jhb2005-05-275-53/+146
| | | | | | | | | | | | | - Teach the i386 and pc98 loaders to honor multiple console requests from their respective boot2 binaries so that the same console(s) are used in both boot2 and the loader. - Since the kernel doesn't support multiple consoles, whichever console is listed first is treated as the "primary" console and is passed to the kernel in the boot_howto flags. PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week
* Fix a warning by adding a missing 'const'.jhb2005-05-272-2/+2
| | | | MFC after: 1 week
* Print out the commands from /boot.config after parsing them so that theyjhb2005-05-273-3/+3
| | | | | | | | output is sent to the correct console(s). PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week
OpenPOWER on IntegriCloud