| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
certain BIOSs when booting from a USB CD-ROM. Also, fix the twiddle to
actually twiddle.
Approved by: re
Notes:
svn path=/releng/5.2/; revision=124941
|
| |
|
|
|
|
|
|
|
| |
Disable the APIC when selection the 'Safe Boot' option.
Approved by: rwatson
Notes:
svn path=/releng/5.2/; revision=124325
|
| |
|
|
| |
Notes:
svn path=/releng/5.2/; revision=123193
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
different kernel to boot with kernel="NAME" would load the kernel and
loader.conf-selected modules from /boot/NAME, but it would not change
module_path. So, for instance, the automatically loaded acpi.ko would come
from /boot/kernel/acpi.ko, *always*.
Mind you, this happened for unassisted boot. If you interrupted, typed
"unload" and then "boot NAME", it would Do The Right Thing.
The source of the problem is the double initialization with beastie's
loader.rc. One would happen inside "start", and would load the kernel. The
next one would happen later in the loader.rc script, resetting module_path.
Because module_path is set to the Right Value by the functions in support.4th
that actually load the kernel, when beastie.4th proceeded to boot
module_path would remain wrong, as the kernel was already loaded.
This can be corrected by removing either initialization, and also by changing
the command used by beastie.4th from "boot" to "boot-conf", which makes sure
you use the right kernel and modules.
I chose to remove the second initialization, since this let you interrupt
(or confirm) boot before beastie even comes up. I avoid also doing the
boot-conf change because that would simply cause the kernel and modules to
be loaded twice (in fact, that was my original patch, until, in writing this
very commit message, I saw the error of my ways).
This commit changes the semantics of module loading when using the beastie
menu. Now it does what one would expect it to, but not what it was actually
doing, so something may break for unusual setups depending on broken
behavior. As our japanese friends so nicely put it, shikata ga nakatta. :-)
Approved by: re (scottl)
Notes:
svn path=/head/; revision=122942
|
| |
|
|
|
|
|
|
|
|
| |
commit that removed the UNIX entry.
Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=122923
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
While we end up the same place, we end up with two different CS register
values after the jump and 0xf000 is compatible with the hardware reset
value.
This makes a difference if the BIOS does a near jump before a far jump.
Detective work and patch by: Adrian Steinmann <ast@marabu.ch>
Notes:
svn path=/head/; revision=122806
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122753
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
value as reserved for internal use in boot blocks, because RB_PAUSE
broke binary compatibility by usurping the RB_DUAL flag. Probably no
one except me has boot blocks for which this matters, since most boot
blocks based on biosboot including pc98's boot2 can't boot elf kernels,
and /boot/loader doesn't properly pass flags set by the previous stage.
reboot.h:
Also mark the historical RB_PROBEKBD flag (0x80000) as reserved for
internal use in boot blocks.
boot2.c:
Added comments to inhibit usurping of other flags.
Approved by: guido, imp
MFC after: 1 week
Notes:
svn path=/head/; revision=122749
|
| |
|
|
|
|
|
|
|
| |
This ensures that uart gets a higher console priority than syscons when
a serial console is being used. Testing against the "console" environment
variable doesn't make sense since we only have one loader console driver.
Notes:
svn path=/head/; revision=122499
|
| |
|
|
|
|
|
|
|
| |
commit broke the world because it depended on namespace pollution that
was only in my version of <machine/bootinfo.h>. The include was removed
in rev.1.63 after the last reference to it went away in rev.1.61.
Notes:
svn path=/head/; revision=122463
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
comment about this flag in rev.1.61. It is not historical like the
comment said; it is the flag that says that most of what is laboriously
put in the bootinfo struct is actually there. Newer kernels were
bootable by even the broken boot2 without losing anything except the
symbol table, but older kernels need at least the memory sizes.
Restoring the "|" with RB_BOOTINFO that was lost in rev.1.43 costs 5
bytes. The fix can be done in only 4 bytes by fixing some code that
was removed in rev.1.61 (put RB_BOOTINFO back in in the initial value
of "opts" and fix RBX_MASK to not clobber it.)
Notes:
svn path=/head/; revision=122433
|
| |
|
|
|
|
|
| |
when idle. All we have to do is return.
Notes:
svn path=/head/; revision=122351
|
| |
|
|
|
|
|
| |
in the simulator.
Notes:
svn path=/head/; revision=122350
|
| |
|
|
|
|
|
|
| |
of the verbose print statements that BTXLDR_VERBOSE enables wasn't properly
enabled.
Notes:
svn path=/head/; revision=122177
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the root path. This is reported to make non-PXE netbooting, such as
is used on sparc64 systems, work correctly when the TFTP server is
not the same as the root server.
PR: kern/57328
Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>
Notes:
svn path=/head/; revision=121973
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121632
|
| |
|
|
|
|
|
| |
Submitted by: dcs
Notes:
svn path=/head/; revision=121618
|
| |
|
|
|
|
|
|
| |
include ns16550.h. The missing installation of ns16550.h was fixed
long ago and the misplaced defines in sioreg.h were fixed recently.
Notes:
svn path=/head/; revision=120118
|
| |
|
|
|
|
|
|
|
| |
/boot/loader.conf to see the pretty colors =-)
loader_color="YES"
Notes:
svn path=/head/; revision=120031
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119880
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119714
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119483
|
| |
|
|
|
|
|
| |
Also some minor copyright style cleanups.
Notes:
svn path=/head/; revision=119482
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
boot time. Instead, read it a sector at a time. While this sounds
like a significant slowdown, I've not been able to measure any
signficant difference.
Submitted by: luigi
Reviewed by: jhb, sam (both a while ago)
MFC After: 3 days
Notes:
svn path=/head/; revision=119253
|
| |
|
|
| |
Notes:
svn path=/head/; revision=118982
|
| |
|
|
|
|
|
|
|
|
| |
ushort. In most of these files, there was a mixture of both styles and
this change just makes them self-consistent.
Requested by: bde (kern_ktrace.c)
Notes:
svn path=/head/; revision=118607
|
| |
|
|
|
|
|
| |
would follow the 6 valid chars of the table entry.
Notes:
svn path=/head/; revision=118604
|
| |
|
|
|
|
|
| |
to make the asm a bit more readable.
Notes:
svn path=/head/; revision=118485
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EFI file system. When booting from a CD and there's already an EFI
system partition on the disk, setting the current device to unit 0
will select the harddisk. This invariably breaks installing FreeBSD
when other operating systems have been installed before.
We obviously want to do the same when we're booting over the network.
Maybe later.
Based on a patch (from memory) from: arun
Notes:
svn path=/head/; revision=118346
|
| |
|
|
|
|
|
|
|
| |
script to match the one for the EFI loader and rewrite __start()
in assembly to have gp defined without getting in the way of the
compiler.
Notes:
svn path=/head/; revision=117677
|
| |
|
|
|
|
|
|
| |
on ia64. This fixes the breakage caused by the gcc upgrade that
resulted in a broken executable.
Notes:
svn path=/head/; revision=117676
|
| |
|
|
|
|
|
| |
Reported by: Kevin Oberman <oberman@es.net>
Notes:
svn path=/head/; revision=117529
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117511
|
| |
|
|
|
|
|
| |
LOADER_NET_SUPPORT.
Notes:
svn path=/head/; revision=117448
|
| |
|
|
|
|
|
|
| |
using as(1) to compile plain assembler source files; bsd.lib.mk
has been fixed (in revision 1.147).
Notes:
svn path=/head/; revision=117160
|
| |
|
|
|
|
|
|
| |
Approved by: marcel
Repocopied by: joe
Notes:
svn path=/head/; revision=117158
|
| |
|
|
|
|
|
|
| |
Approved by: marcel
Repocopied by: joe
Notes:
svn path=/head/; revision=117156
|
| |
|
|
|
|
|
|
|
| |
boot menu on and off.
Reviewed by: scottl
Notes:
svn path=/head/; revision=117090
|
| |
|
|
|
|
|
|
|
|
| |
symbols from intermediate object files, so these hacks to
get AMD64 compile are no longer needed.
Tested on: sledge.FreeBSD.org
Notes:
svn path=/head/; revision=117081
|
| |
|
|
|
|
|
| |
.s.o transformation rule.
Notes:
svn path=/head/; revision=117075
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117053
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bsd.lib.mk and thus broke the build since AFLAGS were not taken
into considered anymore, as bsd.lib.mk currently has wrong .s.o
rule that uses cc(1) instead of as(1).
Revision 1.14 reverted to using as(1), and revision 1.15 brought
AFLAGS back to the business, but revision 1.14 also broke "make
clean".
To fix this, but not break anything that was fixed in revisions
1.13-1.15, we revert mostly to revision 1.13 except for switching
back to using bsd.prog.mk. This gives us back the default .s.o
rule from sys.mk that uses as(1), and fixes "make clean" by
restoring the full contents of OBJS.
Also fixed LDFLAGS.
Notes:
svn path=/head/; revision=117052
|
| |
|
|
|
|
|
|
| |
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=117044
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116864
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the terminating '\0'. Since the initialisation of rootpath in
libstand/bootp.c may copy junk into the rest of the buffer, it was
possible for the code to find a ':' after the '\0' and do the wrong
thing.
Reviewed by: ps
MFC after: 1 week
Notes:
svn path=/head/; revision=116451
|
| |
|
|
|
|
|
| |
Reviewed by: tmm
Notes:
svn path=/head/; revision=116415
|
| |
|
|
|
|
|
|
|
|
| |
'YES'.
If the user selects to escape to the loader prompt, set 'autoboot_delay'
to 'NO' so that the prompt timer doesn't run.
Notes:
svn path=/head/; revision=116175
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116003
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116002
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116001
|