<?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>2396</bug_id>
          
          <creation_ts>2012-05-02 22:52:28 +0000</creation_ts>
          <short_desc>Integrate LTSI into linux-yocto-dev</short_desc>
          <delta_ts>2013-03-26 15:44:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>mihai.lindner</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>song.liu</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21032</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-02 22:52:28 +0000</bug_when>
    <thetext>We&apos;ve discussed this with Greg KH regarding LTSI support in Yocto. The agreement was to support each LTSI release until the next LTSI release was made. Rather than make special LTSI kernels, each linux-yocto release that aligns with an LTSI release should track that LTSI release. For now that is 3.0. Whether or not the Yocto 1.3 linux-yocto version aligns with an LTSI release is still up in the air as far as I know.

This involves ensuring standard/base includes the LTSI tree and that the dependent branches derive from it.

I&apos;m interested to see if the rt-3.2 stable tree can continue to apply to the LTSI release. I hope so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21061</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-05-03 14:27:16 +0000</bug_when>
    <thetext>I was hoping to pick up LTSI support and sync on 3.4. I&apos;ll contact greg again to
see what his plan are in this area.

Do you mean 3.0-stable -rt for the last part ? I&apos;m thinking you do.

For the 3.0 tree, since we&apos;ve had it out for a while, I&apos;ll have to fork
the repository and rebase on top of LTSI and move all old releases to the
3.0.x tree that I created for linux-yocto-3.0-1.1.x. But there&apos;s a complication.
The 3.0 tree that was updated for 1.2 has fixes that shouldn&apos;t really go
back to 1.1.x (if there are anymore), so we either stack them on there and
do no more 1.1.x updates and re-do the 3.0 tree to be on top of LTSI.

We can easily get into tree explosion in a scenario like this. 

There is an option to change branch names, and stack all of the old releases
branches into a single -stable tree. That prevents tree count explosion. 

Alternatively, we wait until the next LTSI and build on top of it from
the beginning and it won&apos;t cause a problem like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21063</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-03 14:53:48 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I was hoping to pick up LTSI support and sync on 3.4. I&apos;ll contact greg
&gt; again to
&gt; see what his plan are in this area.
&gt; 
&gt; Do you mean 3.0-stable -rt for the last part ? I&apos;m thinking you do.

Yes, oops. This one specifically:
http://kernel.org/pub/linux/kernel/projects/rt/3.0/README

There is also one of these for 3.2 incidentally. Note that they are guranteed not to rebase!

&gt; 
&gt; For the 3.0 tree, since we&apos;ve had it out for a while, I&apos;ll have to fork
&gt; the repository and rebase on top of LTSI and move all old releases to the
&gt; 3.0.x tree that I created for linux-yocto-3.0-1.1.x. But there&apos;s a
&gt; complication.
&gt; The 3.0 tree that was updated for 1.2 has fixes that shouldn&apos;t really go
&gt; back to 1.1.x (if there are anymore), so we either stack them on there and
&gt; do no more 1.1.x updates and re-do the 3.0 tree to be on top of LTSI.
&gt; 
&gt; We can easily get into tree explosion in a scenario like this. 
&gt; 
&gt; There is an option to change branch names, and stack all of the old releases
&gt; branches into a single -stable tree. That prevents tree count explosion. 
&gt; 
&gt; Alternatively, we wait until the next LTSI and build on top of it from
&gt; the beginning and it won&apos;t cause a problem like this.

That does get messy. And of course changing this tree would result in changing the kernel for 1.2, which I don&apos;t want to do. However, 3.4 will be out very soon, and it seems to me we may want to have a linux-yocto-3.5 for the 1.3 release. I&apos;d really rather not have both. At the same time, we are behind here and we need an LTSI kernel. At this point, I&apos;m thinking we should release a 3.4-LTSI kernel for 1.3. This is consistent with the goals of 1.3 (fix, polish, etc.).

The more I think on it... the more I like the idea of a 3.4 LTSI only for 1.3. It would give us extra time to get the policy and config refactoring and the various tooling items done WELL and RIGHT. We would need to confirm with Greg that this aligns with his goals.

Thoughts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21065</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-05-03 15:06:38 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; I was hoping to pick up LTSI support and sync on 3.4. I&apos;ll contact greg
&gt; &gt; again to
&gt; &gt; see what his plan are in this area.
&gt; &gt; 
&gt; &gt; Do you mean 3.0-stable -rt for the last part ? I&apos;m thinking you do.
&gt; 
&gt; Yes, oops. This one specifically:
&gt; http://kernel.org/pub/linux/kernel/projects/rt/3.0/README
&gt; 
&gt; There is also one of these for 3.2 incidentally. Note that they are
&gt; guranteed not to rebase!

perfect. We agree there.

