Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-20 Thread Joop Boonen
On Thu, May 20, 2010 3:11 am, Joseph Smith wrote:
 On 05/19/2010 05:56 PM, Myles Watson wrote:
 On Wed, May 19, 2010 at 3:27 PM, xdrudisxdru...@tinet.cat  wrote:
 On Tue, May 18, 2010 at 07:45:18PM -0400, Kevin O'Connor wrote:

 I think you're going to want SeaBIOS if you need to install Linux from
 a CD.  I think filo has cd booting support, but I'd guess standard
 Linux distros wont work out of the box.

 I have booted Linux distro CD's and Live OS CD's from FILO just fine

How does the FILO command look like to boot from CD?
 --
 Thanks,
 Joseph Smith
 Set-Top-Linux
 www.settoplinux.org




-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-20 Thread Xavi Drudis Ferran

 SeaBIOS is not slow - it is smaller than filo (both compressed and
 uncompressed) and loads and initializes faster than filo.  During one
 of my tests, SeaBIOS was 1.5 seconds faster to the boot menu than
 filo.


I didn't mean SeaBIOS is slow. I meant loading it from disk would be slower
than loading it from Flash. But from other replies I see there is not much
of a use case for that.


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-20 Thread Joseph Smith



On Thu, 20 May 2010 09:20:31 +0200, Joop Boonen joop_boo...@web.de
wrote:
 On Thu, May 20, 2010 3:11 am, Joseph Smith wrote:
 On 05/19/2010 05:56 PM, Myles Watson wrote:
 On Wed, May 19, 2010 at 3:27 PM, xdrudisxdru...@tinet.cat  wrote:
 On Tue, May 18, 2010 at 07:45:18PM -0400, Kevin O'Connor wrote:

 I think you're going to want SeaBIOS if you need to install Linux
from
 a CD.  I think filo has cd booting support, but I'd guess standard
 Linux distros wont work out of the box.

 I have booted Linux distro CD's and Live OS CD's from FILO just fine

 How does the FILO command look like to boot from CD?

This is a little outdated, but same basic idea...

http://www.settoplinux.org/index.php?title=RCA_RM4100:Howto_coreboot_and_Linux#Putting_Linux_on_your_RM4100

-- 
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-20 Thread Kevin O'Connor
On Thu, May 20, 2010 at 11:07:51AM +0200, Xavi Drudis Ferran wrote:
 
  SeaBIOS is not slow - it is smaller than filo (both compressed and
  uncompressed) and loads and initializes faster than filo.  During one
  of my tests, SeaBIOS was 1.5 seconds faster to the boot menu than
  filo.
 
 
 I didn't mean SeaBIOS is slow. I meant loading it from disk would be slower
 than loading it from Flash. But from other replies I see there is not much
 of a use case for that.

Flash is usually pretty slow.  On my epia-cn machine reads are done at
around 2MB/s.  It's not unusual to see SATA or USB drives that can
read 10 times that rate (though drives frequently have a spin up
delay).

-Kevin

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-19 Thread Peter Stuge
xdrudis wrote:
  I think you're going to want SeaBIOS if you need to install Linux
  from a CD.
 
 Is there a payload to load another payload from disk/usb/cd/net
 instead of Flash ?.

FILO can do disk/usb/cd and EtherBoot/gPXE can do net, but the
problem is that CDs use BIOS tricks to be bootable, so to work the
same they do require a BIOS environment. With FILO you basically
have to specify the kernel file and any ramdisk manually.


 example coreboot+filo+something in the flash where the original BIOS
 was, so that you boot fast from flash ordinarily and still use
 SeaBIOS (slowly) without reflashing by loading it from disk

That should work. Try booting the bios.elf file from FILO.


 Or maybe there's plenty of room on flash so usually you can keep
 all payloads you may ever need there and never bother to load them
 from disk ?. 

That's another working option. You could use bayou to wrap two
payloads (FILO+SeaBIOS) into one, and have a menu to choose the one
you want. bayou also supports scripting of that menu, but I'm not
sure there is timeout support at this point. Also note that bayou may
not have seen a lot of testing lately so might need a touch or two.


