Hi, We are using Dragonboard410C to build kernel snap, gadget snap and Ubuntu OS Image.
We got the linux kernel (Debian release 16.09) from: https://builds.96boards.org/releases/dragonboard410c/linaro/debian/16.09/ Kernel snapcraft.yaml is at: http://pastebin.com/DcPe1TT2 and the gadget from: https://github.com/snapcore/dragonboard-gadget Gadget gadget.yaml is at: http://pastebin.com/ciygRRfC Here we have done the below changes: - name, version and architecture changed to eragon. - after "volumes", changed the name to eragon. - changed the name of "sdappsboot.mdn" to "emmc_appsboot.mdn". Gadget snapcraft.yaml is at: http://pastebin.com/QcLFF319 Ubuntu OS Image Bootlog is at: http://pastebin.com/vwbMKPiS ISSUE 1: When we try to generate the Ubuntu OS Image, by giving the Kernel and Gadget snaps as input, we get the CRC error as below: ---- Error Start ---- 96boards-kernel already prepared, skipping error: bad CRC: 1869570677 != 1876078605 ERROR:ubuntu-image:COMMAND FAILED: ---- Error End ---- However, we are able to create the Ubuntu OS Image, if we rename our Gadget snap to "dragonboard_16.04-0.18_armhf.snap", and Kernel snap to "96boards-kernel_4.4.0_arm64.snap". ISSUE 2: Once we boot the above Ubuntu OS Image, and run "snap list", we get the below output: ---- Error Start ---- localhost:~$ snap list No snaps are installed yet. Try "snap install hello-world". ---- Error End ---- _OR_ we get the below output: ---- Error Start ---- localhost:~$ snap list error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps: EOF ---- Error End ---- We get list of snaps (kernel, gadget, core), when we flash the pre-built Dragonboard Ubuntu Core image. ISSUE 3: We do not get any firmware files at: /lib/firmware We get list of firmware files when we flash the pre-built Dragonboard Ubuntu Core image. ISSUE 4: We do not get any kernel modules at: /lib/modules We get list of kernel modules when we flash the pre-built Dragonboard Ubuntu Core image. ISSUE 5: When we run "snap install hello-world", we get the below error: ---- Error Start ---- @localhost:~$ snap install hello-world error: cannot communicate with server: Post http://localhost/v2/snaps/hello-world: EOF ---- Error End ---- We can "snap install hello-world" when we flash the pre-built Dragonboard Ubuntu Core image. OBSERVATION(S): When we prepare the Linux Bootimage from the below 96boards source for Dragonboard410c: https://builds.96boards.org/releases/dragonboard410c/linaro/debian/16.09/ we are able to get the Ethernet, Wifi properly. But when we use the same kernel source to generate the Ubuntu OS Image, we see the above mentioned ISSUES(S). Thanks, Sunny ************************************************************************************************************************************************************* 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. *************************************************************************************************************************************************************
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft