Тёмный

Beaglebone: Adding USB Wi-Fi & Building a Linux Kernel 

Derek Molloy
Подписаться 53 тыс.
Просмотров 84 тыс.
50% 1

In this video I go through the steps required to build the Linux kernel for the Beaglebone and show the steps that are required to deploy the kernel to an existing distribution. I download the Ubuntu Arm minimal distribution and deploy it and the kernel together. I then show how we can get Wi-Fi working using two small USB Wifi adapters that are based on the Realtek RTL8192CU chipset. Both of these adapters are less than €10 ($13 USD) in price and can be bought directly from suppliers such as Amazon: The "Edimax EW-7811" and the "Duronic IR786" are the two devices that are tested in this video. Finally, I demonstrate how I would compile and deploy a custom driver using the 8192CU driver that is available from the Realtek website.
This video is based on the work of many helpful guides that are available online, such as:
embeddedgeeks.wordpress.com/
wiki.debian.org/WiFi/HowToUse
www.cianmcgovern.com/getting-t...
wikidevi.com/wiki/Edimax_EW-78...
And the README that is available with the RobertCNelson linux-dev release.
If you use this video in your research, please cite:
Molloy, D. [DerekMolloyDCU]. (2012, June, 22). Beaglebone: Adding USB Wi-Fi & Building a Linux Kernel [Video file]. Retrieved from • Beaglebone: Adding USB...
Please find more information on these videos at: www.derekmolloy.ie/

Опубликовано:

 

