leo
7c8d16d63f
Also find swap partitions in a (possibly embedded in AHDI) NetBSD label on
...
the disk.
2002-03-22 21:29:23 +00:00
leo
7b23fbe29a
Add code for reading NetBSD disklabels.
2002-03-22 21:27:58 +00:00
leo
0cd2b4eee6
Take care of the 'machine' and 'm68k' include paths.
...
Copied verbatim from the x68k/stand/libsa/Makefile.
2002-03-11 10:29:42 +00:00
leo
f70bec2792
Also visit the file2swp subdir.
2002-02-27 20:29:14 +00:00
leo
927df39940
copy a file to a 'SWP' partition
2002-02-27 20:14:39 +00:00
leo
fa1cc12897
Move some disk I/O and disklabel functions into the library. The code
...
mostly originated from aptck. Need an extra pass over aptck to cut out all
functionality now moved to the library...
2002-02-24 20:51:07 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
tv
48c09b6243
Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
...
include paths.
2001-11-14 23:01:13 +00:00
leo
56252d5449
Small changes to the boot system:
...
- Install boot.atari in both / and /usr/mdec. It looks good to have a
spare copy soemwhere...
- Add '/boot.ata' as a last resort bootname.
All per discussion with Simon Burge, Matthew Green and Soren S. Jorvang.
2001-10-24 20:12:57 +00:00
leo
44c167f10d
cread.o now comes from libtos.a
2001-10-14 19:47:58 +00:00
leo
09bc53b541
TOS/MiNT needs unistd.h.
2001-10-14 19:47:12 +00:00
leo
0c42421cbe
Just use '_bootversion', don't use C_LABEL macros. From RTSL, I found out
...
that kvm_nlist adds an underscore when the binary format is ELF.
2001-10-14 19:45:53 +00:00
leo
d3694f31a7
Change the name of the tertiary boot to /boot.atari. This was a suggestion
...
from Matthew Green. It would still allow multi-platform boots.
Thus, the second level loader first tries /boot.atari and uses /boot as a
fallback.
2001-10-14 19:43:44 +00:00
leo
37253bbe6b
Add bootxxx
2001-10-13 20:40:43 +00:00
leo
38a9a4d6ff
Grr, this file shouldn't have been deleted. I thought I corrected it, in
...
fact the comments from the commit did not mention it to be deleted, just
'changed'...
2001-10-13 20:26:48 +00:00
leo
75b42ecb12
Bootxx is no longer the last booting stage. It now handles only the
...
command line options. If NetBSD should be loaded, bootxx tries to load
the raw binary file '/boot' that resides on the same filesystem as the
kernel to be booted. This 3rd level boot is supposed to actually load the
kernel.
2001-10-13 20:22:56 +00:00
leo
a9d59a63c5
We need a configurable heap now (that implies we need panic.c too....).
2001-10-13 20:10:02 +00:00
leo
530cee7ec2
3rd level boot
2001-10-13 20:06:57 +00:00
leo
dc6d9bae0d
Add an address for the 3rd level boot.
2001-10-13 19:55:07 +00:00
leo
95d16475fc
Arrange include files section in such a way that we can use this code in
...
the MiNT and NetBSD/libsa environment.
2001-10-13 19:50:36 +00:00
leo
13a1055e2f
Second pass of the bootloader reworking. Everything works from the
...
TOS/MiNT side now.
2001-10-11 07:07:41 +00:00
leo
d6d66d6664
Check-point my work on the bootcode.
2001-10-10 14:19:49 +00:00
chs
7491bc8eea
add ashldi3.c, needed by ufs.c due to added cast in lblktosize().
2001-10-02 06:30:03 +00:00
leo
984d919c49
Add ELF stuff to loader. This is a combined effort from Thomas Gerner and
...
myself.
2001-09-27 14:29:22 +00:00
tv
ab11c169b5
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
...
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
thomas
35ad82f0df
Make the bootloader ELF aware.
...
It can load either a.out or ELF, depending on compile options.
2001-09-08 16:57:09 +00:00
thomas
b2990af499
ELF adaption.
2001-09-08 11:21:02 +00:00
thomas
f34c1c216e
Return a useful exit status.
2001-09-07 23:09:36 +00:00
leo
975c7a2466
Make this finally compile again. It hasn't worked since the C_LABEL() got in.
2001-09-06 06:24:17 +00:00
thomas
42f770df19
Make the bootblocks build with ELF assembler.
2001-09-05 19:48:12 +00:00
wiz
79b57114c9
auxilary -> auxiliary
2001-07-26 23:07:57 +00:00
wiz
035b63a542
auxilliary -> auxiliary
2001-07-26 22:53:13 +00:00
jdc
d22da292a6
Man page moved to share/man/man8/man8.atari.
2001-03-04 20:54:12 +00:00
jdc
b8c15cce4e
Man page is now in share/man/man8/man8.atari.
2001-03-04 20:51:51 +00:00
jdc
df594988e2
Add enhancements :
...
boot sector and bad sector list are preserved by default, use 'z' to change
type NNNm to make a partition size NNN megabytes
type `-N' at `root' and `start' prompts to start after partition N
type `-N' at `size' prompt to end before partition N
type `-1' at `size' prompt to end at end of disk
display pauses if 10 or more partitions to display
2001-03-04 20:49:27 +00:00
jdc
8a32449594
Make sure root sector checksum is invalid if we clear it.
...
Set size of XGM partitions on auxilliary roots correctly.
From Leo Weppelman.
2001-02-25 14:33:19 +00:00
jdc
b2b6b2d9f7
Include <stdio.h> when built with -DDEBUG.
2001-02-25 14:32:59 +00:00
jdc
4a4d440928
Root sector checksums are not always valid, so ignore them.
...
From Leo Weppelman.
2001-02-25 14:32:20 +00:00
jdc
5c57e3ce2c
Make it easier to build with -DDEBUG.
2001-02-25 14:31:53 +00:00
leo
0aa3c2b02f
Sync machine types with atari/include/cpu.h
2001-01-07 21:24:05 +00:00
jdc
9f329676c9
Correct `off by one' error when testing against size of disk.
2000-10-23 06:56:00 +00:00
leo
d7e0d02e8b
Add include of <machine/asm.h>. C_LABEL is defined there.
2000-09-30 20:40:34 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
jhawk
a022cf9d37
Use
...
${MAKE}
instead of
make
2000-08-30 23:51:46 +00:00
leo
67f170f93c
Need to specify BINDIR or the executable ends up in /
2000-08-22 14:26:04 +00:00
leo
a9d83b6c6f
Add ahdilabel to SUBDIR.
2000-08-07 14:30:39 +00:00
leo
3f496a2588
AHDI label editor
2000-08-07 09:23:40 +00:00
jdc
e98c241a12
Make these work with obj directories.
2000-07-23 20:40:44 +00:00
jdolecek
89ccc75157
use _C_LABEL() for bootversion, instead of hardcoding the reference as _bootversion
2000-07-08 14:41:04 +00:00