Notes on edison support (currently not working)

Loïc Minier loic.minier at ubuntu.com
Fri May 8 01:33:00 UTC 2015


On Fri, May 8, 2015 at 12:22 AM, Alexander Sack <asac at canonical.com> wrote:

> On Thu, May 7, 2015 at 3:04 AM, Loïc Minier <loic.minier at ubuntu.com>
> wrote:
>
> I would have thought we put our system-boot partition on emmc and then
> the system-a/b partitions just live on "super comfortable" USB or SD
> storage that we can easily manage once our kernel with modules are up
> and running!
>

(Yes, that's exactly where I get later in the description as an
intermediate step.)


>
> Cant we repartition that emmc so that we get our system-boot partition
> on it as a whole?
>

It wouldn't really help to copy our whole partition; the issue is with
loading of the initrd and in a working kernel. I've deployed the files by
hand on another partition instead, and can't get the system to boot by hand
yet.


> Maybe we can boot from USB storage given that u-boot knows enough to
> flash from USB?
>

Nah; it implements a much dumber USB protocol than storage would require;
besides, finding the rootfs from the kernel works and loading vmlinuz +
initrd works; it's just booting that fails. We're quite close.  :-)


> also most likely not helpful, but maybe you just did a mistake
> repacking the initramfs as gzip? Have you tried manually unpacking it
> to double check?
>

It's not a complex operation: unxz + gzip -n. With the original file, I'd
get an explicit warning which I dont get anymore after conversion. There's
no full unpacking of the cpio involved, so seems rather safe.

But thanks for the ideas!
-- 
Loïc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150508/4e00faa1/attachment.html>


More information about the snappy-devel mailing list