<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Arial",sans-serif;
        color:#006600;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">Hi Bob,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">I am pleased to report that using the latest community BSP I have been able to get an LS1021A-TWR-PB to boot and provide a login prompt.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">Poky (Yocto Project Reference Distro) 2.1.1 ls1021atwr /dev/ttyS0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">ls1021atwr login: root<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">root@ls1021atwr:~#
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">root@ls1021atwr:~# uname -a<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">Linux ls1021atwr 3.12.37-rt51+ls1+gf488de6 #1 SMP Wed Aug 31 13:13:11 BST 2016 armv7l armv7l armv7l GNU/Linux<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">My original problem was an issue with the command I had saves as an environment variable in u-boot. Once that was corrected things started
 to work much better. My next hiccup was trying to do an NFS boot when the kernel does not seem to like starting with a static IP address.  Now I am up and rolling the IP stack is at least working for a local loopback ping. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">></span> There are older versions of the Tower board with earlier (rev 1 ) silicon.  I have one of these, but it's on the shelf. <span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">Do you know if there is a way to determine which version of silicon the chip is?  As I have got this all up and working with the latest
 code, I take it that I am looking at a board with the more recent silicon version on it. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US">Regards,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#434244"><a href="mailto:Thomas.Thorne@Net2Edge.com"><span style="color:#434244;text-decoration:none">Thomas A. F. Thorne</span></a> 
