| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
8x16v turns out to be too thin and hard to read,
use bold font instead.
|
|
|
|
| |
libsa32 is independent of libsa, they can build in parallel if needed.
|
|
|
|
|
|
| |
This unbreaks the efi build if WITHOUT_FDT is set.
Reported by: peterj
|
|
|
|
|
|
| |
It's 2021 already.
Reported by: delphij
|
|
|
|
|
| |
Apparently palette update while in text mode, will cause
some adapters to end up with blank display.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hw.vga.textmode is directing VT VGA backend to use text mode.
The default screen mode for BIOS loader is text, and default
screen mode for VT VGA backend is graphics (unless we are running on
hypervisor or hw.vga.textmode is set to 1). Using hw.vga.textmode
for loader does remove possibility to have graphical mode VT VGA with
text mode loader.
screen.textmode can have possible values "0" to disable text mode,
and "1" to set text mode.
|
|
|
|
| |
We do not touch kern.vt.fb.default_mode.
|
|
|
|
|
|
|
|
|
| |
Instead of trying to set reasonable register values, save significant
register values, then prepare for font upload and then restore
registers from saved data.
This seems to fix text mode for most cases where text mode breakage
was reported.
|
|
|
|
|
| |
If the controller does not support VGA, we should not
touch VGA registers.
|
|
|
|
| |
Remove left over argument from vidc_load_palette.
|
|
|
|
| |
Need to add stub data and gfx functions to make linking happy.
|
|
|
|
| |
Need to add stub data and gfx functions to make linking happy.
|
|
|
|
| |
Need to add stub data and gfx functions to make linking happy.
|
|
|
|
|
|
| |
Need to build pnglite with all.
Reported by: Herbert J. Skuhra
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
...mostly because it's a harmless way to try the shiny new git repo.
Sponsored by: Dell EMC Isilon
|
|
|
|
|
|
|
|
| |
Previously having ficl/liblua in LIB32LIST with their respective option
turned OFF would be relatively harmless, as we wouldn't act on it unless we
were building the non-32 variant. As of ac5f382a9d0a, however, these are
now used for dependencies in some cases and must reflect what's actually
going to be built.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
buildworld already runs the stand build in parallel[1], so make it easier to
identify ordering issues by properly establishing dependencies or adding
.WAIT where needed.
Everything in stand/ relies on libsa, either directly or indirectly, because
libsa build is where the stand headers get installed and it gets linked in
most places.
Interpreters depend on their libs, machine dirs usually depend on top-level
libs that are getting built and at least one of the interpreter flavors.
For i386, order btx/libi386/libfirewire before everything else using a
big-ol-.WAIT hammer. btx is the most common dependency, but the others are
used sporadically. This seems to be where the race reporting on the mailing
list is- AFAICT, the following sequence is happening:
1.) One of the loaders gets built based on stale btx/btxldr
2.) btx/btxldr gets rebuilt
3.) installworld triggers loader rebuild because btx was rebuilt after
This seems like the most plausible explanation, as they've verified system
time and timestamps.
While we're here, let's switch stand/ over to a completely parallel build so
we can work out these kinds of issues in isolation rather than in the middle
of a larger build.
Reviewed by: bdragon, sjg, tsoome
Tested by: bdragon (-j1024, no failures, significant speed improvement)
Differential Revision: https://reviews.freebsd.org/D23411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loader_conf_dirs is the supporting mechanism for the included
/boot/loader.conf.d directory. When lualoader finishes processing all of
the loader_conf_files it finds after walking /boot/defaults/loader.conf,
it will now check any and all loader_conf_dirs and process files ending
in ".conf" as if they were a loader.conf.
Note that loader_conf_files may be specified in a loader.conf.d config
file, but loader_conf_dirs may *not*. It will only be processed as specified
in /boot/defaults/loader.conf and any loader_conf_files that were loaded
from there.
Reviewed by: allanjude, freqlabs, rpokala, tsoome
Includes suggestion from: imp
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D25608
|
|
|
|
|
|
|
| |
Since our xdr translation function are returning bool, so should
xdrproc_t.
Issue reported by gcc 10 build.
|
|
|
|
|
|
|
|
|
|
|
| |
luacheck rightfully complains that i is unused in the show-module-options
loop at the end (it was used for some debugging in the process).
We've added a new pager module that's compiled in, so declare that as an
acceptable global.
Notes:
svn path=/head/; revision=368729
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This effectively dumps everything lualoader knows about to the console using
the libsa pager; that particular lua interface was added in r368591.
A pager stub implementation has been added that just dumps the output as-is
as a compat shim for older loader binaries that do not have lpager. This
stub should be moved into a more appropriate .lua file if we add anything
else that needs the pager.
Notes:
svn path=/head/; revision=368728
|
|
|
|
|
|
|
|
|
|
|
| |
vmware can't cope with anything larger than 64MB. Drop this back to
64MB everywhere but arm.
PR: 251866
MFC After: 1 week
Notes:
svn path=/head/; revision=368721
|
|
|
|
|
|
|
|
|
| |
We do not need to actually read bookmarks, just whitelist this feature.
Reported by: mjg
Notes:
svn path=/head/; revision=368684
|
|
|
|
|
|
|
|
|
| |
We do not need to actually read bookmarks, just whitelist this feature
Reported by: jpaetzel
Notes:
svn path=/head/; revision=368677
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this we risk having the .interp section be placed earlier in the
file and mess with section offsets; in particular it has been seen to be
placed at the start of the file and cause the PE/COFF header to not be
at address 0. This is the same fix as was done for arm64 in r365578.
Reviewed by: mhorne, imp
Approved by: mhorne, imp
Differential Revision: https://reviews.freebsd.org/D27603
Notes:
svn path=/head/; revision=368626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the first second otime and ntime are equal so no message gets
printed. Instead we should print the countdown right from the start,
although we do it at the end of the first iteration so that if a key has
already been pressed then the message is suppressed.
Reviewed by: imp
Approved by: imp
Differential Revision: https://reviews.freebsd.org/D26935
Notes:
svn path=/head/; revision=368623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is nearly a 1:1 mapping of the pager API from libsa. The only real
difference is that pager.output() will accept any number of arguments and
coerce all of them to strings for output using luaL_tolstring (i.e. the
__tostring metamethod will be used).
The only consumer planned at this time is the upcoming "show-module-options"
implementation.
MFC after: 1 week
Notes:
svn path=/head/; revision=368591
|
|
|
|
|
|
|
|
| |
A last minute rewrite left this logically wrong; if it's present in
modules_blacklist, then we do not load it.
Notes:
svn path=/head/; revision=368579
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, we have:
- enable-module
- disable-module
- toggle-module
These can be used to add/remove modules to be loaded or force modules to be
loaded in spite of modules_blacklist. In the typical case, a user is
expected to use them to recover an issue happening due to a module directive
they've added to their loader.conf or because they discover that they've
under-specified what to load.
MFC after: 1 week
Notes:
svn path=/head/; revision=368575
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368415
|
|
|
|
|
|
|
|
|
|
|
| |
The integer arrays are encoded in nvlist as counted array <count, i0, i1...>,
loader xdr_array() is missing the count. This will affect the pool import when
there are hole devices in pool.
Also fix the new data add and print functions.
Notes:
svn path=/head/; revision=368410
|
|
|
|
|
|
|
|
|
|
| |
function for kernel bootloader shim code.
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368408
|
|
|
|
|
|
|
|
|
|
| |
No functional change.
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368407
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow-up to r353959 and r368070: do the same for other architectures.
arm32 already seems to use its own .fnstart/.fnend directives, which
appear to be ARM-specific variants of the same thing. Likewise, MIPS
uses .frame directives.
Reviewed by: arichardson
Differential Revision: https://reviews.freebsd.org/D27387
Notes:
svn path=/head/; revision=368354
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368341
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368330
|
|
|
|
|
|
|
|
|
|
| |
shim code in line with the rest of the kernel, sys/x86/include/_types.h.
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368329
|
|
|
|
|
|
|
| |
would be nice to have dump to output hex and ascii.
Notes:
svn path=/head/; revision=368266
|
|
|
|
|
|
|
|
|
| |
Pad in forth is used as "scratchpad" and internal implementations
should not use it. Ficl does not really follow this rule and this can fire back.
emit has no need to use pad, we can use local variable instead.
Notes:
svn path=/head/; revision=368261
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i386 and the rest of supported architectures by defining KERNLOAD in the
vmparam.h and getting rid of magic constant in the linker script, which albeit
documented via comment but isn't programmatically accessible at a compile time.
Use KERNLOAD to eliminate another (matching) magic constant 100 lines down
inside unremarkable TU "copy.c" 3 levels deep in the EFI loader tree.
Reviewed by: markj
Approved by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D27355
Notes:
svn path=/head/; revision=368041
|
|
|
|
|
|
|
|
|
|
| |
Currently the USB bootloader code is not part of buildworld.
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=367787
|
|
|
|
|
|
|
|
|
|
| |
Some compilers are complaining about missing prototype.
PR: 251150
Reported by: markiyan.kushnir@gmail.com
Notes:
svn path=/head/; revision=367710
|
|
|
|
|
|
|
| |
cstyle cleanup only, no functional changes intended.
Notes:
svn path=/head/; revision=367674
|
|
|
|
|
|
|
| |
correct small issues - misplaced comment and typos.
Notes:
svn path=/head/; revision=367480
|
|
|
|
|
|
|
| |
No functional changes intended.
Notes:
svn path=/head/; revision=367479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't have NEON available in the boot loader, so we have to disable
it. OpenZFS included ZSTD which used the wrong symbol to bring in neon
support. Change to use the code that's been submitted upstream as a
pull request to both.
__ARM_NEON is the proper symbol, defined in ARM C Language Extensions
Release 2.1 (https://developer.arm.com/documentation/ihi0053/d/). Some
sources suggest __ARM_NEON__, but that's the obsolete spelling from
prior versions of the standard.
OpenZFS Pull Request: https://github.com/openzfs/zfs/pull/11055
ZSTD Pull Request: https://github.com/facebook/zstd/pull/2356
Notes:
svn path=/head/; revision=367119
|
|
|
|
|
|
|
|
|
|
| |
We are using asize property from pool label and we do not depend
on partition data to find last two pool labels and to validate LBA for disk IO.
This does allow us to re-enable support for partitionless disk setups.
Notes:
svn path=/head/; revision=366951
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In some environments is difficult to access bootp/dhcp
configuration as "standard user". Add a command that allows to set
or display the URI of the network server used as "net:" device.
Currently only tftp and nfs protocols are supported.
Typical usage pattern is:
netserver tftp://192.168.168.1/path_to_obj_dir/arm.armv7/sys/GENERIC/
boot net:kernel
Reviewed by: imp, kevans
MFC after: 4 weeks
Differential Revision: https://reviews.freebsd.org/D26736
Notes:
svn path=/head/; revision=366700
|