<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>I have successfully built and added FILO bootloader to my Lenovo G505S coreboot image! First of all, I had to use Xubuntu 16.04.1 <strong>i386</strong> because FILO fails to compile on x86_64 bit system. Also: from <strong>./coreboot/payloads/libpayload/drivers/storage/ahci.c </strong> removed two " #if IS_ENABLED(CONFIG_LP_STORAGE_AHCI_ONLY_TESTED) ... #endif " parts, --- because there are only three tested controllers in a list and FILO doesnt even try to initialize the not listed controllers - despite that they could work! By default, FILO just outputs "<span class="gmail-pl-s"><span class="gmail-pl-pds"></span>ahci: Not using untested SATA controller" message, without any option for a user to try forcing its usage to test it and made it a tested controller...<br><br></span></div><span class="gmail-pl-s">now FILO outputs the following log:<br><br></span></div><span class="gmail-pl-s">Booting from CBFS...<br></span></div><span class="gmail-pl-s">coreboot: ... version (its from the beginning of December 2016) ...<br></span></div><span class="gmail-pl-s">FILO version 0.6.0 (user@pc) date-of-the-build<br></span></div><span class="gmail-pl-s">ahci: Found SATA controller 00:11.00 (1022:7801) <--- this is AMD SATA AHCI controller, built-in inside Bolton A76M FCH Southbridge of Lenovo G505S<br></span></div><span class="gmail-pl-s">ahci: ATA drive on port #1.<br></span></div><span class="gmail-pl-s">ata: Identified [my 1TB HDD drive model here]<br></span></div><span class="gmail-pl-s">ahci: ATAPI drive on port #2.<br></span></div><span class="gmail-pl-s">atapi: Identified [my DVD drive model here]<br></span></div><span class="gmail-pl-s">ERROR: No such CMOS option (boot_devices)<br><br></span></div><span class="gmail-pl-s">Then, it shows me FILO screen with " root_dev = unset " message on top, and FILO command line<br><br></span></div><span class="gmail-pl-s">Questions:<br><br></span></div><span class="gmail-pl-s">could you give some good examples about how to use FILO ? Do I have to set boot_devices in CMOS through nvramcui payload, or it is possible to choose that root_dev in FILO - if yes, how? <br><br></span></div><span class="gmail-pl-s">I tried some random commands like<br></span></div><span class="gmail-pl-s">filo> kernel hda:/vmlinuz<br></span></div><span class="gmail-pl-s">but it tells:<br></span></div><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=0</span><br><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=2<br></span><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=2<span class="gmail-"></span></span><br><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=128</span><br><span class="gmail-pl-s"></span><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><span class="gmail-pl-s"><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=16</span></span><br><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=64<br></span><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=0<span class="gmail-"><br></span></span><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=<span class="gmail-">64<br></span></span><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=0<span class="gmail-"></span></span><br><span class="gmail-pl-s">Disk read error dev=1 drive=0 sector=0<br></span></div><div><span class="gmail-pl-s">Unknown filesystem type.<br><br></span></div><div><span class="gmail-pl-s">Error 15: Filo not found.<br><br></span></div><div><span class="gmail-pl-s">EDIT: found </span><span class="gmail-pl-s"></span><span class="gmail-pl-s"><a href="https://www.coreboot.org/FILO">https://www.coreboot.org/FILO</a> but its too basic - for example, it does not tell how I could see the list of available devices. When I run "probe" command it only tells 6 </span><span class="gmail-pl-s"><span class="gmail-pl-s">messages<span class=""> </span></span>"IDE channel X not found"  (with X changing 0,0,1,1,2,2,3,3) - does not show SATA drive, despite I know that it successfully initialized, because it output its model and brand<br><br></span></div><div><span class="gmail-pl-s">Please give any real world FILO usage examples with a modern Linux, it will help a lot!<br><br></span></div><div><span class="gmail-pl-s">Best regards,<br></span></div><div><span class="gmail-pl-s">qmastery<br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>