<b>Software Engineer</b>  <a href="http://www.net2edge.com/"><span style="color:#434244;text-decoration:none">Net</span><span style="color:#208CA6;text-decoration:none">2</span><span style="color:#434244;text-decoration:none">Edge</span></a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#006600;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> Bob Cochran [mailto:yocto@mindchasers.com]
<br>
<b>Sent:</b> 26 August 2016 21:16<br>
<b>To:</b> Thomas Thorne <Thomas.Thorne@net2edge.com>; Zhenhua Luo <zhenhua.luo@nxp.com><br>
<b>Cc:</b> meta-freescale@yoctoproject.org<br>
<b>Subject:</b> Re: [meta-freescale] Getting Started With A New freescale / NXP LS1021-TWR<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Tom,<br>
<br>
Yes, I can get an LS1021A-TWR-PB to boot Linux and also run CodeWarrior using all master branches.   I'm doing a fresh build now and can re-confirm this a little later. 
<br>
<br>
Which repo are you using for meta-freescale and linux-qoriq?   <br>
<br>
I think using github.com/Freescale/meta-freescale.git will give workable results now. 
<br>
<br>
There are older versions of the Tower board with earlier (rev 1 ) silicon.  I have one of these, but it's on the shelf.  
<br>
<br>
Bob<br>
<br>
<br>
<br>
On 08/26/2016 03:55 AM, Thomas A. F. Thorne MEng AUS MIET wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hello Zhenhua,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thank you for your help, setting that missing variable soleved my<o:p></o:p></pre>
<pre>issue!  I did:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>=> setenv consoledev ttyS0<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>After that I was able to get the netboot command I had working!  Linux<o:p></o:p></pre>
<pre>started up and then issued a Kernel panic.  At least I have some out put<o:p></o:p></pre>
<pre>to work with now though. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>To be honest I have no idea which kernel I just booted over NFS, it<o:p></o:p></pre>
<pre>could be from the freescale SDK, a neat Yocto Fido or Krogoth with<o:p></o:p></pre>
<pre>community or the one build as per the community instructions.  I'll try<o:p></o:p></pre>
<pre>booting with something known and see how var I get. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Grateful Regards,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thomas Thorne  Software Engineer  Net2Edge Limited<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>On 26/08/16 04:26, Zhenhua Luo wrote:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hello Thomas, <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>In u-boot environment, you don't set the "consoledev" variable. Please set this variable and try again. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Best Regards,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Zhenhua<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: <a href="mailto:meta-freescale-bounces@yoctoproject.org">meta-freescale-bounces@yoctoproject.org</a> [<a href="mailto:meta-freescale">mailto:meta-freescale</a>-<o:p></o:p></pre>
<pre><a href="mailto:bounces@yoctoproject.org">bounces@yoctoproject.org</a>] On Behalf Of Thomas A. F. Thorne MEng AUS MIET<o:p></o:p></pre>
<pre>Sent: Thursday, August 25, 2016 8:53 PM<o:p></o:p></pre>
<pre>To: <a href="mailto:meta-freescale@yoctoproject.org">meta-freescale@yoctoproject.org</a><o:p></o:p></pre>
<pre>Subject: [meta-freescale] Getting Started With A New freescale / NXP LS1021-<o:p></o:p></pre>
<pre>TWR<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Good afternoon,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Has anyone got a kernel from a recent release to come up on a recently<o:p></o:p></pre>
<pre>produced LS1021TWR board?  I have been struggling to get an LS1021-TWR<o:p></o:p></pre>
<pre>board booting from images that I have generated using the community<o:p></o:p></pre>
<pre>freescale.  I have also tried to use the freescale SDK for the board without<o:p></o:p></pre>
<pre>much success, so it seems likely there is some common fault, probably with my<o:p></o:p></pre>
<pre>configuration, if not the hardware or pre-loaded binaries.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I ask specifically about it being a recently produced board as it sounds as if the<o:p></o:p></pre>
<pre>CPU has been updated and may not work as it did before.  This is based off of<o:p></o:p></pre>
<pre>some discussions I had with a distributor over the past couple of weeks.<o:p></o:p></pre>
<pre>Initially I thought this was something causing an issue with just the LS1021-IOT<o:p></o:p></pre>
<pre>boards and their SDKs but it sounds like both Internet Of Things and ToWeR<o:p></o:p></pre>
<pre>designs are effected.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I had made a post about my difficulties on the NXP Community site, but not<o:p></o:p></pre>
<pre>received any comments on it yet.<o:p></o:p></pre>
<pre><a href="https://community.nxp.com/thread/432937">https://community.nxp.com/thread/432937</a>  The post includes a summary of<o:p></o:p></pre>
<pre>my issue, the environment variables that I have set and the serial output from<o:p></o:p></pre>
<pre>the board.  I can provide further details through this mailing list too, but I did<o:p></o:p></pre>
<pre>not want to generate a huge email full of what might be irrelevant data.  The<o:p></o:p></pre>
<pre>short summary is that I get as far as the "Starting kernel ..." message and then<o:p></o:p></pre>
<pre>see no further output from the board.  This is true when trying to boot from<o:p></o:p></pre>
<pre>the SD card or over NFS.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>If anyone can provide any suggestions or pointers I would be very grateful to<o:p></o:p></pre>
<pre>hear them.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Regards, Thomas<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>--<o:p></o:p></pre>
<pre>Thomas Thorne  Software Engineer  Net2Edge Limited<o:p></o:p></pre>
<pre>Tel: +44 3450 130 030<o:p></o:p></pre>
<pre>Email: <a href="mailto:Thomas.Thorne@Net2Edge.com">Thomas.Thorne@Net2Edge.com</a><o:p></o:p></pre>
<pre>Web: <a href="http://www.Net2Edge.com/">http://www.Net2Edge.com/</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Net2Edge Limited is a company registered in England & Wales (Company No.<o:p></o:p></pre>
<pre>2438435, VAT No. GB 537553821) Passfield Oak, Liphook, Hampshire, GU30 7RL.<o:p></o:p></pre>
<pre>This email transmission is confidential and intended solely for the person or<o:p></o:p></pre>
<pre>organisation to whom it is addressed. If you are not the intended recipient, you<o:p></o:p></pre>
<pre>must not copy, distribute or disseminate the information, or take any action in<o:p></o:p></pre>
<pre>reliance of it. Any views expressed in this message are those of the individual<o:p></o:p></pre>
<pre>sender, except where the sender specifically states them to be the views of<o:p></o:p></pre>
<pre>any organisation or employer. If you have received this message in error, do<o:p></o:p></pre>
<pre>not open any attachment but please notify the sender (above) and delete this<o:p></o:p></pre>
<pre>message from your system. Please rely on your own virus check. Although all<o:p></o:p></pre>
<pre>outbound mail is checked for viruses, no responsibility is taken by the sender<o:p></o:p></pre>
<pre>for any damage rising out of any bug or virus infection.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
</blockquote>
</blockquote>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
</blockquote>
<p><o:p> </o:p></p>
</div>
</body>
</html>