Also,  check whether this approach is correct by an experienced kernel buddies from the list.<br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 6:07 PM, Harishkumar V <span dir="ltr">&lt;<a href="mailto:harishpresent@gmail.com" target="_blank">harishpresent@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ok, then start with that. But, do understand the normal kernel changes betwwen ur kernel source and current one.<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 6:05 PM, Sertac TULLUK <span dir="ltr">&lt;<a href="mailto:sertac@merihvideo.com.tr" target="_blank">sertac@merihvideo.com.tr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div bgcolor="#ffffff">
<div><font face="Arial">There is no plat- directory in the chipbox 
kernel:</font></div><div>
<div><font face="Arial"></font> </div>
<div><font face="Arial"><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm</a># 
ls<br>boot    configs  Kconfig.debug  
lib            
mach-clps7500  mach-epxa10db    mach-h720x  
mach-integrator  mach-ixp2000  mach-l7200    
mach-omap   mach-pxa  mach-s3c2410  
mach-shark      Makefile  
nwfpe     tools<br>common  Kconfig  
kernel         mach-clps711x  
mach-ebsa110   mach-footbridge  mach-imx    
mach-iop3xx      mach-ixp4xx   
mach-lh7a40x  mach-orion  mach-rpc  mach-sa1100   
mach-versatile  mm        oprofile  
vfp<br><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm</a>#</font></div>
</div><blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
  <div style="FONT:10pt arial">----- Original Message ----- </div><div>
  <div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> 
  <a title="harishpresent@gmail.com" href="mailto:harishpresent@gmail.com" target="_blank">Harishkumar V</a> </div>
  <div style="FONT:10pt arial"><b>To:</b> <a title="sertac@merihvideo.com.tr" href="mailto:sertac@merihvideo.com.tr" target="_blank">Sertac TULLUK</a> </div>
  <div style="FONT:10pt arial"><b>Cc:</b> <a title="kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a> 
  </div>
  </div><div><div><div style="FONT:10pt arial"><b>Sent:</b> Thursday, June 07, 2012 3:29 
  PM</div>
  <div style="FONT:10pt arial"><b>Subject:</b> Re: New kernel for Chipbox</div>
  <div><br></div>check also directory starting with plat-<br><br>like, 
  plat-omap, etc.<br><br>
  <div class="gmail_quote">On Thu, Jun 7, 2012 at 5:54 PM, Sertac TULLUK <span dir="ltr">&lt;<a href="mailto:sertac@merihvideo.com.tr" target="_blank">sertac@merihvideo.com.tr</a>&gt;</span> wrote:<br>
  <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
    <div bgcolor="#ffffff">
    <div><font face="Arial">Here we go:</font></div>
    <div><font face="Arial"></font> </div>
    <div><font face="Arial"><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm</a># 
    ls<br>boot    configs  Kconfig.debug  
    lib            
    mach-clps7500  mach-epxa10db    mach-h720x  
    mach-integrator  mach-ixp2000  mach-l7200    
    mach-omap   mach-pxa  mach-s3c2410  
    mach-shark      Makefile  
    nwfpe     tools<br>common  Kconfig  
    kernel         mach-clps711x  
    mach-ebsa110   mach-footbridge  mach-imx    
    mach-iop3xx      mach-ixp4xx   
    mach-lh7a40x  mach-orion  mach-rpc  mach-sa1100   
    mach-versatile  mm        
    oprofile  vfp<br><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm</a># ls 
    mach-orion/<br>core.c  irq.c  Kconfig  Makefile  
    Makefile.boot<br><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm</a>#</font></div>
    <div><font face="Arial"></font> </div>
    <div><font face="Arial"><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm</a># cd 
    mach-orion/<br><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm/mach-orion" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm/mach-orion</a># 
    cat Makefile<br>#<br># Makefile for the linux kernel.<br>#</font></div>
    <div> </div>
    <div><font face="Arial"># Object file lists.</font></div>
    <div> </div>
    <div><font face="Arial">obj-y                   
    := core.o 
    irq.o<br>obj-m                   
    :=<br>obj-n                   
    :=<br>obj-                    
    :=</font></div>
    <div> </div>
    <div><font face="Arial"><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm/mach-orion" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm/mach-orion</a># 
    cat Kconfig <br>choice<br>        prompt 
    &quot;ORION Series SoC Version&quot;<br>        
    depends on 
    ARCH_CELESTIAL_ORION<br>        default 
    ARCH_ORION_CSM1200</font></div>
    <div> </div>
    <div><font face="Arial">config 
    ARCH_ORION_CSM1100<br>        bool 
    &quot;CSM1100 SoC&quot;<br>        
    help<br>          CSM1100 is 
    the MPEG2-based DTV SoC 
    from<br>          Celestial 
    Semiconductor.</font></div>
    <div> </div>
    <div><font face="Arial">config 
    ARCH_ORION_CSM1200<br>        bool 
    &quot;CSM1200 SoC&quot;<br>        help 
    <br>          CSM1200 is the 
    MPEG2/H.264 IPTV/DTV 
    SoC<br>          from Celestial 
    Semiconductor.<br>config 
    ARCH_ORION_CSM1200_J<br>        bool 
    &quot;CSM1200J SoC for SD&quot;<br>        depends 
    on ARCH_ORION_CSM1200<br>        default 
    n<br>    help 
    <br>          CSM1200J is the 
    MPEG2/H.264 IPTV/DTV SoC for SD 
    Video<br>          from 
    Celestial Semiconductor.</font></div>
    <div> </div>
    <div><font face="Arial">config 
    ARCH_ORION_CSM1201<br>        bool 
    &quot;CSM1201 SoC&quot;<br>        help 
    <br>          CSM1201 is the 
    MPEG2/H.264 IPTV/DTV 
    SoC<br>          from Celestial 
    Semiconductor.<br>config 
    ARCH_ORION_CSM1201_J<br>        bool 
    &quot;CSM1201J SoC for SD&quot;<br>        depends 
    on ARCH_ORION_CSM1201<br>        default 
    n<br>    help 
    <br>          CSM1201J is the 
    MPEG2/H.264 IPTV/DTV SoC for SD 
    Video<br>          from 
    Celestial Semiconductor.<br>endchoice</font></div>
    <div> </div><font face="Arial">
    <div><br><a href="mailto:root@ubuntu:/chipbox/chipbox-kernel/arch/arm/mach-orion" target="_blank">root@ubuntu:/chipbox/chipbox-kernel/arch/arm/mach-orion</a>#</div>
    <div> </div>
    <div>So, I should copy whole &quot;mach-orion&quot; folder to new kernel source tree, 
    am I correct? An then what to do?</div></font></div>
    <blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
      <div>
      <div style="FONT:10pt arial">----- Original Message ----- </div>
      <div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> <a title="harishpresent@gmail.com" href="mailto:harishpresent@gmail.com" target="_blank">Harishkumar V</a> </div>
      <div style="FONT:10pt arial"><b>To:</b> <a title="sertac@merihvideo.com.tr" href="mailto:sertac@merihvideo.com.tr" target="_blank">Sertac TULLUK</a> 
      </div>
      <div style="FONT:10pt arial"><b>Cc:</b> <a title="kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a> </div></div>
      <div>
      <div>
      <div style="FONT:10pt arial"><b>Sent:</b> Thursday, June 07, 2012 3:17 
      PM</div>
      <div style="FONT:10pt arial"><b>Subject:</b> Re: New kernel for 
      Chipbox</div>
      <div><br></div>Sertac,<br><br>Starting point will be, arch/arm.<br>make 
      platform base CPU SoC code and serial up.<br>If u able to make these 
      things up, then its addition of pheripherals.<br><br><br>
      <div class="gmail_quote">On Thu, Jun 7, 2012 at 5:28 PM, Sertac TULLUK <span dir="ltr">&lt;<a href="mailto:sertac@merihvideo.com.tr" target="_blank">sertac@merihvideo.com.tr</a>&gt;</span> wrote:<br>
      <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
        <div bgcolor="#ffffff">
        <div><font face="Arial">Harishkumar,</font></div>
        <div><font face="Arial"></font> </div>
        <div><font face="Arial">I already know my SoC name, it is Celestial 
        CSM1203, and it is not available in any official kernel source tree ( 
        the last one I checked it 3.4.1 10 minutes ago).</font></div>
        <div><font face="Arial"></font> </div>
        <div><font face="Arial">Since it is not available in the original kernel 
        source, we had to make those thousands of changes one-by-one, and it 
        would take years, right?</font></div>
        <div><font face="Arial"></font> </div>
        <div><font face="Arial">Am I correct?</font></div>
        <blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
          <div>
          <div style="FONT:10pt arial">----- Original Message ----- </div>
          <div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> <a title="harishpresent@gmail.com" href="mailto:harishpresent@gmail.com" target="_blank">Harishkumar V</a> </div>
          <div style="FONT:10pt arial"><b>To:</b> <a title="sertac@merihvideo.com.tr" href="mailto:sertac@merihvideo.com.tr" target="_blank">Sertac TULLUK</a> </div>
          <div style="FONT:10pt arial"><b>Cc:</b> <a title="kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a> </div></div>
          <div>
          <div>
          <div style="FONT:10pt arial"><b>Sent:</b> Thursday, June 07, 2012 
          2:52 PM</div>
          <div style="FONT:10pt arial"><b>Subject:</b> Re: New kernel for 
          Chipbox</div>
          <div><br></div>Sertac,<br><br>Also, if u know ur chip SoC name, u can 
          find whether open source linux kernel may have already support inbuilt 
          in it. u can google around it, before deciding to port.<br><br>
          <div class="gmail_quote">On Thu, Jun 7, 2012 at 5:18 PM, Harishkumar V 
          <span dir="ltr">&lt;<a href="mailto:harishpresent@gmail.com" target="_blank">harishpresent@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Sertac,<br><br>From your present source, u can 
            find the Celestial SoC change.<br>check for arch/arm folder. 
            <br><br>then in corresponding drivers, like usb,serial,video etc. 
            <div>
            <div><br><br><br><br><br>
            <div class="gmail_quote">On Thu, Jun 7, 2012 at 4:36 PM, Sertac TULLUK 
            <span dir="ltr">&lt;<a href="mailto:sertac@merihvideo.com.tr" target="_blank">sertac@merihvideo.com.tr</a>&gt;</span> wrote:<br>
            <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
              <div bgcolor="#ffffff">
              <div><font face="Arial">Dear Harishkumar;</font></div>
              <div><font face="Arial"></font> </div>
              <div><font face="Arial">Thank you very much for your quick 
              answer.</font></div>
              <div><font face="Arial"></font> </div>
              <div><font face="Arial">Where can I find related Celestial SoC &amp; 
              driver patch file?</font></div>
              <div><font face="Arial"></font> </div>
              <div><font face="Arial">Best Regards</font></div><span><font color="#888888">
              <div><font face="Arial"></font> </div>
              <div><font face="Arial">Sertac</font></div></font></span>
              <blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
                <div>
                <div>
                <div style="FONT:10pt arial">----- Original Message ----- 
