Re: [Etherboot-developers] Chainload Grub --> gPXE on a compact flash
"Stefan Hajnoczi" <[email protected]> Tue, 19 Aug 2008 16:17:39 +0100
| Newsgroups | gmane.network.etherboot.user,gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
> I am currently working with tulip code from gPXE, to make it run on my > hw config. > (i have a diskless platform that boots from a compact flash and loads > it's kernel via TFTP) If TFTP booting Linux kernel images works, then try the tulip.lkrn gPXE image. The lkrn images are in Linux bzImage format and can be loaded by bootloaders that support Linux kernels (e.g. grub, SYSLINUX, and lilo). Loading an lkrn over the network will give you a very short development cycle. > Obviously there is a lot of debugging to be able to do that and for each > minor line of code i modify i have to > run in the lab, get the flash, back to the pc , rewrite the gpxe image , > lab, reboot, back to the pc Perhaps you would like to try remote GDB debugging? You can use GDB to debug gPXE via serial or network (UDP, best if you have a second working NIC). See http://etherboot.org/wiki/dev/gdbstub. > PROBLEM: while the grub chainload works smoothly , the gpxe one seems > 'completely dead', not a single sign that it started > (not a single dbg message) => it may be grub's > fault or my fault because i did not setup the chainload correctly Please try building tulip.lkrn and loading it with grub like a kernel in menu.lst. Stefan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/