//Peter

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-19 Thread Myles Watson
On Wed, May 19, 2010 at 3:27 PM, xdrudis xdru...@tinet.cat wrote:
 On Tue, May 18, 2010 at 07:45:18PM -0400, Kevin O'Connor wrote:

 I think you're going to want SeaBIOS if you need to install Linux from
 a CD.  I think filo has cd booting support, but I'd guess standard
 Linux distros wont work out of the box.


 Mmmm... hadn't thought of that. Just a crazy idea:

 Is there a payload to load another payload from disk/usb/cd/net instead of 
 Flash ?. I
 imagine the calling interface between coreboot and a payload is
 different than that between any of the payloads and the OS, but
 maybe it does not need to be so always ?  I mean can you keep for
 example coreboot+filo+something in the flash where the original BIOS
 was, so that you boot fast from flash ordinarily and still use SeaBIOS 
 (slowly)
 without reflashing by loading it from disk once in a while when you
 want to try a liveCD or BSD in another partition or whatever ? Or maybe 
 there's plenty of room
 on flash so usually you can keep all payloads you may ever need there
 and never bother to load them from disk ?

You could fit gPXE, filo, and SeaBIOS all in the flash pretty easily.
Then you would have a few options.

I'm curious, what's the difference in boot times between filo and
SeaBIOS loading the same kernel from the hard drive?

Thanks,
Myles

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-19 Thread Kevin O'Connor
On Wed, May 19, 2010 at 11:27:35PM +0200, xdrudis wrote:
 On Tue, May 18, 2010 at 07:45:18PM -0400, Kevin O'Connor wrote:
  I think you're going to want SeaBIOS if you need to install Linux from
  a CD.  I think filo has cd booting support, but I'd guess standard
  Linux distros wont work out of the box.
 
 Mmmm... hadn't thought of that. Just a crazy idea: 
 
 Is there a payload to load another payload from disk/usb/cd/net
 instead of Flash ?.

It's probably easier to just use SeaBIOS.

I imagine the calling interface between coreboot
 and a payload is different than that between any of the payloads and
 the OS, but maybe it does not need to be so always ?  I mean can you
 keep for example coreboot+filo+something in the flash where the
 original BIOS was, so that you boot fast from flash ordinarily and
 still use SeaBIOS (slowly)

SeaBIOS is not slow - it is smaller than filo (both compressed and
uncompressed) and loads and initializes faster than filo.  During one
of my tests, SeaBIOS was 1.5 seconds faster to the boot menu than
filo.

-Kevin

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-19 Thread Joseph Smith

On 05/19/2010 05:56 PM, Myles Watson wrote:

On Wed, May 19, 2010 at 3:27 PM, xdrudisxdru...@tinet.cat  wrote:

On Tue, May 18, 2010 at 07:45:18PM -0400, Kevin O'Connor wrote:


I think you're going to want SeaBIOS if you need to install Linux from
a CD.  I think filo has cd booting support, but I'd guess standard
Linux distros wont work out of the box.


I have booted Linux distro CD's and Live OS CD's from FILO just fine

--
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-18 Thread Joop Boonen
All,

I've also tested with seabios. This looked fine.

As I'm using Linux I don't prefer to use a BIOS like SEABIOS but i prefer
to use something mean and lean line FILO or GRUB2 (As Linux doesn't need
BIOS).

The things that are important to me are e few things:
1) Boot Linux
2) Be able to install Linux from a CD

Which payload do you advice? Is there still development effort in FILO or
GRUB2?

Regards,

Joop.

On Mon, May 17, 2010 8:32 am, Joop Boonen wrote:
 On Sun, May 9, 2010 12:33 am, Rudolf Marek wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 The sil3114 chip has a class code set to something else then IDE by
 strap resistor. It took me long time to figure out that this chip is
 otherwise IDE
 compatible ;)

 Try attached patch for coreboot which reprograms it back to IDE mode ;)

 I've just tested with the patch. It's not OK yet, there might be another
 problem.

 I've attached a session log with and without patch. w_ide is with patch.

 I have a feeling that my issue is filo related.


 It should start to work - booting from FILO and from Seabios.

 Rudolf
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkvl5s0ACgkQ3J9wPJqZRNU8fwCg0ImG+JeZyuIpAjBB0OQBxu32
 OP0AnjzRNyz6DRdLHLnyfAS+wseQn6a3
 =Mc1w
 -END PGP SIGNATURE-
 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot

 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot



-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-18 Thread Kevin O'Connor
On Tue, May 18, 2010 at 10:13:34AM +0200, Joop Boonen wrote:
 All,
 
 I've also tested with seabios. This looked fine.
 
 As I'm using Linux I don't prefer to use a BIOS like SEABIOS but i prefer
 to use something mean and lean line FILO or GRUB2 (As Linux doesn't need
 BIOS).
 
 The things that are important to me are e few things:
 1) Boot Linux
 2) Be able to install Linux from a CD

I think you're going to want SeaBIOS if you need to install Linux from
a CD.  I think filo has cd booting support, but I'd guess standard
Linux distros wont work out of the box.

-Kevin

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-16 Thread Rudolf Marek

Hi,

Good to hear, I will fix the compilation hack it and do some Kconfig option for 
 that. Do we know what other MB have this controller?


Thanks,
Rudolf



Dne 16.5.2010 04:05, Ward Vandewege napsal(a):

Hi Rudolf,

Awesome! This fixes booting from SATA on the s2881 for me with Seabios.

Before, even with the sii3114 option rom, Seabios never showed the disk as a
boot option in the boot menu.

Now I don't even need that sii3114 option rom anymore.

If you add a Signed-off-By line, this is

Acked-by: Ward Vandewegew...@gnu.org

Thanks!
Ward.

On Sun, May 09, 2010 at 12:33:50AM +0200, Rudolf Marek wrote:

The sil3114 chip has a class code set to something else then IDE by strap
resistor. It took me long time to figure out that this chip is otherwise IDE
compatible ;)

Try attached patch for coreboot which reprograms it back to IDE mode ;)

It should start to work - booting from FILO and from Seabios.

Rudolf




--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-15 Thread Ward Vandewege
Hi Rudolf,

Awesome! This fixes booting from SATA on the s2881 for me with Seabios.

Before, even with the sii3114 option rom, Seabios never showed the disk as a
boot option in the boot menu.

Now I don't even need that sii3114 option rom anymore.

If you add a Signed-off-By line, this is 

Acked-by: Ward Vandewege w...@gnu.org

Thanks!
Ward.

On Sun, May 09, 2010 at 12:33:50AM +0200, Rudolf Marek wrote:
 The sil3114 chip has a class code set to something else then IDE by strap
 resistor. It took me long time to figure out that this chip is otherwise IDE
 compatible ;)
 
 Try attached patch for coreboot which reprograms it back to IDE mode ;)
 
 It should start to work - booting from FILO and from Seabios.
 
 Rudolf

-- 
Ward Vandewege w...@gnu.org

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-08 Thread Stefan Reinauer
On 5/7/10 10:37 PM, Joop Boonen wrote:
 On Thu, May 6, 2010 11:56 am, Joop Boonen wrote:
   
 On Thu, May 6, 2010 11:35 am, Joop Boonen wrote:
 
 All,

 I have an issue with FILO the disk at ata-0 isn't seen.
   
 
 I've been trying some more. I've used the old IDE in FILO. It now
 recognises the drive connected to the SIL3114. But still not the ATA
 drive.
   
Under PCI support, try enabling
 [  ] Scan all PCI busses

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] FILO bug disk not seen at ata-0 (Doesn't try to detect on ATA only SIL3114)

2010-05-07 Thread Peter Stuge
Joop Boonen wrote:
  I have an issue with FILO the disk at ata-0 isn't seen.
 
 I've been trying some more. I've used the old IDE in FILO. It now
 recognises the drive connected to the SIL3114. But still not the
 ATA drive.

Curious. Maybe I can ask you to try even older code? I did a bunch of
work on the IDE driver in FILO 0.5 but haven't kept up with current
code. If you'd like to try the latest 0.5:

svn co svn://coreboot.org/filo/branches/filo-0.5

Please disable the GRUB junk (comment out USE_GRUB), enable
filesystems you need, and enable DEBUG_BLOCKDEV, DEBUG_PCI, and
DEBUG_IDE.


Thanks.


//Peter

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot