Don't know if anyone has a good tool package in mind that I can use to develop an Embedded Linux. We want a linux that is just enough to run the flash_rom program+usb support and we hope it would be small enough so we can fit it into a Bios chip. It's all for the convenience of updating Bios in the future. As you image, we are closed to support Linuxbios officially in our products.
gin
* Gin ginlin@nexcom.com.tw [050222 10:07]:
Don't know if anyone has a good tool package in mind that I can use to develop an Embedded Linux. We want a linux that is just enough to run the flash_rom program+usb support and we hope it would be small enough so we can fit it into a Bios chip. It's all for the convenience of updating Bios in the future. As you image, we are closed to support Linuxbios officially in our products.
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. Otherwise it is very much dependent on your flash size whether you can fit Linux in there or not. 512k _might_ be enough if you really squeeze, but unlikely.
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.
gin
* Gin ginlin@nexcom.com.tw [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
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 stepan@openbios.org wrote:
- Gin ginlin@nexcom.com.tw [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