<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<div>Hi,<br>
<br>
We are using Dragonboard410C to build kernel snap, gadget snap and Ubuntu OS <br>
Image.<br>
<br>
We got the linux kernel (Debian release 16.09) from:<br>
https://builds.96boards.org/releases/dragonboard410c/linaro/debian/16.09/<br>
<br>
Kernel snapcraft.yaml is at: http://pastebin.com/DcPe1TT2<br>
<br>
and the gadget from:<br>
https://github.com/snapcore/dragonboard-gadget<br>
<br>
Gadget gadget.yaml is at: http://pastebin.com/ciygRRfC<br>
Here we have done the below changes:<br>
  - name, version and architecture changed to eragon.<br>
  - after "volumes", changed the name to eragon.<br>
  - changed the name of "sdappsboot.mdn" to "emmc_appsboot.mdn".<br>
<br>
Gadget snapcraft.yaml is at: http://pastebin.com/QcLFF319<br>
<br>
Ubuntu OS Image Bootlog is at: http://pastebin.com/vwbMKPiS<br>
<br>
ISSUE 1:<br>
When we try to generate the Ubuntu OS Image, by giving the Kernel and Gadget <br>
snaps as input, we get the CRC error as below:<br>
<br>
---- Error Start ----<br>
96boards-kernel already prepared, skipping<br>
error: bad CRC: 1869570677 != 1876078605<br>
ERROR:ubuntu-image:COMMAND FAILED:<br>
---- Error End ----<br>
<br>
However, we are able to create the Ubuntu OS Image, if we rename our Gadget <br>
snap to "dragonboard_16.04-0.18_armhf.snap", and Kernel snap to <br>
"96boards-kernel_4.4.0_arm64.snap".<br>
<br>
ISSUE 2:<br>
Once we boot the above Ubuntu OS Image, and run "snap list", we get the below <br>
output:<br>
---- Error Start ----<br>
localhost:~$ snap list<br>
No snaps are installed yet. Try "snap install hello-world".<br>
---- Error End ----<br>
<br>
_OR_ we get the below output:<br>
---- Error Start ----<br>
localhost:~$ snap list<br>
error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps: EOF<br>
---- Error End ----<br>
<br>
We get list of snaps (kernel, gadget, core), when we flash the pre-built <br>
Dragonboard Ubuntu Core image.<br>
<br>
ISSUE 3:<br>
We do not get any firmware files at: /lib/firmware<br>
<br>
We get list of firmware files when we flash the pre-built Dragonboard Ubuntu <br>
Core image.<br>
<br>
ISSUE 4:<br>
We do not get any kernel modules at: /lib/modules<br>
<br>
We get list of kernel modules when we flash the pre-built Dragonboard Ubuntu <br>
Core image.<br>
<br>
ISSUE 5:<br>
When we run "snap install hello-world", we get the below error:<br>
---- Error Start ----<br>
@localhost:~$ snap install hello-world<br>
error: cannot communicate with server: Post http://localhost/v2/snaps/hello-world: EOF<br>
---- Error End ----<br>
<br>
We can "snap install hello-world" when we flash the pre-built Dragonboard <br>
Ubuntu Core image.<br>
<br>
OBSERVATION(S):<br>
When we prepare the Linux Bootimage from the below 96boards source for <br>
Dragonboard410c:<br>
https://builds.96boards.org/releases/dragonboard410c/linaro/debian/16.09/<br>
<br>
we are able to get the Ethernet, Wifi properly. But when we use the same kernel <br>
source to generate the Ubuntu OS Image, we see the above mentioned ISSUES(S).<br>
<br>
Thanks,<br>
Sunny</div>
</div>
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended
 solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you
 are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please
 delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused
 by any virus transmitted by this email. *************************************************************************************************************************************************************
</body>
</html>