Commit Graph

642 Commits

Author SHA1 Message Date
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
dsl
c310ecd73c Pull the boot timeout for the boot_params header.
Allows it to be set to a very large number so the boot on Soekris systems
can be interrupted.
2005-11-13 22:23:30 +00:00
dsl
d2a54a3d28 No longer needed, use installboot -e -oconsole=com0 /tftproot/pxeboot_ia32.bin 2005-11-12 09:44:27 +00:00
dsl
46704be5a0 No need to build pxeboot_com0 any more 2005-11-12 09:42:51 +00:00
simonb
9e6cd07c80 Adjust the S variable (pointer to top of sys tree) so that it points to
the right place.  Fixes build problems in this directory if there's no
destdir available.
2005-11-12 04:34:54 +00:00
simonb
2dc62c2e27 Adjust the S variable (pointer to top of sys tree) so that it points to
the right place.  Fixes build problems in this directory.
2005-11-12 04:19:01 +00:00
dsl
e70304f781 Make a baud rate of zero cause the baud rate divisor be read and converted
to the current baud rate.
That way we use the same baud rate as the system BIOS (or whatever).
Rather useful for pxeboot.
2005-11-11 22:25:09 +00:00
dsl
80d1184f76 Take the console (etc) parameters from the patchable header, instead of
hard-coded constants.
Now the updated installboot can be used to modify the console and baud rate.
2005-11-11 21:42:13 +00:00
tron
b0a88753d6 Make build of ISO9660 boot loader work if no object directories are used. 2005-10-12 15:27:39 +00:00
dyoung
fef03960e4 Ensure we don't build the libraries twice: move the .WAIT after
the first subdirectory that uses the libraries.  That subdirectory
is bootxx_ffsv1, not bootxx_cd9660.
2005-10-06 21:39:41 +00:00
dyoung
00d2915456 Build and install /usr/mdec/bootxx_cd9660, a primary boot loader
for ISO9660 filesystems.
2005-10-06 08:22:58 +00:00
dyoung
310a1a8dcf Change the layout of cdboot to meet installboot(8)'s expectations:
MBR+NetBSD disklabel+boot parameters.  Invoke the secondary boot
loader with a pointer to the boot parameters.
2005-10-06 08:19:46 +00:00
chs
3d217d24ea use a .BEGIN target to make the various symlinks,
the previous way had problems with parallel make.
2005-09-17 16:49:25 +00:00
chs
760cf823a4 copy some settings from ../boot/Makefile.boot that let us try to load
64-bit kernels on amd64.
2005-08-21 23:04:30 +00:00
chs
fe611fb346 add "consdev" from ../boot.
make "quit" work like it does in ../boot
(ie. let us try again with a bootloader from a different device).
2005-08-21 23:02:34 +00:00
junyoung
e61aaad7f7 Add a compile time switch DISABLE_KEYPRESS for those who want unattended boot. 2005-07-20 03:27:51 +00:00
junyoung
6b3daf3992 Remove unused #define. 2005-07-06 19:31:04 +00:00
junyoung
d151b9e857 Remove unused #define and trailing spaces. 2005-07-06 19:29:50 +00:00
junyoung
a52d20370c Remove unused #define. 2005-07-06 19:27:50 +00:00
junyoung
1fb48c245e - Do not mix C-style comments and assembly-style comments.
- Remove unused #define.
2005-07-06 19:24:08 +00:00
junyoung
4f4cb6f0b3 Add another case we can skip boot wait. 2005-07-06 18:12:31 +00:00
junyoung
1b3dbc9530 If no hard disks are present, do not wait for key press. 2005-07-06 09:22:31 +00:00
junyoung
4a6d325623 De-__P() 2005-07-06 08:28:31 +00:00
junyoung
c95e3281de KNF. 2005-06-29 19:08:04 +00:00
junyoung
f10ef234b8 Massive renames for consistency:
biosdiskreset -> biosdisk_reset
 biosread -> biosdisk_read
 get_diskinfo -> biosdisk_getinfo
 int13_extension -> biosdisk_int13ext
 biosextread -> biosdisk_extread
 int13_getextinfo -> biosdisk_getextinfo
 struct biosdisk_ext13info -> biosdisk_extinfo
 BIOSDISK_EXT13 -> BIOSDISK_INT13EXT
 BIOSDISK_EXT13INFO_V{2,3} -> BIOSDISK_EXTINFO_V{2,3}
 EXT13_* -> EXTINFO_*
