#
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
Revision tags: release/14.1.0, release/13.3.0 |
|
#
e36afddf |
| 18-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Add textvidc to build
Add textvidc to the build. And use -DTERM_EMU to build it.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43915
|
#
26c8dede |
| 16-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: line line per src file in libi386
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D43913
|
#
588ff074 |
| 16-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Simplify build a little
Confine -DDISK_DEBUG to biosdisc.c, the only file it affects. Use modern variable arrays instead of alloca and add a sanity size minimum for biospnp nodes. These node
loader: Simplify build a little
Confine -DDISK_DEBUG to biosdisc.c, the only file it affects. Use modern variable arrays instead of alloca and add a sanity size minimum for biospnp nodes. These nodes are tiny enough that we needn't do a malloc/free pair: the stack is fine.
Sponsored by: Netflix Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D43914
show more ...
|
Revision tags: release/14.0.0 |
|
#
4722ceb7 |
| 17-Aug-2023 |
Ed Maste <emaste@FreeBSD.org> |
Use 115200 bps by default for serial communication
9600 was a standard baud rate decades ago, but 115200 is now more common so choose defaults that are useful to the largest number of users.
Note t
Use 115200 bps by default for serial communication
9600 was a standard baud rate decades ago, but 115200 is now more common so choose defaults that are useful to the largest number of users.
Note that boot0sio does not support rates above 9600 so it remains unchanged.
Reviewed by: bz, imp, manu Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36295
show more ...
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0 |
|
#
bb9f61da |
| 30-Nov-2022 |
Warner Losh <imp@FreeBSD.org> |
zfs: Remove devicename_stubs
We no longer need the zfs stubs since we're no longer referencing these functions outside of zfs.c.
Sponsored by: Netflix Differential Revision: https://reviews.freebs
zfs: Remove devicename_stubs
We no longer need the zfs stubs since we're no longer referencing these functions outside of zfs.c.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37345
show more ...
|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
eda28feb |
| 30-Apr-2021 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
EFI secure boot VECTX related changes
When VECTX is enabled as a kernel option and non-EFI loaders are built, many reads will fail due to the mis-match of whether LOADER_VERIEXEC_VECTX or not in rea
EFI secure boot VECTX related changes
When VECTX is enabled as a kernel option and non-EFI loaders are built, many reads will fail due to the mis-match of whether LOADER_VERIEXEC_VECTX or not in readin.h. Source that includes bootstrap.h must ensure the kernel option agrees with the compile time CFLAGS in the various make related files.
Submitted by: bret_ketchum@dell.com (original revision) Reviewed by: sjg, bdrewery, dab, bret_ketchum@dell.com MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D29993
show more ...
|
Revision tags: release/13.0.0 |
|
#
3630506b |
| 21-Dec-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: implement framebuffer console
Draw console on efi. Add vbe framebuffer for BIOS loader (vbe off, vbe on, vbe list, vbe set xxx). autoload font (/boot/fonts) based on resolution and font size
loader: implement framebuffer console
Draw console on efi. Add vbe framebuffer for BIOS loader (vbe off, vbe on, vbe list, vbe set xxx). autoload font (/boot/fonts) based on resolution and font size. Add command loadfont (set font by file) and variable screen.font (set font by size). Pass loaded font to kernel.
Export variables: screen.height screen.width screen.depth
Add gfx primitives to draw the screen and put png image on the screen. Rework menu draw to iterate list of consoles to enamble device specific output.
Probably something else I forgot...
Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27420
show more ...
|
Revision tags: release/12.2.0 |
|
#
3830659e |
| 20-Jun-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: create single zfs nextboot implementation
We should have nextboot feature implemented in libsa zfs code. To get there, I have created zfs_nextboot() implementation based on two sources, our
loader: create single zfs nextboot implementation
We should have nextboot feature implemented in libsa zfs code. To get there, I have created zfs_nextboot() implementation based on two sources, our current simple textual string based approach with added structured boot label PAD structure from OpenZFS.
Secondly, all nvlist details are moved to separate source file and restructured a bit. This is done to provide base support to add nvlist add/update feature in followup updates.
And finally, the zfsboot/gptzfsboot disk access functions are swapped to use libi386 and libsa.
Sponsored by: Netflix, Klara Inc. Differential Revision: https://reviews.freebsd.org/D25324
show more ...
|
Revision tags: release/11.4.0 |
|
#
6c140a72 |
| 20-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358131 through r358178.
|
#
a64f0b83 |
| 20-Feb-2020 |
Warner Losh <imp@FreeBSD.org> |
Move smbios.c to libsa.
smbios used to be an i386 only kinda weird quirk to the x86 architecture. But UEFI picked it up, dusted it off and now it's many other locations. Make it base technology by m
Move smbios.c to libsa.
smbios used to be an i386 only kinda weird quirk to the x86 architecture. But UEFI picked it up, dusted it off and now it's many other locations. Make it base technology by moving it to libsa and fixing up the compliation. The code has issues with unaligned access still, but that will be addressed in a followup commit.
Differential Revision: https://reviews.freebsd.org/D23660
show more ...
|
Revision tags: release/12.1.0 |
|
#
f993ed2f |
| 09-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351732 through r352104.
|
#
56758831 |
| 06-Sep-2019 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: use teken teminal emulator for x86 and uefi
Replace mini cons25 emulator with teken, this does enable us proper console terminal for loader and will make it possible to implement different b
loader: use teken teminal emulator for x86 and uefi
Replace mini cons25 emulator with teken, this does enable us proper console terminal for loader and will make it possible to implement different back end callbacks to draw to screen.
At this time we still only "draw" in text mode.
show more ...
|
Revision tags: release/11.3.0 |
|
#
75772fa2 |
| 30-Dec-2018 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: create bio_alloc and bio_free for bios bounce buffer
We do have 16KB buffer space defined in pxe.c, move it to bio.c and implement bio_alloc()/bio_free() interface to make it possible to use
loader: create bio_alloc and bio_free for bios bounce buffer
We do have 16KB buffer space defined in pxe.c, move it to bio.c and implement bio_alloc()/bio_free() interface to make it possible to use this space for other BIOS calls (notably, from biosdisk.c).
MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D17131
show more ...
|
#
67350cb5 |
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
Revision tags: release/12.0.0 |
|
#
cdff1036 |
| 30-Nov-2018 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: create separate lists for fd, cd and hd, merge bioscd with biosdisk
Create unified block IO implementation in BIOS version, like it is done in UEFI side. Implement fd, disk and cd device lis
loader: create separate lists for fd, cd and hd, merge bioscd with biosdisk
Create unified block IO implementation in BIOS version, like it is done in UEFI side. Implement fd, disk and cd device lists, this will split floppy devices from disks and will allow us to have consistent, predictable device naming (modulo BIOS issues).
Differential Revision: https://reviews.freebsd.org/D17888
show more ...
|
#
4f7c9c3e |
| 26-Nov-2018 |
Ed Maste <emaste@FreeBSD.org> |
stand/i386/libi386: rename .s file to .S to use Clang IAS
As part of the migration away from obsolete binutils we want to retire GNU as. Most assembly files used on amd64 have a .S extension and ar
stand/i386/libi386: rename .s file to .S to use Clang IAS
As part of the migration away from obsolete binutils we want to retire GNU as. Most assembly files used on amd64 have a .S extension and are assembled with Clang's Integrated Assembler (IAS); rename pxetram.s to .S to use IAS as well.
The generated .text is identical (the entire .o file is not, as Clang adds debug info.)
PR: 205250, 233094 Sponsored by: The FreeBSD Foundation
show more ...
|
#
c6879c6c |
| 23-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339015 through r339669.
|
#
188b0da1 |
| 21-Oct-2018 |
Ed Maste <emaste@FreeBSD.org> |
libi386: remove CLANG_NO_IAS workaround
Clang's Integrated Assembler was previously disabled for i386 with the note that it "doesn't grok .codeNN directives yet." This is no longer the case (and ha
libi386: remove CLANG_NO_IAS workaround
Clang's Integrated Assembler was previously disabled for i386 with the note that it "doesn't grok .codeNN directives yet." This is no longer the case (and hasn't been for some time), and the assembled output .text is identical between gas and IAS.
MFC after: 2 months Sponsored by: The FreeBSD Foundation
show more ...
|
#
c1418270 |
| 13-Jul-2018 |
Ian Lepore <ian@FreeBSD.org> |
Extend loader(8) geli support to all architectures and all disk-like devices.
This moves the bulk of the geli support from lib386/biosdisk.c into a new geli/gelidev.c which implements a devsw-type d
Extend loader(8) geli support to all architectures and all disk-like devices.
This moves the bulk of the geli support from lib386/biosdisk.c into a new geli/gelidev.c which implements a devsw-type device whose dv_strategy() function handles geli decryption. Support for all arches comes from moving the taste-and-attach code to the devopen() function in libsa.
After opening any DEVT_DISK device, devopen() calls the new function geli_probe_and_attach(), which will "attach" the geli code to the open_file struct by creating a geli_devdesc instance to replace the disk_devdesc instance in the open_file. That routes all IO for the device through the geli code.
A new public geli_add_key() function is added, to allow arch/vendor-specific code to add keys obtained from custom hardware or other sources.
With these changes, geli support will be compiled into all variations of loader(8) on all arches because the default is WITH_LOADER_GELI.
Relnotes: yes Sponsored by: Microchip Technology Inc Differential Revision: https://reviews.freebsd.org/D15743
show more ...
|
#
007b82d7 |
| 08-Jul-2018 |
Warner Losh <imp@FreeBSD.org> |
Stop using ../zfs/libzfs.h but instead use libzfs.h.
While ../zfs/libzfs.h mostly works, there are a few situations where it does not. Eliminate the problem by using plain libzfs.h, like we do for u
Stop using ../zfs/libzfs.h but instead use libzfs.h.
While ../zfs/libzfs.h mostly works, there are a few situations where it does not. Eliminate the problem by using plain libzfs.h, like we do for ufs support. This fixes the weird cases, and is easier to understand. It also follows the general style convetion of avoiding ../ in #includes.
show more ...
|
Revision tags: release/11.2.0 |
|
#
8299b37f |
| 02-Feb-2018 |
Warner Losh <imp@FreeBSD.org> |
Centralize several variables.
MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the same, so set them in defs.mk. MAN= is common, so set it here too. This removes a lot of boring repeti
Centralize several variables.
MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the same, so set them in defs.mk. MAN= is common, so set it here too. This removes a lot of boring repetition from the Makefiles that added almost no value.
show more ...
|
#
54b4b13c |
| 24-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r326936 through r327149.
|
#
ca481bff |
| 19-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Hoist btx include stuff to i386/Makefile.inc
Sponsored by: Netflix
|