GRUB2 netboot development
Netboot is taking a different direction? I'm curious about that, can you give some details?
Rudy Attias
Quoted 6 lines
Well I followed you advice but I came across some issues, probably on customization of the driver, I'm trying to add the tg3 to it. I made some adjustments on the code add some here and remove some there to resolve dependencies but one dependency I can't resolve. This function is not in the
tg3.cortg3.hcode ... :(
Quoted 8 lines
I probably don't know enough C++ do understand that. If you have any ideas I would appreciate it very much.
genmoddep: error:
pcibios_read_config_dwordin tg3 is not definedmake: *** [moddep.lst] Error 1
yes, this is right, this function is not implemented anywhere. I have published grub2_netboot_8.tgz on my website so that you can have a look. The module tg3.mod compiles successfully but I did not test it. By the way, this is not c++ but c (although with a nice object oriented design)!
I hope it will work, but if it does not, I think we should not worry too much about that for the moment as the netboot development is taking quite a different direction now.
Cheers!
Quoted 3 lines · Rudy Attias
Netboot is taking a different direction? I'm curious about that, can you give some details?
yes, grub legacy also used the drivers from Etherboot and it was reported not be easily manageable. When Etherboot developpers decide to change something, the glue code written in grub might have to change too and so grub developper must constantly track these changes. Also, this messy glue code is not particularly elegant and is not very funny to program. It does not seem to me that it would happen too often but it will happen and I don't have the experience that developpers from grub legacy have.
So now the idea is to have a unique UNDI driver or maybe to find a way to call into etherboot and come back into grub if the PXE/UNDI is not supported. For the moment it is not clear for anyone I think how calling into etherboot would be done.