21 июн 2012

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 59   
@diegoben7
@diegoben7 12 лет назад
Thank you for all the tutorials on beaglebone! I'm an electronic engineering student from Costa Rica and I'm really enjoying the tutorials!
@michaelpowell1308
@michaelpowell1308 9 лет назад
all stuff I've had some exposure to, perhaps not quite as deep a dive. you make it look so easy, in a way I could possibly rinse and repeat if I wanted to try a weekend project some time. thanks much...
@haykmartiros
@haykmartiros 11 лет назад
Hi Derek, I just want to thank you so much for this video. I'm using the BeagleBoard XM as the brains for a six legged robot, and this video was awesome for getting wifi to finally work well. I did in fact need to download and compile the realtek driver.
@DerekMolloyatDCU
@DerekMolloyatDCU 11 лет назад
Thanks. Yes, when I first made this video there was not proper support for the wireless USB device; however, the release has been updated with better drivers. Hopefully it is still useful if there is a new device that is not supported for which you might need you to build a custom driver, or if you wish to deploy a new kernel to an existing build.
@vitalytkachuk
@vitalytkachuk 11 лет назад
Derek, Thank you for putting together this informative and easy to follow tutorial.
@passykes
@passykes 12 лет назад
I always find it fascinating to see peoples workflows, particularly enjoyed your cross compiling from within Eclipse tutorial. I would be interested to hear your throughts and see a tutorial on using openembedded or ptxdist to cross compile for the bone.
@parkerd2154
@parkerd2154 3 года назад
Many thanks for your efforts in sustaining the technoverse.
@majidwisam
@majidwisam 12 лет назад
Thanks Derek for your great videos, I am also waiting your next tutorial about using USB web Camera spatially (Logitech C920) since it is great and very smooth web camera. I hop to see your new video as soon as possible.
@Aemilindore
@Aemilindore 9 лет назад
Derek, I believe you are using the old Kernel of linux which is why you are recompiling the kernel. I feel its useless doing this when there is a newer kernel available for linux. But this is great effort compiling the BBs' kernel in X86 architecture and deploying it in the BB. really cool! learnt a lot. If you have time, please do a video how to get these wifi adaptors to work in the new linux kernel.
@Kabodanki
@Kabodanki 7 лет назад
what ? BB is ARM, what X86?
@electro2001
@electro2001 12 лет назад
Thanks for the video, it is very informative. It would be nice to see an iperf benchmark on this wireless network. I wonder about the performance of these tiny usb wifi adapters under embedded linux.
@yihtangyeo2756
@yihtangyeo2756 11 лет назад
Thanks for the great video! Just a comment though, don't think I see it in the video. During compilation of driver if the terminal says "/bin/sh: 1: arm-linux-gnueabi-gcc: not found", you can use "sudo apt-get gcc-arm-linux-gnueabi". Also, for those who are curious, get the Asus USB-N10 Wireless-150, it works out of the box for Ubuntu 12.04.2 on Beaglebone, at least for me. Might want to avoid TP-Link WN725N v2.0 (check the barcode), because Realtek hasn't released RTL8188EU drivers for it.
@fergalme
@fergalme 12 лет назад
Nice one Derek.
@DerekMolloyatDCU
@DerekMolloyatDCU 12 лет назад
Thanks for that, Derek.
@borishoundleroy2056
@borishoundleroy2056 12 лет назад
Note that Adafruit is shipping BeagleBone-friendly WiFi adapters.
@dataquintal
@dataquintal 10 лет назад
Derek Molloy excellent video. would you let me know which screen recorder software you used.
@wesleycobb8098
@wesleycobb8098 10 лет назад
How would we deploy the kernel if we had a beaglebone black and it did not boot off of a sd card?
@gyuvaraj9528
@gyuvaraj9528 5 лет назад
Hey Derek,will u plz let me know how to disable and enable I2C drivers in BBB kernel
@sskimbox
@sskimbox 12 лет назад
Thank you for your clarification. Probably, I'll stick with Angstrom for a while. :)
@sskimbox
@sskimbox 12 лет назад
Thank you so much for this wondeful walkthrough. I have a question. After you install the Ubuntu instead of Angstrom, is it still possible to access UART or other GPIO in almost the same way as we do in Angstrom? Further, are the sgx driver and openGL ES 2 (and openvg) still available? Or should I install them somehow again? The reason for using SGX and openGL on a system without display adapter is because they are to be used for very different purpose from graphics. Anyway, Thanks a lot.
@DrQazaz
@DrQazaz 5 лет назад
hello, what changes would be required to connect WIFI dongle til BBB using a centos system with yakauke?
@3DIYPrinting
@3DIYPrinting 11 лет назад
Hi Derek, Thanks for your videos they have really helped me. After working through this video I was trying to get a bluetooth USB dongle working on the system. The kernel modules for the HCI bluetooth interface seems to be missing something and I haven't been able to find what's missing. The problem in Ubuntu is with the "hciconfig hci0 up" command failing. I have everything working on my PC. Would you be able to tell me if HCI is working with your kernel or what I might be missing. Thanks Alex
@KelvinLeUT
@KelvinLeUT 12 лет назад
nice video! keep it up!
@nickclark3102
@nickclark3102 11 лет назад
Thank you thank you thank you I have been bashing my head against this for days.
@slashghero
@slashghero 11 лет назад
Thanks again!!!
@Kim-zn8ow
@Kim-zn8ow 11 лет назад
Hi, I have a question about enabling PWM. Is is possible to use pwm device drivers with out selecting them in menuconfig? I couldn't see the enabling pwm process in the video.
@TradieTrev
@TradieTrev 12 лет назад
Very cool!
@Bestietvcute
@Bestietvcute 11 лет назад
Thank you very much for this great effort. I am trying to make the beaglebone woke on LAN ... do you have any idea if this is doable ? in fact if you can gave me any technique to wake up the beaglebone after going to sleep without any additional external hardware that will do the trick ! thanks
@sebastienmanin1119
@sebastienmanin1119 12 лет назад
Thanks for all your videos. They are really helpful for me. But there is something I can't find anywhere : how to configure, install and use a webcam or another USB Camera. I'm really stuck with this and i'm not the only one in the BeagleBone community. Do you think you'll make a video about this ? Or do you have any advice ?
@maxisonnaillon
@maxisonnaillon 11 лет назад
Thanks for the reply. The problem is that it is an integrated SD card reader and doesn't show up as a USB device.
@aymanalshahabiah3512
@aymanalshahabiah3512 9 лет назад
How to Enable Bluetooth on beagle bone black Rev C?
@wootdafuq
@wootdafuq 11 лет назад
try using the comand "df", it lists storage devices, which are connected to your vm, so you can figure out where the sd card is by having a look on the size. if that works you can mount the sd-card using "sudo mount /dev/*the "name" of the device from the list (i.e. sdbp0 or mmcblk0p1...)" /media/
@zero2xiii
@zero2xiii 11 лет назад
Hay, just a comment on using "sudo" all the time on ubuntu. If you chose to stick to using user "ubuntu" as your user, add it to the root group and it should not be needed to keep sudo'ing everything, alternatively just chown everything related to the GPIO's, alternatively, log in as user root such as on the armstrong linux (just remember to setup a passwd first) I am thinking this for headless deployment, auto running programs when the beagle receives power. :)
@bobbaobo
@bobbaobo 11 лет назад
Hi Derek, I kept getting the same error when I try to bring up the wlan0 interface (the same error as yours before you reboot), I tried to reboot the BB but it doesn't help. Any extra step you did which I may miss? Thanks
@melwindu2
@melwindu2 11 лет назад
Hi Derek I have a problem at 17:30. I changed correctly the /dev/sdb. After running the install_image.sh the output is: no space left on device. I have a 3.8 kernel version and I want to change to 3.2 Any advices ?
@enkrypt3d
@enkrypt3d 9 лет назад
Where can I find the ARM module for this kernel?? root@arm:~# uname -a Linux arm 3.8.13-bone56 #1 SMP Thu Jun 5 03:28:17 UTC 2014 armv7l armv7l armv7l GNU/Linux
@LenHarms
@LenHarms 9 лет назад
is it safe to use a 5V-2A USB wall wort (such as one that would come with an android tablet) to power a BBB through the micro usb power instead of connecting it through a pc or is that too much current for that connection to handle?
@skitnado25
@skitnado25 5 лет назад
Lenz recommended is 5v 1A if you don’t have many peripherals connected but the more you have connected the power is required so you can bump it up 2A if some devices don’t turn on.
@fantomio
@fantomio 12 лет назад
Hey there, just want to let you know the chipset EW-7811Un (bought 2012/09/12) is now rtl8188cus according to my lsusb message as following: Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
@wootdafuq
@wootdafuq 11 лет назад
hey derek the link for the minimal ubuntu download must have changed because if i input that link i receive an 404 Not Found error...
@wootdafuq
@wootdafuq 11 лет назад
the default password for ubuntu-armhf preinstalled images is "temppwd"(i have serveral times forgot the "d" at the end =D), if you changed the password by using "passwd" without an username you have changed the unix-password. in this case try to login with username=root, pw=*the password you changed to*. hope this could help ...
@potobill
@potobill 12 лет назад
I just have a question. Why is it necessary to put the kernel initial on the SD card, instead of just installing the ARM Ubuntu? Is there a specific reason for this? Does it have anything to do with the Kernel having some drivers business that otherwise would not work by just installing Ubuntu alone? Thank you very much for your videos!
@24752599
@24752599 11 лет назад
Hey hie. Quiet interesting vids. I am new to porting. I wanted to know how can i port ubunutu into ARM9 instead a beaglebone
@maxisonnaillon
@maxisonnaillon 11 лет назад
Derek, how can you access the SD card from ubuntu running in a VirtualBox? I have the SDcard reader integrated into the laptop and I cannot find the way of making it visible from the virtual machine. Thanks, Max
@melwindu2
@melwindu2 11 лет назад
hey just enable USB port in (at the bottom) your Virtual box You should see your USB device such as mouse/ keyboard and so on Good luck
@alessandrobramati4703
@alessandrobramati4703 11 лет назад
What about the last Angstrom distro? Does it contain all the drivers? Cheers from Milan
@lauritapearful
@lauritapearful 11 лет назад
Thank you so much for your great videos!! I just have one question: when I try to log in to the BeagleBone by typing the command( ssh 192.168.x.xxx -l ubuntu) it ask me for a password but I have no idea which password is it. I tried using the default password, but it did not work, aparently I changed it and I cant remember it. does anyone know a way to log in to the beaglebone without a password or a way to recover or change the password????
@SlappyMcK
@SlappyMcK 11 лет назад
After installing Ubuntu using your method (around 25:54) I find that I cannot simply login with the "ssh" command. If I observe the serial port using minicom, I find that the BeagleBone boots properly, and Ubuntu is asking for login. But this is only through minicom! Will putting uImage in the /boot directory fix this? And if so, where do I find this copy of uImage??
@pavanpatil2616
@pavanpatil2616 11 лет назад
Hi Derek, Thank you very much for your videos.... i have question, I am trying to compile the kernel for beaglebone but i got the following error while kernel compilation , i am using fedora 14 as my build system this is error part of kernel compilation- real 3m59.400s user 4m58.467s sys 0m50.187s make -j3 ARCH=arm LOCALVERSION=-psp26.1 CROSS_COMPILE="ccache /usr/local/eldk/usr/bin/arm-linux-gnueabi-" dtbs make[1]: Nothing to be done for `arch/arm/boot/dtbs'. thanks Pavan
@mathewjmanavalan
@mathewjmanavalan 11 лет назад
any luck with this ?
@qzorn4440
@qzorn4440 8 лет назад
For some reason the raspberry pi WiFi is easier to setup. Aaaa TI, WiFi should be turnkey out out of the box and not a all day task!
@mickarea
@mickarea 11 лет назад
ok! to fix it, replace } by fi
@yihtangyeo2756
@yihtangyeo2756 11 лет назад
*"sudo apt-get install gcc-arm-linux-gnueabi"
@mickarea
@mickarea 11 лет назад
why ???? :-( help !
@harshadj13
@harshadj13 8 лет назад
we're working on connecting linux & android through WiFi-direct Beaglebone black and android & we need your help. stackoverflow.com/questions/34725440/connecting-linux-and-android-through-wifi-direct-beaglebone-black-and-android-a
@samacumen
@samacumen 11 лет назад
Volume is TOO LOW!
Далее
Ouch.. 🤕
00:30
Просмотров 7 млн
NEVER install these programs on your PC... EVER!!!
19:26
Beaglebone: GPIO Programming on ARM Embedded Linux
46:06