[gPXE-devel] Usermode debugging under Linux patchset
Piotr Jaroszyński
p.jaroszynski at gmail.com
Sun Aug 15 18:59:05 EDT 2010
Hello,
this patchset adds linux platform which allows developing gPXE directly in
userspace. This means that you don't need a separate dev machine or even a
separate nic to work on gPXE.
It fully supports gdb as well as valgrind (for both malloc() and umalloc()).
Currently there are two linux specific drivers available. First one - tap - is
a very simple driver that uses the tap interface to provide networking to gPXE.
See [1] for a howto.
The second driver - lpci - is really an additional layer that allows developing
all PCI drivers in userspace. It requires an extra kernel module, but I hear
it's worth the hassle ;) A howto is at [2].
A little outdated (from before the lpci driver) implementation details are at [3].
All kind of feedback highly appreciated :)
gpxe: http://git.etherboot.org/?p=people/peper/gpxe.git;a=shortlog;h=refs/heads/drivers
ipxe: https://git.ipxe.org/people/peper/ipxe.git/shortlog/refs/heads/drivers
[1] - http://www.etherboot.org/wiki/soc/2010/peper/notes/usermode_howto
[2] - http://etherboot.org/wiki/soc/2010/peper/journal/week9
[3] - http://www.etherboot.org/wiki/soc/2010/peper/notes/usermode_explained
--
Piotr
More information about the gPXE-devel
mailing list