</div>
                <div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> 
                <a title="harishpresent@gmail.com" href="mailto:harishpresent@gmail.com" target="_blank">Harishkumar 
                V</a> </div>
                <div style="FONT:10pt arial"><b>To:</b> <a title="sertac@merihvideo.com.tr" href="mailto:sertac@merihvideo.com.tr" target="_blank">Sertac 
                TULLUK</a> </div>
                <div style="FONT:10pt arial"><b>Cc:</b> <a title="kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a> </div>
                <div style="FONT:10pt arial"><b>Sent:</b> Thursday, June 07, 
                2012 1:31 PM</div>
                <div style="FONT:10pt arial"><b>Subject:</b> Re: New kernel for 
                Chipbox</div>
                <div><br></div>Sertac,<br><br>Basically u need to have Celestial 
                SoC &amp; drivers related patch.<br>Then, u can download desired 
                kernel or latest 3.3.x.<br><br>Apply and do the forward porting. 
                It won&#39;t be straight forward, u need to re-write a bit.<br>U can 
                always refer any other celectial SoC family in latest kernel 
                source or other ARM9 family.<br><br>see -&gt; arch/arm/<br><br>
                <div class="gmail_quote">On Thu, Jun 7, 2012 at 2:36 PM, Sertac 
                TULLUK <span dir="ltr">&lt;<a href="mailto:sertac@merihvideo.com.tr" target="_blank">sertac@merihvideo.com.tr</a>&gt;</span> wrote:<br>
                <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
                  <div bgcolor="#ffffff">
                  <div><font face="Arial">Dear All;</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">I have a digital satellite receiver 
                  (named Chipbox), which uses linux kernel 
