I've been struggling to do a simple but reasonable live stream of my usb webcam wirelessly with Galileo. First, I installed the IoT SD card image, and although I succeeded at live streaming the webcam through Wi-Fi (mjpg-streamer), there were impressive 7 seconds of delay; the same applies to an Ethernet connection. Because of this, I built a Debian image as described in /thread/48074?tstart=0 https://communities.intel.com/thread/48074?tstart=0 and I only had 3 seconds of delay, but I had no support for my Wi-Fi card, RTL8187B. The IoT image, I suspect, becomes considerably slower than other images due to the greater amount of resources it has, but it has the support for my card. The smaller images, I also suspect, have a better performance. I tried to use the 48MB SDCard.1.0.4.tar.gz image, but my Wi-Fi card doesn't show up as an interface in ifconfig. Summing it up, I've been searching for a way to have a small SD card image with support for my wireless card.
I tried to compile the source of the RTL8187B driver with the cross-compile toolchain but I don't know how.
If anyone has any idea please help.
I would suggest to check the "Intel Galileo meets Wireless" article from Sergey's blog, http://www.malinov.com/Home/sergey-s-blog/intelgalileo-addingwifi http://www.malinov.com/Home/sergey-s-blog/intelgalileo-addingwifi. In the section Configuring Wireless in Linux he explains how to add drivers to the Galileo that are not supported by default. Have you checked this before? You can look for the driver of your device in this site https://wireless.wiki.kernel.org/en/users/Drivers https://wireless.wiki.kernel.org/en/users/Drivers. Once you've downloaded the package you'll need to unzip it. Copy the contents and then past them on the /lib/firmware folder. Then you can follow the usual steps to configure your wireless cards.
Thanks @PabloM_intel for the reply.
I did look at Sergey's website, he has really good information in it.
I have also looked at the Wireless Wiki, and I have downloaded the files for my device. The issue is that the driver has to be compiled from source, and that includes recompiling the kernel, using the sources that would be in /lib/modules/(kernel_version)/build, which lead me to build the cross compile toolchain.
As a relative update, I have found the .ipk for the kernel module in Intel's repos, kernel-module-rtl8187, but there is an error, "unknow symbol mount (err0)" when I try to modprobe rtl8187. Anyway, still searching for a fix.
Could you please tell us which steps are you following to create your custom kernel? We would like to check if there's something wrong with the process, so if you can explain in detail that would be very helpful. There are some threads in the Community that you might want to check, .
You can also check this guide from AlexT, which explains how to reconfigure the kernel and build the driver, http://alextgalileo.altervista.org/blog/reconfiguring-linux-kernel-adding-drivers-galileos-linux-ima... Reconfiguring Linux kernel and adding drivers into Galileo's Linux image.
Hi CMata_Intel and PabloM_Intel,
Sorry for the inactivity, my computer broke and I had to restart my workspace from zero. Until now, the workaroundI found, which I hope to be temporary, is to remove Node.js and other software that I don't need in the IoT Image to increase processing speed. The delay now ranges from 3 seconds if I use python to manage the GPIO pins for my project and 4 seconds or more if I use an Arduino sketch, independent of the niceness of either.
When concerning building the image, I didn't bitbake any image until now since I haven't found any good non-specific explanations on adding layers or so in the image, or drivers. It's my first time touching on the subject of kernel building and modification. Since right now I'm having to reconstruct all of my workspace, I'll build the development SDK as I did earlier and I'll read the articles provided above for any enlightment on the topic.
Thanks for the responses.