<br><br>
<div><span class="gmail_quote">On 8/15/07, <b class="gmail_sendername">Scott Wood</b> <<a href="mailto:scottwood@freescale.com">scottwood@freescale.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">mike zheng wrote:<br>> Unfortunately, all the applications are running on 2.4 kernel. I can not<br>> just throw the
2.4 kernel.<br><br>And in what way does 2.6 break these applications?</blockquote>
<div> </div>
<div>All the device drivers are based on 2.4 kernel. We plan to upgrade to 2.6 in the middle of next year. </div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> I took the some core specific code from<br>> <a href="http://ppc.bkbits.net">ppc.bkbits.net</a>, such as head_e500.S and mpc85xx_cds_common.c. I assume the
<br>> image should work on the 8548 CDS board, or at least for the bootup. I shall<br>> able to have the serial port working in platform_init(). However , the<br>> code stops in the head_e500.S. This does not make any sense. Please correct
<br>> me if I am wrong.<br><br>Of course it makes sense -- you can't just go around ripping random<br>files from a codebase, sticking them in a version from several years<br>earlier, and expecting it to "just work".
</blockquote>
<div> </div>
<div>All those files are e500 core specific. When we use bootm from Uboot to start the kernel, head_e500.S is first file being called, and then the mpc85xx_cds_common.c. I also merged some BOOKE related include files into our source tree as well.
</div>
<div> </div>
<div>Our 2.4 kernel version is different from <a href="http://ppc.bkbits.net">ppc.bkbits.net</a>. I did not expect it "just work". However the serial console should come out when platform_init() called. Everything before that is the same for any processor with e500 core.
</div>
<div> </div>
<div> </div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> Any suggest or comment is welcome, I am struggling with this issue for<br>> almost one week...... :-(
<br><br>How long would you have struggled with getting your applications running<br>on a more recent kernel instead?</blockquote>
<div> </div>
<div>Don't know, maybe 16 weeks. That is out of my control. I only deal with the kernel.....:-)</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">-Scott<br></blockquote></div><br>