-
Notifications
You must be signed in to change notification settings - Fork 123
[WIP] Update serial handling in bootloader #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dkgroot
wants to merge
12
commits into
DragonFlyBSD:master
Choose a base branch
from
dkgroot:update_boot_serial
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dkgroot
commented
Oct 27, 2018
SUBDIR+= dloader32 | ||
.endif | ||
|
||
SUBDIR+= dloader | ||
|
||
# Pick the machine-dependant subdir based on the target architecture. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed this change to the make file to be able to compile in place (ie: in /usr/src/sys/boot), does not have a negative effect when running buildworld from /usr/src).
84dd0df
to
371ab44
Compare
4e53a07
to
234ac8c
Compare
liweitianux
reviewed
Nov 17, 2018
…n May 16, 2015) Includes: - Add a serial console capable version of the FreeBSD boot manager. (freebsd/freebsd-src@653689474) - Allow one to specify the com port settings for boot0sio. (freebsd/freebsd-src@2a49481bc) - Change from '#' to "//" comment character to allow CPP preprocessing. (freebsd/freebsd-src@0a30683aa) - If the COMSPEED is set to 0, then don't try to initialize the serial port and assume that the BIOS has set it up for us. This allows folks with a serial-aware BIOS to set the BIOS to speeds above 9600 and allow boot0 to just use the existing settings. (freebsd/freebsd-src@d9d5c6d6b) - Remove type 0x4 (FAT12 <32MB) to make room for type 0x7 (NTFS). (freebsd/freebsd-src@b87bf48d9) - A number of small changes to make the 'save choice to disk' safer, and re-enable it as default. (freebsd/freebsd-src@9b90a7e39) - Allow boot0cfg to force a PXE boot via boot0 on the next boot. - Fix boot0 to check for PXE when using the pre-set setting for the preferred slice. (freebsd/freebsd-src@2fa7cf8a5)
- Use most of the newer fbsd boot1.S (freebsd/freebsd-src@b730d20) - Allows you to set the Serial Speed (ie: -S115200) - Correct line breaks / nicer commandline output when manually entering commands - Once the first parameter is entered on the commandline, stop timeout - Suppress twiddle when autoboot is off - Show current set of flags when making a change - Allow setting the serial speed (which will also activate RB_SERIAL) - -D for DUAL makes more sense then -D for Keyboard - Continue to loader/kernel using an empty commandline (\n) instead of timing out - Error on unknown flags/cmds - Move/Reorder some functions - Use unsigned char / uint8_t to reduce size. - Add boot.config.5 man file
- Handle Multiple/Dual console drivers in a nicer way - Add extra functionality to comconsole - Add sleep/usleep definitions
- Reuse isa_inb/isa_outb from comconsole.c (via extern bootstrap.h) - Add print RB flags which were passed in (used for debugging) - Use new cons_probe function - Updated loader.8 to show change functionality
Use stable names/terms in the Makefile ie COMSPEED and BOOT_COMCONSOLE_SPEED
- Synced with fbsd (freebsd/freebsd-src@433bd38) - Integrate support for tftp and nfs in one pxeloader Remove need for loader_tftp and pxeldr_tftp as special versions Update man pages accordingly - Use RB_SERIAL and RB_MULTIPLE (aka boot_multicons) from sys/reboot.h when no keyboard was detected (potential false positive). - Fix nfs/tftp order for pxeboot
234ac8c
to
ab35e20
Compare
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jun 29, 2021
Add compat code to adapt NetBSD's kmem_alloc()/kmem_zalloc()/kmem_free().
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jul 9, 2021
Add compat code to adapt NetBSD's kmem_alloc()/kmem_zalloc()/kmem_free().
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jul 20, 2021
Add compat code to adapt NetBSD's kmem_alloc()/kmem_zalloc()/kmem_free().
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Oct 19, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Oct 20, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Nov 5, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Nov 10, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Nov 16, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Nov 21, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Dec 29, 2023
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jan 3, 2024
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jan 13, 2024
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jan 15, 2024
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jan 26, 2024
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Jan 26, 2024
liweitianux
added a commit
to liweitianux/dragonflybsd
that referenced
this pull request
Feb 8, 2024
servizig
pushed a commit
to servizig/DragonFlyBSD
that referenced
this pull request
Jun 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General:
boot0
port and assume that the BIOS has set it up for us. This allows folks
with a serial-aware BIOS to set the BIOS to speeds above 9600 and
allow boot0 to just use the existing settings.
(freebsd/freebsd-src@d9d5c6d)
preferred slice.
boot1
loader
pxeboot
Remove need for loader_tftp and pxeldr_tftp as special versions
Update man pages accordingly
when no keyboard was detected (potential false positive).
comconsole