&gt; 
&gt; &gt; 
&gt; &gt; For the 3.0 tree, since we&apos;ve had it out for a while, I&apos;ll have to fork
&gt; &gt; the repository and rebase on top of LTSI and move all old releases to the
&gt; &gt; 3.0.x tree that I created for linux-yocto-3.0-1.1.x. But there&apos;s a
&gt; &gt; complication.
&gt; &gt; The 3.0 tree that was updated for 1.2 has fixes that shouldn&apos;t really go
&gt; &gt; back to 1.1.x (if there are anymore), so we either stack them on there and
&gt; &gt; do no more 1.1.x updates and re-do the 3.0 tree to be on top of LTSI.
&gt; &gt; 
&gt; &gt; We can easily get into tree explosion in a scenario like this. 
&gt; &gt; 
&gt; &gt; There is an option to change branch names, and stack all of the old releases
&gt; &gt; branches into a single -stable tree. That prevents tree count explosion. 
&gt; &gt; 
&gt; &gt; Alternatively, we wait until the next LTSI and build on top of it from
&gt; &gt; the beginning and it won&apos;t cause a problem like this.
&gt; 
&gt; That does get messy. And of course changing this tree would result in
&gt; changing the kernel for 1.2, which I don&apos;t want to do. However, 3.4 will be
&gt; out very soon, and it seems to me we may want to have a linux-yocto-3.5 for
&gt; the 1.3 release. I&apos;d really rather not have both. At the same time, we are
&gt; behind here and we need an LTSI kernel. At this point, I&apos;m thinking we
&gt; should release a 3.4-LTSI kernel for 1.3. This is consistent with the goals
&gt; of 1.3 (fix, polish, etc.).

This was the rough plan, to take a stutter step in 1.3 and align with
LTSI. The kernel will be slightly older .. but better and longer supported,
and it meets the 1.3 goals nicely.

linux-yocto-dev will pick up the slack for a newer kernel.

&gt; 
&gt; The more I think on it... the more I like the idea of a 3.4 LTSI only for
&gt; 1.3. It would give us extra time to get the policy and config refactoring
&gt; and the various tooling items done WELL and RIGHT. We would need to confirm
&gt; with Greg that this aligns with his goals.

We completely agree. We just need to make sure that LTSI moves to meet us :)

Bruce

&gt; 
&gt; Thoughts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23791</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-08-03 16:57:39 +0000</bug_when>
    <thetext>This won&apos;t happen until 1.4 as LTSI-3.4 isn&apos;t likely to be released prior to November 2012.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26763</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-19 14:28:53 +0000</bug_when>
    <thetext>Status -&gt; WaitForUpstream</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27501</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-11-15 21:40:58 +0000</bug_when>
    <thetext>We want to do this as soon as possible, but we are dependent on LTSI 3.4. We should have this done by M3 at the latest to allow for a full milestone of testing the LTSI kernels. Marking as M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28913</commentid>
    <comment_count>7</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-01-17 16:45:55 +0000</bug_when>
    <thetext>Patches have been merged, staged and build tested. 

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?id=28a6f08b98bf888a3dd5ed8bd00d41f925bf9ee0

boot testing remains before the tree will be pushed for general use.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28954</commentid>
    <comment_count>8</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-01-18 16:57:07 +0000</bug_when>
    <thetext>commit 09d0bc521ad34473acf2ec4a00a69c3e3183f7d9
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Fri Jan 18 00:19:31 2013 -0500

    linux-yocto/3.4: integrate LTSI-3.4
    
    Updating the linux-yocto-3.4 SRCREVS to activate the merge of the 3.4.25-ltsi
    tree:
    
       http://git.linuxfoundation.org/?p=ltsi-kernel.git;a=tag;h=refs/tags/v3.4.25-ltsi
    
    The pristine patch queue can be seen on the &quot;ltsi&quot; branch in the repository.
    This branch has been merged into the standard/base branch of linux-yocto-3.4
    and to all BSP branches in the tree.
    
    LTSI based BSPs or features are not activated as part of this commit, they
    are controlled by the meta branch of the kernel repository and are activated
    in separate patches.
    
    [YOCTO #2396]
    
    (From OE-Core rev: 8f03ebe9b164e0c0493c56d9eb2e7d0b039832f1)
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29858</commentid>
    <comment_count>9</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-02-15 15:10:19 +0000</bug_when>
    <thetext>LTSI is now merged into the 3.4 tree. It can be seen as the discrete &quot;ltsi&quot; branch, which
is also merged into each and every BSP. There&apos;s no explicit action required to &quot;use LTSI&quot;, 
you simply get it in each build. The features can be enabled via fragments as required, or
left latent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31172</commentid>
    <comment_count>10</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-03-26 14:50:47 +0000</bug_when>
    <thetext>Test case added:  https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=742</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31174</commentid>
    <comment_count>11</comment_count>
    <who name="Mihai Lindner">mihai.lindner</who>
    <bug_when>2013-03-26 15:44:34 +0000</bug_when>
    <thetext>Build Configuration:
BB_VERSION        = &quot;1.17.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Gentoo-n-a&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;atom-pc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20130326&quot;
TUNE_FEATURES     = &quot;m32 core2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:f36926a264190e6202830e8520b41b30ae77ea43&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>