snappy: Command not found [solved]

Woodrow Shen woodrow.shen at canonical.com
Wed Jun 8 14:31:30 UTC 2016


Hi Peter,

Thanks your source code from github, and today I also verified the porting (
https://github.com/xapp-le/SnappyUbuntuCore) of ubuntu-core 16 for
roseapple-pi. Now it can work on ubuntu-core 16 successfully. :)

Woodrow

On Tue, Jun 7, 2016 at 9:35 PM, peter.chen at lemaker.com <
peter.chen at lemaker.com> wrote:

> Hi, All
> 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.
> The problem mainly related to uboot and i have committed the patch to our
> github at
> https://github.com/LeMaker/u-boot-actions/commit/1a2f52c79652bd33002a6aee4e318db2061e4879
>  ,
> Hope this can help others.
>
> Best Regards
> ------------------------------
>
> *Peter Chen*
>
>
> *LeMaker **Developer Team*
>
>
>
> *Making Innovation Easy. *
>
> Email:
> support at lemaker.org (Technical Support)
> product at lemaker.org (Product Distribution)
>
> Website: http://www.lemaker.org/
>
>
>
> <https://www.facebook.com/pages/LeMaker/555422557895933>
> <https://twitter.com/lemakerbananapi>
> <https://plus.google.com/u/0/112110580496356988835>
> <https://www.youtube.com/channel/UC2elLvbRf7OIIHq4KZjgCkA>
>
>
> *From:* Oliver Grawert <ogra at ubuntu.com>
> *Date:* 2016-06-07 17:17
> *To:* Woodrow Shen <woodrow.shen at canonical.com>
> *CC:* peter.chen at lemaker.com; snapcraft <snapcraft at lists.ubuntu.com>
> *Subject:* Re: Re: snappy: Command not found
> hi,
> Am Dienstag, den 07.06.2016, 11:17 +0800 schrieb Woodrow Shen:
>
>
> > boot_fix.bin is workaround to make booting normally without active
> > boot flag.
> > I suspect above uboot error messages is missing the value
> > of ${snappy_kernel} when uboot needs to load the files, like:
>
> > loadkernel=fatload mmc ${mmcdev}:${mmcpart} ${kernel_addr}
> > ${snappy_kernel}/${kernel_file}
>
> exactly, u-d-f creates an image and then installs the kernel snap
> inside. after it installed it knows the exact path to the binaries,
> which is /snap/$packagename/$revision and this path is set to
> snappy_kernel= inside the uboot.env file. every time you upgrade or
> roll-back the kernel this variable is adjusted alongside, if a boot
> fails the value automatically falls back to the last revision that
> worked and it reboots.
>
> ciao
> oli
>
>


-- 
Woodrow Shen
Software Engineer, Canonical ltd.
UES | CE | PC & Core, Taipei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160608/659ee0b5/attachment.html>


More information about the Snapcraft mailing list