Bug 9139 - Image install fails on NUC6i5sYH
Summary: Image install fails on NUC6i5sYH
Status: RESOLVED FIXED
Alias: None
Product: General Runtime
Classification: Runtime
Component: General Runtime (show other bugs)
Version: 2.1
Hardware: NUC x86_64
: Medium+ major
Target Milestone: 2.1 M3
Assignee: California Sullivan
QA Contact: Francisco Pedraza
URL: http://autobuilder.yoctoproject.org/p...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-18 18:38 UTC by Francisco Pedraza
Modified: 2016-03-17 22:07 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2016-02-18 18:38:54 UTC
When trying to install image on NUC6i5sYH, after grub options then the machine is not displaying anything on screen. However the image can be booted without issues.
AB Link: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc3/machines/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg
Rep: 100%
Comment 1 Francisco Pedraza 2016-02-18 22:23:21 UTC
Additional information:
poky : 152914f2983c5d69001de1d46ce99547fa1e75fe.
Also failing with pTest image for genericx86-64 -> http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc3/ptest/machines/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg

and genericx86_64 lsb: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc3/machines/genericx86-64-lsb/core-image-lsb-sdk-genericx86-64.hddimg
Comment 2 Saul Wold 2016-02-19 13:54:51 UTC
Not exactly sure what the failure here is, if the installed image can be booted 
after using the install option is this a bug?  Which image is bootable after, 
the image from USB or the newly installed disk image.

Can you please describe more clearly what you mean, I know that installer is 
very simple, meaning it should confirm which disk you are installing to on the 
system and then completes the installation.
Comment 3 Francisco Pedraza 2016-02-19 14:32:08 UTC
(In reply to comment #2)
> Not exactly sure what the failure here is, if the installed image can be
> booted 
> after using the install option is this a bug?  Which image is bootable
> after, 
> the image from USB or the newly installed disk image.
> 
> Can you please describe more clearly what you mean, I know that installer is 
> very simple, meaning it should confirm which disk you are installing to on
> the 
> system and then completes the installation.

Hi Saul,
Sure, this image -> http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc3/machines/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg can't be installed on NUC6i5sYH.
Steps to Reproduce:
1. Connect the USB with the burned image to the HW (NUC6i5sYH)
2. Select "install" from grub option
Expected Result:
The installation should be completed after this selection.
Actual Result:
Anything is being displayed on screen after this selection.
Note: When I described that you can properly boot the image, I mean that you can select properly "boot" option from grub and the yocto image is launched successfully, however you can't install it on the hardware.
Let me know if you need more information.
Regards,
Francisco
Comment 4 California Sullivan 2016-02-19 20:50:29 UTC
The Gen6 (Skylake) Nuc only has preliminary graphics support thus far.

Try adding i915.preliminary_hw_support=1 to your kernel command lines and see if anything changes.

The Gen6 Nuc we have successfully boots and shows output with that enabled.
Comment 5 Francisco Pedraza 2016-02-22 20:18:22 UTC
(In reply to comment #4)
> The Gen6 (Skylake) Nuc only has preliminary graphics support thus far.
> 
> Try adding i915.preliminary_hw_support=1 to your kernel command lines and
> see if anything changes.
> 
> The Gen6 Nuc we have successfully boots and shows output with that enabled.

Hi,
I tried this option and the image was installed successfully.
Comment 6 Francisco Pedraza 2016-02-23 00:00:12 UTC
Hi, one more comment.
After the image was installed, I tried to launch it, without success. Then I need to add again "i915.preliminary_hw_support=1" on grub. In order to boot the installed image.
Comment 7 California Sullivan 2016-02-23 17:42:31 UTC
This is expected behavior with a 4.1.x kernel. It is no longer preliminary in 4.4, so it should work without any modification once genericx86-64's PREFERRED_VERSION gets bumped.

In the long term, we have a few options for 4.1:
1) Add CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=y to the kernel configs.
2) Add i915.preliminary_hw_support=1 to the kernel command line.
3) Not support Skylake graphics by default until 4.4.

Any suggestions?
Comment 8 California Sullivan 2016-03-02 22:28:35 UTC
CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=y has been added to the common-pc BSPs in the yocto-kernel-cache, bringing preliminary Skylake graphics support to 4.1 kernels.

We are now awaiting linux-yocto SRCREV updates.
Comment 9 California Sullivan 2016-03-17 22:07:51 UTC
This has been fixed upstream.