Change Summary:
bios.h was left out from amd64, removed unneeded fat files from boot1, loader.rc can be modified.
Diff: |
Revision 9 (+12478 -30674) |
---|
Change Summary:
bcache did return too much data; initial linux initrd support.
Diff: |
Revision 12 (+12591 -30690) |
---|
Change Summary:
zfsboot should use bd_bios2unit to build device name; pass boot disk with linux exec.
Diff: |
Revision 13 (+12596 -30690) |
---|
Change Summary:
boot command should consider path to start with /. This will allow to pass arbitrary words for kernel arguments (console=vga, raw etc) needed for syslinux based kernels.
Diff: |
Revision 14 (+12599 -30693) |
---|
Change Summary:
Working linux initrd support. Tested via loading and booting memdisk + gzipped freedos.img.
Diff: |
Revision 15 (+12614 -30693) |
---|
Change Summary:
loader.rc is not editable, for local commands there is loader.rc.local
Diff: |
Revision 17 (+12617 -30707) |
---|
Change Summary:
boot1 archsw correction; loader zfs should check for MOS features
Diff: |
Revision 18 (+12751 -30720) |
---|
Change Summary:
replace sprintf with snprintf for variable length error messages.
Diff: |
Revision 23 (+12874 -30792) |
---|
-
-
usr/src/boot/lib/libstand/dosfs.c (Diff revision 22) The variable "i" is no longer used now that dos_checksum does the loop.
-
usr/src/boot/lib/libstand/dosfs.c (Diff revision 22) The variable "i" is no longer used now that dos_checksum does the loop.
-
usr/src/boot/lib/libstand/dosfs.c (Diff revision 22) This function is a mixture of tabs and spaces, but it looks like the rest of this file is just spaces. This function's changes should probably be updated to be all spaces, too.
-
-
usr/src/boot/lib/libstand/dosfs.c (Diff revision 22) The rest of the returns have their values parenthesized, but this one doesn't.
-
-
usr/src/boot/lib/libstand/read.c (Diff revision 22) Not an issue, but I guess I don't fully understand the twiddle() stuff. Can you point me towards something that explains twiddle() and its impact?
-
-
usr/src/boot/sys/boot/common/bcache.c (Diff revision 22) These are changes that have already been reviewed upstream, right?
-
usr/src/boot/sys/boot/common/boot.c (Diff revision 22) I don't understand this change. Is this to gag some compiler warning?
-
usr/src/boot/sys/boot/common/bootstrap.h (Diff revision 22) While you're touching these lines, maybe also remove the space following the *'s?
-
usr/src/boot/sys/boot/common/console.c (Diff revision 22) Can you wrap the body of this for loop with { }?
-
usr/src/boot/sys/boot/common/console.c (Diff revision 22) The indentation of this curly bracket is misleading: it's actually closing the body of the "if". Please place it on the same indentation level as the "if" keyword.
-
usr/src/boot/sys/boot/common/help.common (Diff revision 22) How about: beadm activate unloads the currently loaded configuration and modules, sets currdev to <device> and loads the configuration from the new device.
-
usr/src/boot/sys/boot/common/interp.c (Diff revision 22) How about:
The PXE TFTP service allows opening exactly one connection at a time,
so we need to read the included file into memory, and then process it
line by line as it may contain embedded include commands. -
usr/src/boot/sys/boot/common/interp.c (Diff revision 22) Add a space after the comma and before the opening double quote.
-
usr/src/boot/sys/boot/common/interp.c (Diff revision 22) While you're touching lines near here, can you remove the trailing on lines 279, 284, and 295?
-
-
-
-
usr/src/boot/sys/boot/common/interp_forth.c (Diff revision 22) Is there a reason that this extern isn't part of one of the included headers? Could we add it to one of them?
-
usr/src/boot/sys/boot/common/interp_parse.c (Diff revision 22) Add { } around the body of the "else".
-
-
usr/src/boot/sys/boot/common/interp_parse.c (Diff revision 22) Move the "else" to right after the "}".
-
usr/src/boot/sys/boot/common/load_elf.c (Diff revision 22) I'm assuming that here and lines 1058, 1089, and 1090 are to gag compiler warnings about unused variables. Could we use __attribute((unused)) like you did elsewhere instead?
-
usr/src/boot/sys/boot/common/load_elf_obj.c (Diff revision 22) Same thing as load_elf.c: can we use __attribute((unused)) instead?
-
usr/src/boot/sys/boot/common/merge_help.awk (Diff revision 22) This is unfortunate, I wasn't aware of this. It turns out that /usr/xpg4/bin/awk uses regcomp(3C) so it supports POSIX regex classes. You can just change the shebang and any other ways that this script is invoked to use that instead.
(Aside: I've started taking a look into how hard it would be to update our nawk, and it seems like it wouldn't be too bad, just require extensive study and testing to make sure we don't lose any features.)
-
usr/src/boot/sys/boot/common/merge_help.awk (Diff revision 22) Once you use /usr/xpg4/bin/awk, you can revert these back to the character classes.
-
usr/src/boot/sys/boot/common/part.h (Diff revision 22) I'm not too familiar with disk layouts. What's the difference between VTOC and VTOC8? Can you point me towards some place to read up on this?
-
-
usr/src/boot/sys/boot/common/part.c (Diff revision 22) This line is indented by 3 levels, but should be indented by 2.
-
usr/src/boot/sys/boot/common/part.c (Diff revision 22) Should there be a PREF_ILLUMOS, and use that here, on line 901, and elsewhere?
-
usr/src/boot/sys/boot/common/ufsread.c (Diff revision 22) The final return is parenthesized, but not this one.
-
usr/src/boot/sys/boot/common/ufsread.c (Diff revision 22) The final return is parenthesized, but not this one.
-
usr/src/boot/sys/boot/efi/Makefile.inc (Diff revision 22) Why are these commented out? Should these lines just be deleted?
-
usr/src/boot/sys/boot/efi/include/efiapi.h (Diff revision 22) I assume all of these additions here and elsewhere under usr/src/boot/sys/boot/efi/include/efi*.h are directly from updating headers from Intel, and not stuff that you've added? If this is stuff that you've added, has it also been updated upstream?
-
usr/src/boot/sys/boot/efi/libefi/efi_console.c (Diff revision 22) Should there be a comment on this line similar to the others before it?
-
-
-
usr/src/boot/sys/boot/efi/loader/main.c (Diff revision 22) Is this #ifdef'd because it doesn't currently work? This seems like something that it would be nice for us to eventually have.
-
usr/src/boot/sys/boot/efi/loader/main.c (Diff revision 22) efi_serial_init() writes into command_errbuf, but it doesn't return any type of status code. It looks like this means that if this function fails in some way after being called on line 420, it'll drive on and never display the error message. Should this be returning a status code so that we can at least display the message in some way, and maybe abort? (Or is there a check for a non-empty buffer that I'm missing?)
-
usr/src/boot/sys/boot/ficl/Makefile.inc (Diff revision 22) It looks like you made this file. Can you add a CDDL header and copyright with your name at the top?
-
usr/src/boot/sys/boot/forth/beadm.4th (Diff revision 22) I believe placing the copyright after the CDDL notice is preferred. Can you move this down?
-
usr/src/boot/sys/boot/forth/beadm.4th (Diff revision 22) Can you insert a comment here summarizing what this code does?
-
-
usr/src/boot/sys/boot/forth/loader.4th (Diff revision 22) How about:
This is needed so that the menu can manage these options. Unfortunately, this
also means that boot-args will override previously set options, but we have no
way to control the processing order here. boot-args will be rebuilt at boot.NOTE: The best way to address the order is to not set any of the above
options in boot-args. -
usr/src/boot/sys/boot/forth/support.4th (Diff revision 22) How about:
built-in prefix directory name; it must end with /, so we don't
need to check and insert it. -
usr/src/boot/sys/boot/forth/support.4th (Diff revision 22) s/xen kernel loaded/loaded the xen kernel/
-
usr/src/boot/sys/boot/i386/gptzfsboot/zfsboot.c (Diff revision 22) This file looks like it came straight from FreeBSD, so I just skimmed it.
-
usr/src/boot/sys/boot/i386/libi386/biosacpi.c (Diff revision 22) Are the changes in this file going to be part of the loader changes going in? It looks like you reverted these in your "loader" branch on GitHub.
-
-
usr/src/boot/sys/boot/i386/libi386/biosacpi.c (Diff revision 22) Is the intptr_t cast to do sign extension?
-
usr/src/boot/sys/boot/i386/libi386/comconsole.c (Diff revision 22) Since this is a void *, can you write NULL here?
-
-
-
-
-
-
-
-
usr/src/boot/sys/boot/i386/libi386/multiboot.c (Diff revision 22) It looks like this file uses 4-space continuations elsewhere, so this should match.
-
usr/src/boot/sys/boot/i386/libi386/multiboot.c (Diff revision 22) How about:
Since for now we have no way to pass the environment to the kernel other than
through arguments, we need to take care of console setup.- If the console is in mirror mode, set the kernel console from $os_console.
- If it's unset, use the first item from $console.
- If $console is "ttyX", also pass $ttyX-mode, since it may have been set by
the user.
In case of memory allocation errors, just return the original command line, so
that we have a chance of booting.On success, cl will be freed and a new, allocated command line string is
returned. -
-
usr/src/boot/sys/boot/i386/libi386/multiboot.c (Diff revision 22) strstr() will look for the first occurrence of "tty" throughout the whole string. strncmp() would be better here so that we just check the start of the string.
-
-
-
-
-
-
usr/src/boot/sys/boot/i386/libi386/multiboot.c (Diff revision 22) You want "strlen(mbl_name) + 1" here, not "strlen(mbl_name + 1)".
-
usr/src/boot/sys/boot/i386/libi386/multiboot.c (Diff revision 22) Place "else" on previous line. { } around the body would be good, too.
-
-
-
usr/src/boot/sys/boot/i386/libi386/relocater_tramp.S (Diff revision 22) Put a copyright with your name here.
-
usr/src/boot/sys/boot/i386/libi386/relocater_tramp.S (Diff revision 22) s/placed to/placed in an/
s/this code is moved to safe/the code is moved to a safe/ -
usr/src/boot/sys/boot/i386/libi386/relocater_tramp.S (Diff revision 22) s/set pointer/set the pointer/
s/use call/call/ -
usr/src/boot/sys/boot/i386/libi386/relocater_tramp.S (Diff revision 22) s/so on entry, we have new/so that on entry, we have the new/
-
usr/src/boot/sys/boot/i386/libi386/relocater_tramp.S (Diff revision 22) s/32bit/32-bit/
s/16bit/16-bit/ -
-
-
-
usr/src/boot/sys/boot/i386/libi386/vidconsole.c (Diff revision 22) Replace with: if ((v86.eax & 0xff) != 0) {
-
usr/src/boot/sys/boot/i386/loader/loader.rc (Diff revision 22) This now says "Uncomment", but the below line is not commented. Should the text remain what it was previously, or should the below line actually be commented out?
-
-
usr/src/boot/sys/boot/zfs/libzfs.h (Diff revision 22) Is this #ifdef because boot environment stuff doesn't work on us yet?
-
Change Summary:
using xpg4 awk for loader.help build and reverted awk skript.
Diff: |
Revision 25 (+12885 -30805) |
---|
Change Summary:
freebsd PR: 212139 - workaround for broken systems returning wrong disk size.
Diff: |
Revision 26 (+12887 -30806) |
---|
Change Summary:
This update implements the workaround from 5520 GRUB Error 21 booting from USB stick on Dell BIOS
Diff: |
Revision 27 (+12906 -30810) |
---|
Change Summary:
URL: https://svnweb.freebsd.org/changeset/base/305480
Log:
Renumber the advertising clause.
Diff: |
Revision 28 (+12908 -30812) |
---|
Change Summary:
remove demo brands; allow gld to use native emulation, this will allow build with older binutils.
Diff: |
Revision 29 (+12764 -30812) |
---|