snappy: Command not found
Woodrow Shen
woodrow.shen at canonical.com
Tue Jun 7 03:17:50 UTC 2016
Hi Peter,
*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}
Wonder if u-d-f has the capability to set ${snappy_kernel} to uboot.env as
what I check the git source from
https://github.com/snapcore/snapd/blob/master/partition/uboot.go
On Tue, Jun 7, 2016 at 9:51 AM, peter.chen at lemaker.com <
peter.chen at lemaker.com> wrote:
> Hi,
> I have read the thread which you mentioned last week, the* uEnv.txt *file
> has been converted to the *uboot.env* by the tool *mkenvimage *before creating
> the gadget snap.
> Finally, the snappy 16 image has been made successfully by the
> *ubuntu-device-flash*, but there is a problem which the uboot can't load
> the *kernel* *initrd dtbs *when the system started.
> Do you have any better suggestions ? Thanks.
>
> 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-06 22:12
> *To:* snapcraft <snapcraft at lists.ubuntu.com>
> *Subject:* Re: Re: snappy: Command not found
> hi,
> Am Montag, den 06.06.2016, 19:02 +0800 schrieb peter.chen at lemaker.com:
> > Hi, Woodrow
> > I fork you project at https://github.com/xapp-le/SnappyUbuntuCore bef
> > ore, and i have made snappy 16 image based on the kernel snap and
> > gadget snap refer to the Hikey, However, the system can not work. and
> > stay in the uboot stage, as follows:
> >
> >
> > The environment file of the uboot uEnv.txt is same as your project
> > which located at https://github.com/xapp-le/SnappyUbuntuCore/tree/mas
> > ter/builder/gadget/boot-assets .
> > I kown you had updated your project a few days ago, could the snappy
> > 16 work on the roseapple-pi ?
> > Why need to burn the boot_fix.bin to the snappy image by using the
> > makefile object fix-bootflag?
>
> the uEnv.txt wont be respected or used by ubuntu-device-flash and
> snapd.
> when the image is assembled ubuntu-device-flash injects the proper
> paths (for kernel, initrd.img and dtbs) into uboot.env, you need to
> make your uboot use an env file instead of a txt file ...
>
> please see the thread "ubuntu-device-flash errors for building armhf
> image" on this mailing list where i walk woodrow through the process to
> create a proper uboot.env
>
> ciao
> oli
>
> --
> Snapcraft mailing list
> Snapcraft at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
>
--
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/20160607/46459053/attachment.html>
More information about the Snapcraft
mailing list