Why waste time on that? USB stick should be big enough to put (kernel+Initrd)elf in it.
LinuxBIOS-->FILO in Etherboot-->ELF on USB-->console... flash_rom and get image from USB too. YH On Tue, 22 Feb 2005 20:43:47 +0100, Stefan Reinauer <[EMAIL PROTECTED]> wrote: > * Gin <[EMAIL PROTECTED]> [050222 12:47]: > > >If it's just about reading a file from usb and writing it to flash, you > > >might want to have a look at filo. It should be easy to integrate the > > >functionality of flash_rom into it, so you don't need a full blown > > linux > > >system in flash. > > > > That will be a good idea if FILO can launch the flash_rom program but I > > thought FILO is excepting a bootable image. > > So I guess the effort will be in "How to make FILO run an executable?" > > Don't' know if I miss anything. > > The idea is rather to add the code of flash_rom into filo and have > filo's filesystem layer only load the flash image from usb. This should > be doable in a whole of 30k I would bet. Since both filo and flash_rom > are rather small and clean, integration should not be too much of an > effort. Otherwise you would have to add minimal console and libc > functionality to flash_rom which filo already has. > > Stefan > _______________________________________________ > Linuxbios mailing list > Linuxbios@clustermatic.org > http://www.clustermatic.org/mailman/listinfo/linuxbios > _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios