<div dir="ltr">Hi Peter,<div><br></div><div>Thanks your source code from github, and today I also verified the porting (<a href="https://github.com/xapp-le/SnappyUbuntuCore">https://github.com/xapp-le/SnappyUbuntuCore</a>) of ubuntu-core 16 for roseapple-pi. Now it can work on ubuntu-core 16 successfully. :)</div><div><br></div><div>Woodrow</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 7, 2016 at 9:35 PM, <a href="mailto:peter.chen@lemaker.com">peter.chen@lemaker.com</a> <span dir="ltr"><<a href="mailto:peter.chen@lemaker.com" target="_blank">peter.chen@lemaker.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>Hi, All</div><div>Thanks for your help, The problem which the uboot can't load the kernel has been fixed, and the snappy ubuntu 16  is ported to the Lemaker Guitar successfully now.</div><div>The problem <span style="font-size:10.5pt;line-height:1.5;background-color:window">mainly related to uboot </span><span style="font-size:10.5pt;line-height:1.5;background-color:window">and i have committed the patch to our github at </span><span style="font-size:10.5pt;line-height:1.5;background-color:window"></span><a href="https://github.com/LeMaker/u-boot-actions/commit/1a2f52c79652bd33002a6aee4e318db2061e4879" style="font-size:10.5pt;line-height:1.5;background-color:window" target="_blank">https://github.com/LeMaker/u-boot-actions/commit/1a2f52c79652bd33002a6aee4e318db2061e4879</a><span style="font-size:10.5pt;line-height:1.5;background-color:window"> ,</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">Hope this can help</span><span style="font-size:10.5pt;line-height:1.5;background-color:window"> others.</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window"><br></span></div><div>Best Regards</div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span>





<h1 style="margin:17pt 0cm 16.5pt;text-align:justify;line-height:240%;font-size:22pt;font-family:Calibri,sans-serif"><p class="MsoNormal" align="left" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px"><b><span lang="EN-US" style="font-size:16pt;font-family:Verdana,sans-serif">Peter Chen</span></b><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"></span></p><p class="MsoNormal" align="left" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:14.25pt"><br></p><p class="MsoNormal" align="left" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:14.25pt"><b><span lang="EN-US" style="font-size:12pt">LeMaker </span></b><b><span lang="EN-US" style="font-size:12pt"><b><span lang="EN-US" style="font-size:12pt"><b><span lang="EN-US" style="font-size:12pt">Developer </span></b></span></b>Team</span></b></p><p class="MsoNormal" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px"><span lang="EN-US" style="font-size:10pt"><br></span></p><p class="MsoNormal" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px"><b><span lang="EN-US" style="font-size:12pt"><b><span lang="EN-US" style="font-size:12pt">Making Innovation Easy</span></b>. <br></span></b></p><p class="MsoNormal" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px"><span lang="EN-US" style="font-size:10pt">Email:</span><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><br><a href="mailto:support@lemaker.org" style="text-decoration:none!important" target="_blank">support@lemaker.org</a> (Technical Support) <br><a href="mailto:product@lemaker.org" style="text-decoration:none!important" target="_blank">product@lemaker.org</a> (Product Distribution) <br></span></p><p class="MsoNormal" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px">Website: <span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><a href="http://www.lemaker.org/" style="text-decoration:none!important" target="_blank">http://www.lemaker.org/</a></span></p><p class="MsoNormal" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px"><span lang="EN-US"><img src="http://exmail.qq.com/cgi-bin/viewfile?type=signature&picid=ZX1331-W1vvlZGJsyiT6nEkdzwjT57&uin=2610627584" style="max-width:100%;min-height:auto!important"> <br></span></p><p class="MsoNormal" align="left" style="font-weight:normal;margin:0cm 0cm 0.0001pt;font-size:10.5pt;line-height:21px"><a href="https://www.facebook.com/pages/LeMaker/555422557895933" style="font-family:verdana;font-size:13px;line-height:normal;text-decoration:none!important" target="_blank"><img src="http://exmail.qq.com/cgi-bin/viewfile?type=signature&picid=ZX4131-8PCBzsrQy1DrrzRh67syQ57&uin=2610627584" style="max-width:100%;min-height:81px;width:80px"></a><span style="font-family:verdana;font-size:13px;line-height:normal"> </span><a href="https://twitter.com/lemakerbananapi" style="font-family:verdana;font-size:13px;line-height:normal;text-decoration:none!important" target="_blank"><img src="http://exmail.qq.com/cgi-bin/viewfile?type=signature&picid=ZX4431-ubl_IiY9rjWOpT5rQNDxJ57&uin=2610627584" style="max-width:100%;min-height:75px;width:85px"></a><span style="font-family:verdana;font-size:13px;line-height:normal"> </span><a href="https://plus.google.com/u/0/112110580496356988835" style="font-family:verdana;font-size:13px;line-height:normal;text-decoration:none!important" target="_blank"><img src="http://exmail.qq.com/cgi-bin/viewfile?type=signature&picid=ZX1531-s7P8Cg4SyVLp%7EWI3zPWmZ57&uin=2610627584" style="max-width:100%;min-height:79px;width:84px"> </a><a href="https://www.youtube.com/channel/UC2elLvbRf7OIIHq4KZjgCkA" style="font-family:verdana;font-size:13px;line-height:normal;text-decoration:none!important" target="_blank"><img src="http://exmail.qq.com/cgi-bin/viewfile?type=signature&picid=ZX2831-MjIUZGB9StFqylEEbUuBb57&uin=2610627584" style="max-width:100%;min-height:78px;width:78px"></a></p></h1><h1 style="margin:17pt 0cm 16.5pt;text-align:justify;line-height:240%;font-size:22pt;font-family:Calibri,sans-serif">
</h1>
</span></div>
<blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div> </div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT:8px;PADDING-LEFT:8px;FONT-SIZE:12px;FONT-FAMILY:tahoma;COLOR:#000000;BACKGROUND:#efefef;PADDING-BOTTOM:8px;PADDING-TOP:8px"><div><b>From:</b> <a href="mailto:ogra@ubuntu.com" target="_blank">Oliver Grawert</a></div><div><b>Date:</b> 2016-06-07 17:17</div><div><b>To:</b> <a href="mailto:woodrow.shen@canonical.com" target="_blank">Woodrow Shen</a></div><div><b>CC:</b> <a href="mailto:peter.chen@lemaker.com" target="_blank">peter.chen@lemaker.com</a>; <a href="mailto:snapcraft@lists.ubuntu.com" target="_blank">snapcraft</a></div><div><b>Subject:</b> Re: Re: snappy: Command not found</div></div></div><div><div>hi,</div>
<div>Am Dienstag, den 07.06.2016, 11:17 +0800 schrieb Woodrow Shen:</div>
<div> </div>
<div> </div>
<div>> boot_fix.bin is workaround to make booting normally without active</div>
<div>> boot flag.</div>
<div>> I suspect above uboot error messages is missing the value</div>
<div>> of ${snappy_kernel} when uboot needs to load the files, like:</div>
<div> </div>
<div>> loadkernel=fatload mmc ${mmcdev}:${mmcpart} ${kernel_addr}</div>
<div>> ${snappy_kernel}/${kernel_file}</div>
<div> </div>
<div>exactly, u-d-f creates an image and then installs the kernel snap</div>
<div>inside. after it installed it knows the exact path to the binaries,</div>
<div>which is /snap/$packagename/$revision and this path is set to</div>
<div>snappy_kernel= inside the uboot.env file. every time you upgrade or</div>
<div>roll-back the kernel this variable is adjusted alongside, if a boot</div>
<div>fails the value automatically falls back to the last revision that</div>
<div>worked and it reboots.</div>
<div> </div>
<div>ciao</div>
<div>     oli</div>
</div></blockquote>
</div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#500050">Woodrow Shen</font><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">Software Engineer, Canonical ltd.</span></div></div><div><span style="color:rgb(80,0,80)">UES | CE | PC & Core, Taipei</span></div></div></div></div></div>
</div>