2.6.12.5.</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">Main chipset name is Celestial CSM1203 ( 
                  It is ARM926EJ-S core).</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">The original kernel source (and all 
                  other sources) can be downloaded here: <a href="http://www.merihvideo.com.tr/chipbox-source.php" target="_blank">http://www.merihvideo.com.tr/chipbox-source.php</a></font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">I would like to add some functionality 
                  (Such as CIFS, USB WIFI...) to my STB. In order to do that, I 
                  need to cross compile new kernel.</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">However, the chipset provider ( 
                  Celestial) does not provide a new kernel to do this. They just 
                  compiled 2.6.12.5 for about 5-6 years ago, and they didn&#39;t do 
                  a new kernel from that time.</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">So, I need your helps:</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">1) Celestial has done a lot of 
                  modifications on the original 2.6.12.5 source ( drivers, 
                  headers, definitions...) All these changes can be seen by 
                  using MELD tool.</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">2) In order to have a new kernel ( Such 
                  as 2.6.35.13) which can be running on my chipbox, what are the 
                  steps should be done one by one?</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">Can you please explain for a newbie 
                  please?</font></div>
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">Best Regards</font></div><span><font color="#888888">
                  <div><font face="Arial"></font> </div>
                  <div><font face="Arial">Sertac</font></div></font></span></div><br>_______________________________________________<br>Kernelnewbies 
                  mailing list<br><a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>

<br></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Harish Kumar. 
                V<br></div></div>
                <p></p>
                <hr>

                <div>
                <p></p>_______________________________________________<br>Kernelnewbies 
                mailing list<br><a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>

</div>
                <p></p></blockquote></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Harish Kumar. 
            V<br></div></div></blockquote></div><br><br clear="all"><br>-- 
          <br>Thanks and Regards,<br>Harish Kumar. V<br>
          <p></p>
          <hr>

          <p></p>_______________________________________________<br>Kernelnewbies 
          mailing list<br><a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>


          <p></p></div></div></blockquote></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Harish Kumar. 
    V<br></div></div></blockquote></blockquote></div><br><br clear="all"><br>-- 
  <br>Thanks and Regards,<br>Harish Kumar. V<br></div></div></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Harish Kumar. V<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Harish Kumar. V<br>