Bug 8773 - refactor yocto-kernel-cache common-pc / intel-common scc/cfg file to reduce delta & overlap
Summary: refactor yocto-kernel-cache common-pc / intel-common scc/cfg file to reduce d...
Status: RESOLVED OBSOLETE
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: Future
Assignee: California Sullivan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-04 17:37 UTC by Saul Wold
Modified: 2018-10-11 15:18 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2015-12-04 17:37:16 UTC
Investigate and implement a solution that will reduce the differences between the common-pc and intel-common configurations. In most of the cases these share common values and can be refactored to share the same set of .scc files.
Comment 1 California Sullivan 2016-02-17 22:30:21 UTC
I have done some initial scoping, and I don't think this will make it into the 2.1 release.

Doing a diff of kernel configs between intel-corei7-64 and genericx86_64 MACHINEs, there are 1153 differences. Here they are broken down:

* 487 options set to "is not set" and not present in the other config
* 8 options set to 'm' in one config and 'y' in the other
* 457 options set to 'm' in one config and not present in the other (mostly added in intel-corei7-64)
* 103 options set to 'y' in one config and not present in the other
* 37 options set to 'm' in one config and 'is not set' in the other
* 61 options set to 'y' in one config and 'is not set' in the other

I would consider the last three rows to be important differences that need to be looked through in depth, which will take some time.
Comment 2 California Sullivan 2016-06-27 16:58:09 UTC
The differences between the two BSP sets are mostly logical right now:

common-pc is a base configuration + virtio configurations + some AMD configurations.

intel-common is common-pc without virtio or AMD configurations, but with many Intel drivers enabled, and with expanded module support.

There are some changes I would like to make, but it would be mostly cosmetic, so I am lowering the priority on this for now.
Comment 3 Richard Purdie 2018-10-11 15:18:08 UTC
The remaining changes were "mostly cosmetic" and the kernel cache has changed a lot so obsoleting.