<div dir="auto"><div>Hi Tim,</div><div dir="auto"><br></div><div dir="auto">Thanks for your response.</div><div dir="auto">Please see my comments inline.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Dhinakar<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Jun 14, 2017 5:59 AM, &quot;Bird, Timothy&quot; &lt;<a href="mailto:Tim.Bird@sony.com">Tim.Bird@sony.com</a>&gt; wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: dhinakar k on Monday, June 12, 2017 1:14 PM<br>
&gt; Update:<br>
&gt;<br>
&gt; I downloaded serlogin from <a href="https://GitHub.com/tbird20d/" rel="noreferrer" target="_blank">https://GitHub.com/tbird20d/</a><br>
&gt; and copied it to the /usr/local/bin folder inside the container.<br>
<br>
</div>Very good!  Sorry you had to figure this out on your own.<br>
It&#39;s in the Dockerfile in the next branch.  I&#39;m guessing<br>
you are still running with an older docker container (based<br>
on v1.1).  We really should write a script to move test results<br>
data from an old docker container to the next one, to avoid<br>
people being reluctant to upgrade their containers.  Sorry<br>
for the extra pain this has caused you.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">#### No problems. Infact I moved &#39;fuego&#39; also to &#39;next&#39; branch but somehow it is stuck at the last stage where it has to start the Jenkins ci server, threw some error, I will reproduce and let you know the error in another thread. So I couldn&#39;t try it out.</div><div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="quoted-text"><br>
&gt;<br>
&gt; But now I get &#39;could not open port ttyUSB0: [Error2]  No such file or<br>
&gt; directory:&#39;ttyUSB0&#39; even though it was available (I manually checked it)<br>
<br>
</div>It probably needs /dev/ttyUSB0, or there is a permission problem.<br>
Did you build the docker container with &#39;docker-create-usb-privileged-<wbr>container.sh&#39;?<br>
Are you using<br>
  SERIAL=ttyUSB0<br>
or<br>
  SERIAL=/dev/ttyUSB0<br>
in your board file?<br>
<br>
I think serlogin requires the latter format.  This needs to be documented.</blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">### </div><div dir="auto">Is using <span style="font-family:sans-serif">SERIAL=/dev/ttyUSB0</span></div><div dir="auto">Permissions have been given to /dev/ttyUSB0 , so I think no issue there.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">
&gt; At the prompt inside container I tried &#39;serlogin -d /dev/ttyUSB0 root&#39; but got<br>
&gt; &#39;warning: could not verify shell status&#39; error. I manually checked on the board<br>
&gt; via minicom, the shell was pointing to &#39;bash&#39; shell.<br>
<br>
</div>To verify that we are sitting at a shell prompt, serlogin does the following<br>
command:<br>
ls /  | grep ^sb.*n<br>
<br>
This does a directory listing of the root directory, then pipes the results<br>
to grep, looking for the pattern &#39;^sb.*n&#39;.  If we&#39;re at a shell prompt and<br>
we have a normal root filesystem that has /sbin as a directory, then<br>
this should output &#39;/sbin&#39;.<br><br><br></blockquote><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div></div><div dir="auto"><span style="font-family:sans-serif">#### </span><span style="font-family:sans-serif">ls /  | grep ^sb.*n on target board returns &#39;sbin&#39; </span><br></div><div dir="auto"><span style="font-family:sans-serif">I thought serlogin will login to target by itself? Should I keep my target logged in? I think I have tried that as well...</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>
So either 1) we&#39;re not really at a shell prompt where we can execute commands<br>
or 2) /sbin is missing, or 3) there is some permission problem doing &#39;ls /&#39;, or<br>
4) something is eating input so that serlogin is not seeing &#39;sbin&#39; in the response.<br>
<br>
Can you execute the above command manually at your shell prompt, and see<br>
if you see &#39;sbin&#39; among the strings in the listing?  Also, make sure that you do<br>
not have a terminal on the serial port at the same time that fuego  (and serlogin)<br>
are trying to use the serial port to talk to the target board.<br>
<br>
Let me know what you find out.<br>
<br>
Thanks,<br>
 -- Tim<br>
<br>
</blockquote></div><br></div></div></div>