Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 12:22:08 +0200
From:      Espen Skoglund <esk@ira.uka.de>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        ia64@freebsd.org
Subject:   Re: Intel EFI Application Toolkit
Message-ID:  <15282.64976.995436.665565@gargle.gargle.HOWL>
In-Reply-To: <20010926170410.A45935@gauss.cup.hp.com>
References:  <20010926170410.A45935@gauss.cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
[Marcel Moolenaar]
> Gang,
> Has someone tried to compile the EFI Application Toolkit?

> It's easy for me to copy the loader, because it fits on a floppy.
> The kernel is a different ballpark. The application toolkit has
> networking support so that a can FTP the kernel around, which makes
> me a happy person...

> If you have alternatives (ie serial interface), then speak up!

I use the PXE Base Code stuff in the firmware to let the machine do
dhcp and load a boot loader/kernel over the network using tftp.  The
tftp stuff in the firmware, however, requires some extension to the
tftp protocol.  I've submitted a PR,

   http://www.freebsd.org/cgi/query-pr.cgi?pr=30710

which fixes this in the FreeBSD tftpd.  Currently I am doing a "port"
of grub to use efi, utilizing the gnu efi library (see attachment) and
implementing an efi driver for attaching a filesystem protocol on top
of tftp.  This should allow you to easily copy files over to the IA-64
hardrive using tftp (without booting the system), and also makes my
envisioned grub port much more generic.

(No, I do not need GRUB for doing any FreeBSD work, but I'm not really
looking much into the FreeBSD IA-64 kernel.  I'm just following the
mailing list, and GRUB is a pretty convenient thing to use for testing
out different setups.)

	eSk



[-- Attachment #2 --]
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ia64-gnu-efi
#	ia64-gnu-efi/Makefile
#	ia64-gnu-efi/distinfo
#	ia64-gnu-efi/pkg-comment
#	ia64-gnu-efi/pkg-descr
#	ia64-gnu-efi/pkg-plist
#
echo c - ia64-gnu-efi
mkdir -p ia64-gnu-efi > /dev/null 2>&1
echo x - ia64-gnu-efi/Makefile
sed 's/^X//' >ia64-gnu-efi/Makefile << 'END-of-ia64-gnu-efi/Makefile'
X# New ports collection makefile for:	ia64-gnu-efi
X# Date created:		20 September 2001
X# Whom:			Espen Skoglund <esk@ira.uka.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnu-efi
XPORTVERSION=	3.0
XCATEGORIES=	devel
XMASTER_SITES=	ftp://ftp.hpl.hp.com/pub/linux-ia64/
XPKGNAMEPREFIX=	ia64-
X
XMAINTAINER=	esk@ira.uka.de
X
XBUILD_DEPENDS=	ia64-elf-ld:${PORTSDIR}/devel/ia64-elf-binutils \
X		ia64-elf-gcc:${PORTSDIR}/devel/ia64-elf-gcc 
X
XUSE_GMAKE=	yes
XMAKE_ARGS=	prefix=ia64-elf- ARCH=ia64 TOPDIR=. INSTALLROOT=${PREFIX}
X
X.include <bsd.port.mk>
END-of-ia64-gnu-efi/Makefile
echo x - ia64-gnu-efi/distinfo
sed 's/^X//' >ia64-gnu-efi/distinfo << 'END-of-ia64-gnu-efi/distinfo'
XMD5 (gnu-efi-3.0.tar.gz) = cb73ef40f6e4ecdb3139522a026d873b
END-of-ia64-gnu-efi/distinfo
echo x - ia64-gnu-efi/pkg-comment
sed 's/^X//' >ia64-gnu-efi/pkg-comment << 'END-of-ia64-gnu-efi/pkg-comment'
XDevelopment environment for IA-64 EFI applications
END-of-ia64-gnu-efi/pkg-comment
echo x - ia64-gnu-efi/pkg-descr
sed 's/^X//' >ia64-gnu-efi/pkg-descr << 'END-of-ia64-gnu-efi/pkg-descr'
XThe Extensible Firmware Interface (EFI) is a new model for interaction
Xbetween low level system software (boot loader/OS) and firmware.  GNU EFI
Xis an adaption of Intel's EFI library for the GNU toolchain, providing a
Xdevelopment environment for EFI applications.
END-of-ia64-gnu-efi/pkg-descr
echo x - ia64-gnu-efi/pkg-plist
sed 's/^X//' >ia64-gnu-efi/pkg-plist << 'END-of-ia64-gnu-efi/pkg-plist'
Xinclude/efi/efi.h
Xinclude/efi/efi_nii.h
Xinclude/efi/efi_pxe.h
Xinclude/efi/efiapi.h
Xinclude/efi/eficon.h
Xinclude/efi/efidebug.h
Xinclude/efi/efidef.h
Xinclude/efi/efidevp.h
Xinclude/efi/efierr.h
Xinclude/efi/efifs.h
Xinclude/efi/efigpt.h
Xinclude/efi/efilib.h
Xinclude/efi/efilink.h
Xinclude/efi/efinet.h
Xinclude/efi/efipart.h
Xinclude/efi/efiprot.h
Xinclude/efi/efipxebc.h
Xinclude/efi/efirtlib.h
Xinclude/efi/efiser.h
Xinclude/efi/efistdarg.h
Xinclude/efi/efiui.h
Xinclude/efi/ia64/efibind.h
Xinclude/efi/ia64/efilibplat.h
Xinclude/efi/ia64/pe.h
Xinclude/efi/ia64/salproc.h
Xinclude/efi/libsmbios.h
Xinclude/efi/pci22.h
Xinclude/efi/protocol/adapterdebug.h
Xinclude/efi/protocol/eficonsplit.h
Xinclude/efi/protocol/efidbg.h
Xinclude/efi/protocol/efivar.h
Xinclude/efi/protocol/ia64/eficontext.h
Xinclude/efi/protocol/intload.h
Xinclude/efi/protocol/legacyboot.h
Xinclude/efi/protocol/piflash64.h
Xinclude/efi/protocol/vgaclass.h
Xinclude/efi/romload.h
Xlib/crt0-efi-ia64.o
Xlib/elf_ia64_efi.lds
Xlib/libefi.a
Xlib/libgnuefi.a
X@dirrm include/efi/protocol/ia64
X@dirrm include/efi/protocol
X@dirrm include/efi/ia64
X@dirrm include/efi
END-of-ia64-gnu-efi/pkg-plist
exit


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15282.64976.995436.665565>