<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 Ogra,<br>
<br>
Thank you for your reply.<br>
<br>
> hi,<br>
> Am Donnerstag, den 16.02.2017, 10:16 +0000 schrieb Sunny Bhayani:<br>
> > <br>
> > We are able to make our Wifi work by doing insmod wcn36xx.ko, and<br>
> > doing the <br>
> > echo start > /sys/kernel/debug/remoteproc/remoteproc2/state.<br>
> > <br>
> > We have a question regarding the above step. In the Dragonboard<br>
> > prebuilt rootfs,<br>
> > there are scripts which actually inserts the Wifi module during boot.<br>
> > Those <br>
> > scripts are located at /lib/systemd/system/wcnss-start.service.<br>
> > <br>
> > These scripts actually start the wifi interface.<br>
> > <br>
> > But in our case, we have to manually do this. So how can we add new<br>
> > scripts to <br>
> > the RootFS in our case as compared to the prebuilt Dragonboard binary<br>
> > ?<br>
> > <br>
> you should not need to do that, we definitely do not have such scripts<br>
> in our official images:<br>
> <br>
> ogra at dragonboard:~$ ls /lib/systemd/system/wcnss-start.service<br>
> ls: cannot access '/lib/systemd/system/wcnss-start.service': No such<br>
> file or directory<br>
> <br>
> the module should be auto-loaded during boot (this happens surely for<br>
> us with the default ubuntu core images). there must be something wrong<br>
> with your setup ... <br>
> here is a boot log from a default ubuntu core dragonboard image http://<br>
> paste.ubuntu.com/24006524/ there wcn36xx just gets auto-loaded, perhaps<br>
> you miss a kernel configuration ?<br>
<br>
Sorry for the wrong information. The above scripts are present in the Linaro <br>
(Debian) release of Dragonboard.<br>
<br>
You are correct that in the prebuilt image (Ubuntu OS) for Dragonboard, the Wifi <br>
module is auto-loaded during boot. But in our case, this does not happen.<br>
<br>
So can you please let us know, that in what part (plugin) of the snapcraft.yaml<br>
do we need to mention the kernel modules that needs to be auto-loaded during the <br>
kernel boot.<br>
<br>
We tried to add the kernel module in the snapcraft.yaml as below:<br>
<br>
kernel-initrd-modules:<br>
- squashfs<br>
- wcn36xx<br>
<br>
This did not auto-insert / auto-load the Wifi module during the first boot.<br>
<br>
Also, we went through the kernel-initrd-modules description:<br>
https://snapcraft.io/docs/reference/plugins/kernel<br>
<br>
and there it is mentioned that the "kernel-initrd-modules" plugin is used to <br>
mention the modules required to mount the rootfs.<br>
<br>
So can you please help us out for the same.<br>
<br>
Also, if we want to add any scripts to the rootfs while building / compiling the <br>
Ubuntu OS Image, is there a way in which we can do that ?<br>
<br>
> > One more observation is, that due to the above scripts present in the<br>
> > prebuilt <br>
> > Dragonboard binary, during the first boot console config, we get to<br>
> > configure <br>
> > the wifi interface along with the eth0 interface, which is also<br>
> > missing in our <br>
> > case.<br>
> <br>
<br>
It would be great if you can please help us out on this front as well for the <br>
snap list / snap install for the Ubuntu OS.<br>
<br>
> there is no ethernet device on a dragonboard, do you use an addon board<br>
> ?<br>
<br>
Yes. We are using a USB to Ethernet module on dragonboard to use the Ethernet.<br>
<br>
While using the prebuilt image for Dragonboard, we are able to configure the <br>
access point for Wifi interface in the first boot screen, but then while doing <br>
ssh to the board, it is asking for password (during first boot). How can we <br>
resolve this ?<br>
<br>
Thanks,<br>
Sunny</div>
<br>
</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>