This code produce bootloaders for a number of cards that can be loaded
from raw or DOS-formatted floppy/hard disks and ROMs to boot ELF/a.out
kernels over NFS or TFTP. Edit work/etherboot/src/Config to see/set
the desired features.
The defaults used here are suited to boot FreeBSD ELF kernels over NFS.
To produce an etherboot floppy (or hard disk partition), do this:
$ cd work/etherboot-5.2.4/src
$ cat bin/boot1a.bin bin/<device>.zrom > /dev/fd0
Replace <device> with the specific code for your card, and /dev/fd0
with your hard disk partition.
WWW: http://etherboot.org/wiki/
SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
(Only the first 15 lines of the commit message are shown above )
- Unbreak fetching by sorting out MASTER_SITES (point it back to SF)
- Modernize Makefile header (bring it down to just two lines)
- Convert USE_GMAKE and USE_PERL5_BUILD to USES, sort the knobs
- Clean up port description and do-install: message, utilize ${FMT}
- Update to 5.2.6
ChangeLog:
- Support for FILO
- Support for USB disks
- btext console
- Fixes for eepro100, rtl8139, sis900, tlan, tulip and via-rhine drivers
- Added drivers for mtd80x and Davicom based cards
PR: ports/101721
Submitted by: me (stas)
Approved by: maintainer timeout (3,5 months)
From the PR:
Without this patch GCC optimizer removes all card driver code
resulting in nonworking rom image.
There are some bugs in GCC-3.4.2, maybe updating system compiler to latest
gcc snapshot will be good idea also.
This still occurs in 7-current gcc version 3.4.4 [FreeBSD] 20050518.
So adding in the patch.
PR: 78834
Submitted by: Radim Kolar
Revert the 5.2.4 version of boot1a.s to that of the former 5.0.8.
This should make things work like before. Update the desc. for
compressed images lzrom -> zrom.
Try to implement something similar to a window protocol in
terms of response to losses.
This makes etherboot work much smoother when nfs-loading
kernels in presence of a small amount of losses.
A similar patch will be committed shortly for tftp loads
(in the process of testing that, Doug Ambrisko and I found
a bug in FreeBSD's tftpd!).
These patches are being submitted to the etheboot developers
for integration in future releases of etherboot.
Latest net/etherboot contains FreeBSD patch so that it no more needs tricky
configuration change to FreeBSD. The maintainer agrees it better to use the
Latest version of etherboot.
Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is spelled out
(many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that
shouldn't have been necessary) and the string "/pkg/" appear.