Skip to contentSkip to conversation

creating a new ethernet driver

DISCUSSION [email protected] 4 participants 5 messages Apr 23, 2004 – Apr 26, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

If I adapt a Linux driver for an ethernet card to Etherboot´s specifications, how easy is it to make it work with GRUB? I have 8 machines with ASUS a7n8x-e mainboards, and I´m willing to try the challange...

Signature · 4 lines
Nicolau Werneck <[email protected]>         9F99 25AB E47E 8724 2F71
http://cefala.org/~nwerneck                   EA40 DC23 42CE 6B76 B07F
"The great tragedy of science -- the slaying of a beautiful hypothesis by an ugly fact. "
-- Thomas Huxley
#1 lore raw
Quoted 4 lines · On Friday 23 April 2004 05:42, [email protected] wrote:

If I adapt a Linux driver for an ethernet card to Etherboot´s specifications, how easy is it to make it work with GRUB? I have 8 machines with ASUS a7n8x-e mainboards, and I´m willing to try the challange...

GRUB 2 does not have network support yet, so I'm sure that it would be hard work.

Okuji

#2 lore raw

Re: creating a new driver

Quoted 8 lines · Yoshinori K. Okuji
Quoted 4 lines · On Friday 23 April 2004 05:42, [email protected] wrote:

If I adapt a Linux driver for an ethernet card to Etherboot?s specifications, how easy is it to make it work with GRUB? I have 8 machines with ASUS a7n8x-e mainboards, and I?m willing to try the challange...

GRUB 2 does not have network support yet, so I'm sure that it would be hard work.

Has there been any discussion with the development folks of other bootloaders? It'd sure enough make sense to coordinate such things with etherboot and/or filo to prevent duplicate work being done.

I've been reusing the grub filesystem drivers in OpenBIOS and I was really happy that it was so easy to get a vfs together to include those without changes.

I've started cleaning them up to be both 64bit and big-endian clean, but there's some places left that need further fixing. If grub2 aims at being more than an x86-only project, it would make sense to include these fixes in grub2 as well. Also the grub filesystem driver interface could use some cleanup to make it even simpler. Really rewriting things from scratch would be overkill though..

Regards,
Stefan

#3 lore raw

Re: creating a new driver

Quoted 7 lines · Stefan Reinauer
Quoted 6 lines · Yoshinori K. Okuji
Quoted 4 lines · On Friday 23 April 2004 05:42, [email protected] wrote:

If I adapt a Linux driver for an ethernet card to Etherboot?s specifications, how easy is it to make it work with GRUB? I have 8 machines with ASUS a7n8x-e mainboards, and I?m willing to try the challange...

Quoted 6 lines
Quoted 2 lines

GRUB 2 does not have network support yet, so I'm sure that it would be hard work.

Has there been any discussion with the development folks of other bootloaders? It'd sure enough make sense to coordinate such things with etherboot and/or filo to prevent duplicate work being done.

I would sure like to cooperate.

Quoted 10 lines

I've been reusing the grub filesystem drivers in OpenBIOS and I was really happy that it was so easy to get a vfs together to include those without changes.

I've started cleaning them up to be both 64bit and big-endian clean, but there's some places left that need further fixing. If grub2 aims at being more than an x86-only project, it would make sense to include these fixes in grub2 as well. Also the grub filesystem driver interface could use some cleanup to make it even simpler. Really rewriting things from scratch would be overkill though..

I just want to point out that grub2 is a total rewrite and should be 64-bit and big-endian clean.

Signature · 1 line
Jeroen Dekkers
#4 lore raw

Re: creating a new driver

In reply to Stefan Reinauer
Quoted 3 lines · Stefan Reinauer

Has there been any discussion with the development folks of other bootloaders? It'd sure enough make sense to coordinate such things with etherboot and/or filo to prevent duplicate work being done.

We have already done. Ken Yap, the author of Etherboot, does not have any interest in disk-based boot loaders. So there is no point where we can collaborate. We send patches to Ken Yap, but we cannot expect that he does anything for GRUB.

FILO? It uses GRUB code, but I have never been touched by the author.

Quoted 6 lines

I've started cleaning them up to be both 64bit and big-endian clean, but there's some places left that need further fixing. If grub2 aims at being more than an x86-only project, it would make sense to include these fixes in grub2 as well. Also the grub filesystem driver interface could use some cleanup to make it even simpler. Really rewriting things from scratch would be overkill though..

Haven't you read this page:
http://www.nongnu.org/pupa/

As Joroen pointed out, we have been writing it from scratch.

Okuji