No FILO need...
Use mkelfImage to put tiny kernel and initrd to make one elf. And LinuxBIOS can treat that as one payload and just like FILO and Etherboot.
Someone (from F5) has used 2M flash ROM to put LinuxBIOS+kernel+initrd. You could do that if you want to spare the CF IDE flash.
With the tiny kernel support, we can have support for all driver support in kernel for SCSI, USB, Firewire, iSCSI, AOE, IB, Myrinet, quadric...any media.
We don't need to port the driver to the boot loader. And everyone could focus on driver in kernel instead of waste time to port driver back and forth.
That is correct way.
Just like we are talking about UEFI support. We could add the table and services in LinuxBIOS, but we like to run uefi as linux application on kernel to re use the driver in kernel.
We don't need to spend dev time on FILO and Etherboot anymore.
YH
-----Original Message----- From: Myles Watson [mailto:myles@mouselemur.cs.byu.edu] Sent: Thursday, May 18, 2006 6:49 AM To: Lu, Yinghai; linuxbios@linuxbios.org Subject: RE: [LinuxBIOS] Etherboot (FILO) with SATA on tyan s2895
It's starting to seem like a long chain of events from LinuxBIOS to Etherboot to FILO to kernel on CF to myKernel. I'd also like to be able to get to grub eventually. Is there a way to go from LinuxBIOS to grub more directly on the s2895?
Thanks again for your help.
Myles
-----Original Message----- From: Lu, Yinghai [mailto:yinghai.lu@amd.com] Sent: Wednesday, May 17, 2006 5:09 PM To: myles@mouselemur.cs.byu.edu; linuxbios@linuxbios.org Subject: RE: [LinuxBIOS] Etherboot (FILO) with SATA on tyan s2895
You can not boot from CK804 sata directly with FILO in Etherboot.
The code only support Sata that can work on compatible IDE mode.
You need to use other media ( network, CF IDE flash) to load kernel with ck804 sata and kexec support, and use kexec to load final kernel in your sata disk.
YH
-----Original Message----- From: linuxbios-bounces@linuxbios.org [mailto:linuxbios-bounces@linuxbios.org] On Behalf Of Myles Watson Sent: Wednesday, May 17, 2006 3:57 PM To: linuxbios@linuxbios.org Subject: [LinuxBIOS] Etherboot (FILO) with SATA on tyan s2895
I am booting linuxbios with etherboot and filo as the payload. I tried to follow the s2881 tutorial on the wiki.
Etherboot only finds my cd-rom. When I try to use hde:/ it tells me that "Drive 4 does not exist". All drives up to j except hda (my cd-rom) give the same error message. Sometimes if I try hdg it hangs.
I saw README.filo_in_etherboot where it says it only works on SATA port 1 or 2. I've tried on SATA 0 port 0 and 1, SATA 1 port 2 and 3.
I also seem to need to boot the factory BIOS in between each attempt, or I won't get very far.
Is there something simple I've missed?
Thanks, Myles
Output:
Etherboot 5.4.2 Drivers: TG3 FILO Images: NBI ELF Protocols: DHCP TFTP Relocating text ... Scanning PCI: found 30 devices Probing pci disk... [FILO]FILO version 0.4.1 boot: hde3:/boot/vmlinuz... initrd=/boot/initrd... IDE time out No drive detected on IDE channel 2 boot: hdc:/ No drive detected on IDE channel 1
Lu, Yinghai wrote:
No FILO need...
Use mkelfImage to put tiny kernel and initrd to make one elf. And LinuxBIOS can treat that as one payload and just like FILO and Etherboot.
plus, I am modifying mkelfimage to dispense with some of the messier bits ... now that we have compression back in linuxbios we don't need bzimage any more.
We don't need to port the driver to the boot loader. And everyone could focus on driver in kernel instead of waste time to port driver back and forth.
That is correct way.
absolutely!
Just like we are talking about UEFI support. We could add the table and services in LinuxBIOS, but we like to run uefi as linux application on kernel to re use the driver in kernel.
We don't need to spend dev time on FILO and Etherboot anymore.
yes, OLPC will have linux in flash. We are finally getting back to our original dream. Filo and Etherboot were temporary.
ron