a3ec172607
and alpha ports. Uses PROM standalone I/O functions but due to the lack of a lseek function it currently only works with version 5.40 of the firmware. A more portable solution is being worked on. installboot utility requires several changes in order to correctly install the bootstrap code - there is a "volume directory" which contains a list of filenames, start sectors and length. We need to add a "boot" entry of the correct length starting at block 2. The boot file has to be ecoff which means we waste another 0.5k Normally the Mips filesystem has a ~500k partition for this purpose but it should be possible to squeeze it all into the first 7k "BSD Style" (1k is required for 2 different copies of the partition table) Only the bootxx_ffs first stage bootstrap has been tested via bootp() which loads the second stage off disk and then boots the kernel.
10 lines
221 B
Makefile
10 lines
221 B
Makefile
# $NetBSD: Makefile,v 1.1 2000/09/18 11:40:47 wdk Exp $
|
|
|
|
PRIMARY_PROG= bootxx_ffs
|
|
CPPFLAGS+= -DLIBSA_SINGLE_FILESYSTEM=ufs \
|
|
-DBOOTXX_FS_NAME='"FFS"'
|
|
|
|
PRIMARY_MAX_LOAD!= expr 8192 - 1024
|
|
|
|
.include "../Makefile.booters"
|