<div dir="ltr"><div><div>Hello<br><br></div>Here is the dmesg, and the kernel .config. Kernel boot comes down to 1.54s indeed during a simple test with just the bzimage (I have to setup again an optimized distribution for these tests)<br><br></div><div>The command-line I now suggest is :<br>i915.fastboot=1 i915.lvds_downclock=1 i915.i915_enable_rc6=7 nohz=on nmi_watchdog=0 pcie_aspm=force thinkpad_acpi.force_load=1 thinkpad_acpi.brightness_enable=0 thinkpad_acpi.fan_control=1 snd-hda-intel.index=0 snd_hda_intel.power_save=10 snd_hda_intel.model=thinkpad snd-hda-intel.probe_mask=0x103 snd-pcsp.index=1 btusb.reset=1<br><br>i915.i915_enable_fbc=1 is not safe : it causes screen corruption on resume<br><br></div>PS: I was told that these 2 patches allowed fastboot with a "close enough" mode, even if timings didn't match:<br><br>
<a href="http://lists.freedesktop.org/archives/intel-gfx/2014-October/053501.html" target="_blank">http://lists.freedesktop.org/archives/intel-gfx/2014-October/053501.html</a><br>
<a href="http://lists.freedesktop.org/archives/intel-gfx/2014-October/053502.html" target="_blank">http://lists.freedesktop.org/archives/intel-gfx/2014-October/053502.html</a><br>
<br>I haven't used them though, so I can't comment on that, but they are a more elegant solution for sure :-)<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 2:44 AM, Charles Devereaux <span dir="ltr"><<a href="mailto:coreboot@guylhem.net" target="_blank">coreboot@guylhem.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello<br><br></div>i915.fastboot can be made to work on the x60, shaving about 0.8s from boot (and removing the annoying blinking screen)<br><br></div><div>Since coreboot doesn't select the same video mode the kernel does, the easiest way to make that work is to comment out request for a mode change when the modes are different: in linux-3.14.25/drivers/gpu/drm/i915/intel_display.c comment out on line 9879: config->mode_changed = true; so that it looks like:<br>        if (set->mode && !drm_mode_equal(set->mode, &set->crtc->mode)) {<br>                DRM_DEBUG_KMS("modes are different, full mode set\n");<br>                drm_mode_debug_printmodeline(&set->crtc->mode);<br>                drm_mode_debug_printmodeline(set->mode);<br>//              config->mode_changed = true;<br>        }<br><br></div><div>It's hackish, but the results are worth it!<br></div><div><br></div>It was tested with a vanilla kernel 3.14.25 with the following kernel options:<br>i915.lvds_downclock=1 i915.semaphores=1 i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 nohz=on nmi_watchdog=0 pcie_aspm=force thinkpad_acpi.force_load=1 thinkpad_acpi.brightness_enable=0 thinkpad_acpi.fan_control=1 snd-hda-intel.index=0 snd_hda_intel.power_save=10 snd_hda_intel.model=thinkpad snd-hda-intel.probe_mask=0x103 snd-pcsp.index=1 btusb.reset=1 i915.fastboot=1<br><br></div><div>I'm also using the latest libreboot without ACPI brightness (coreboot head 8ffc085e1affaabbe3dca8ac6a89346b71dfc02e with patches 6725 7048 5345 7050 7051) with CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT and CONFIG_FRAMEBUFFER_KEEP_VESA_MODE.<br><br></div><div>Grub.cfg has:<br>set gfxpayload=keep<br>terminal_output --append gfxterm<br><br></div>The first results I posted on the list were a kernel boot in about 2.2s. I should now be around 1.5s. I will prepare a static kernel and post the .config and dmesg for  precise measurements in case anyone is interested in replicating the results.<br></div><br></div>I believe further improvements could be made to go below the psychological 1 second mark:  now that I have received my 128 MB SPI chips (25Q128FVSG : cf <a href="http://www.ebay.com/itm/New-WINBOND-IC-Chip-FLASH-128M-BIT-25Q128FVSG-W25Q128FVSG-SOP8-Package-/301006935484" target="_blank">http://www.ebay.com/itm/New-WINBOND-IC-Chip-FLASH-128M-BIT-25Q128FVSG-W25Q128FVSG-SOP8-Package-/301006935484</a>) , I'll see if fitting a bzImage is helpful.<span class="HOEnZb"><font color="#888888"><br><div><br>Charles<br></div></font></span></div>
</blockquote></div><br></div>