Commit graph

19 commits

Author SHA1 Message Date
Ben Gras
455b809b17 made boot/ into hierarchy of programs
work of Antoine Leca
2011-04-28 01:33:23 +02:00
Arun Thomas
d824b54d82 csu/build support for ELF 2010-12-10 22:20:12 +00:00
Arun Thomas
c0c8d25799 Rename mkfiles from minix.*.mk to bsd.*.mk
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00
Erik van der Kouwe
3985311b2e Beng's boot fix 2010-06-24 12:29:13 +00:00
Erik van der Kouwe
26ebfa1ce1 Revert bad prior reversion 2010-06-24 12:27:58 +00:00
Erik van der Kouwe
e8d30bba65 Beng's boot fix 2010-06-24 12:20:01 +00:00
Ben Gras
ac310cbe09 boot: restore setting stack size, and remove wrong experimental
#ifndef DOS that shouldn't have been committed.
2010-06-23 16:24:40 +00:00
Ben Gras
d6af53bec0 boot: fix dosboot build and link to build. 2010-06-22 15:45:53 +00:00
Arun Thomas
b0159ad168 Buildsystem changes for GCC
-Makefile updates
-Update mkdep
-Build fixes/warning cleanups for some programs
-Restore leading underscores on global syms in kernel asm files
-Increase ramdisk size
2010-05-19 13:24:15 +00:00
Arun Thomas
5706670029 Convert boot/ and commands/ over to bsdmake 2010-05-12 16:28:54 +00:00
Ben Gras
a131085a5b cd boot workaround for bioses that didn't want to boot >4 image sectors.
boot is a normal binary with a.out again. use 'cdbootblock,' a CDBOOT
variant of bootblock, both from bootblock.s, as the first boot image
that then loads boot, exactly like the bootblock loads boot when booting
from harddisk. the sector numbers (2048 byte iso sectors) are patched in
by writeisofs, like installboot does for bootblock. bootblock unchanged.
2010-04-26 22:07:21 +00:00
Ben Gras
78806e1b2e more stack for boot 2010-04-08 12:18:57 +00:00
Ben Gras
daca9de450 Fix to make making a bootable cd possible again.
ow that the image has grown beyond the 1.44M that fits on a floppy.
(previously, the floppy emulation mode was used for cd's.)

the boot cd now uses 'no emulation mode,' where an image is provided on
the cd that is loaded and executed directly. this is the boot monitor.

in order to make this work (the entry point is the same as where the
image is loaded, and the boot monitor needs its a.out header too) and
keep compatability with the same code being used for regular booting, i
prepended 16 bytes that jumps over its header so execution can start
there.

to be able to read the CD (mostly in order to read the boot image),
boot has to use the already present 'extended read' call, but address
the CD using 2k sectors.
2010-01-18 14:10:04 +00:00
David van Moolenbroek
709ca777bd start a.out2com script with 'sh' (Bug#365.1, reported by Antoine Leca) 2010-01-05 09:21:55 +00:00
Tomas Hruby
ae75f9d4e5 Removal of the executable flag from files that cannot be executed
- 755 -> 644
2009-11-09 10:26:00 +00:00
Ben Gras
32dfc999ce - no more separate cd booting stuff (handled in FS now)
- scan_keyboard() asm function that reads char from keyboard
   controller in case one is in there to avoid stuckness when
   returning from minix
2005-09-07 16:29:38 +00:00
Ben Gras
f8bd2691ec Removed root filesystem blocksize restriction by reducing boot monitor
stack size from 16kB to 8kB. No apparent adverse affects.
2005-05-20 12:30:19 +00:00
Ben Gras
ccd06c407c boot odds and ends. unfinished cd-detection work. 2005-05-03 08:52:41 +00:00
Ben Gras
9865aeaa79 Initial revision 2005-04-21 14:53:53 +00:00