<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8772</bug_id>
          
          <creation_ts>2015-12-04 16:58:16 +0000</creation_ts>
          <short_desc>review, audit and restructure the kytpes available in the yocto-kernel-cache</short_desc>
          <delta_ts>2016-03-08 21:16:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="California Sullivan">california.l.sullivan</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>jianxun.zhang</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57052</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-12-04 16:58:16 +0000</bug_when>
    <thetext>Currently we have a small number of ktypes available for use, they are:

Base
Standard 
  - includes Base
Prempt-RT
  - includes Standard
Tiny
  - includes Standard

We should review and restructure these ktypes to allow for more flexibility and less overlap.

A key example of this flexibility is to allow for disabling a feature that might be enabled in the base or standard .cfg file, such as CONFIG_EMBEDDED. Ideally this would be in an embedded.cfg as an example.

Enabling CONFIG_DEBUG_KERNEL in base.cfg would be another example, while developers might want this enabled, the final production version may want a non-debug kernel for higher security.

These are a couple of examples, but a review of the overlap and items that might be desired by a development kernel vs production kernel would be valuable.

I would expect a very small number of additions (1-3) ktypes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58860</commentid>
    <comment_count>1</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2016-02-10 22:21:13 +0000</bug_when>
    <thetext>This is being worked on in conjunction with bug 8177.

A new ktype is likely to be added with a name such as &quot;devel&quot;. This ktype will enable EMBEDDED, EXPERT, DEBUG_KERNEL, and several debug features that are enabled by DEBUG_KERNEL. The base ktype will no longer have these options. A purposed set of changes has been submitted to the linux-yocto mailing list and is currently under discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59806</commentid>
    <comment_count>2</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2016-03-08 21:16:17 +0000</bug_when>
    <thetext>This has been integrated into the yocto-kernel-cache and SRCREVs are staged in -next.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>