2005-06-29 18:50:38 +00:00
junyoung
beeb6c877c get_diskinfo():
Return status code in bits [31:24] of %eax. 0 for success, otherwise failure.
2005-06-29 18:02:52 +00:00
junyoung
e63501d234 #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h" 2005-06-28 21:00:41 +00:00
junyoung
b116f53b43 Remove trailing spaces. 2005-06-27 11:34:30 +00:00
manu
9a51ea013a Support PC engines WRAP (From OpenBSD) 2005-06-24 13:00:01 +00:00
junyoung
1bd0f2a02e Define BIOSDISK_DEFAULT_SECSIZE in biosdisk_ll.h and replace BIOSDISK_SECSIZE
with it.
2005-06-23 20:20:37 +00:00
junyoung
17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
dyoung
c3455f1205 De-__P().
Consistently pass 'int *' arguments to parsebootfile.
2005-06-22 20:42:45 +00:00
dyoung
8748cff236 Cosmetic: join line. 2005-06-22 20:40:59 +00:00
junyoung
f54b3f436a Fix build breakage. Oops. 2005-06-22 20:36:17 +00:00
junyoung
bacc083333 Do not mix assembly-style comments and C-style comments. 2005-06-22 15:29:48 +00:00
junyoung
1341f2c732 Fix build breakage. 2005-06-22 15:06:19 +00:00
junyoung
753f88cef9 Use get_harddrives(). 2005-06-22 06:09:47 +00:00
junyoung
c53f251ee6 Add support for cd9660 file system to the i386 BIOS bootloader. 2005-06-22 06:06:34 +00:00
junyoung
e7cb351275 Cosmetic changes. 2005-06-22 05:30:13 +00:00
junyoung
d2c188d7c7 Cosmetic changes. 2005-06-21 18:34:47 +00:00
junyoung
59c7a166e2 If any of libraries needed by the "boot" is rebuilt vers.c should be
regenerated so that the build date is updated accordingly.
2005-06-21 18:25:14 +00:00
junyoung
321d917810 ANSI, KNF, trailing spaces, and etc. 2005-06-21 18:16:59 +00:00
junyoung
38e1b7dac2 Remove trailing spaces. 2005-06-21 14:48:47 +00:00
junyoung
0b6edcdedb - It is worthless to endlessly try to boot unbootable images. If all predefined
boot images are failed to boot, fall into the prompt.
- Fix a garbage in previous commit.
2005-06-21 14:20:35 +00:00
junyoung
8ea8555169 More cosmetic changes. 2005-06-21 14:16:27 +00:00
junyoung
6b49899231 - KNF & cosmetic changes
- Remove #if 0'ed netbsd.el{,.gz} from bootfile list. I have no idea what
  those files are (emacs lisp source??? :-).
2005-06-21 14:13:40 +00:00
junyoung
ef7e076715 Cosmetic changes. 2005-06-15 19:07:36 +00:00
junyoung
d659374d57 ANSI, KNF, de-__P, and various cosmetic changes. 2005-06-15 19:01:19 +00:00
junyoung
3bd71bdfb4 KNF & notably, use u_int rather than unsigned int for now for consistency.
This should be reversed eventually...
2005-06-15 08:03:07 +00:00
junyoung
0da67fb4ba Initial commit of cdboot, a primary boot loader that loads a secondary
boot loader directly from CD without performing floppy/hard disk emulation
as described by the El Torito specification.
2005-06-15 06:38:45 +00:00