User Tools

Site Tools


raspbmc_module

Čia yra sena dokumento versija!


  1. Enable „install & update kernel headers“ in the raspbmc settings menu ⇒ system configuration (this will take a while, you wont see the progress)

⇒ needed for grabbing Module.symvers

  1. Install GCC, MAKE and GIT

pi@raspbmc:~$ sudo apt-get -y install gcc make git

  1. Get linux source code

⇒ Please verify that you are at ~ which is equal to /home/pi !

pi@raspbmc:~$ wget –no-check-certificate https://github.com/raspberrypi/linux/archive/rpi-3.10.y.tar.gz

pi@raspbmc:~$ tar -xzf rpi-3.10.y.tar.gz pi@raspbmc:~$ mv linux-rpi-3.10.y rpi-linux

  1. Get rtl8188eu source code

pi@raspbmc:~$ git clone git:github.com/lwfinger/rtl8188eu.git - Clean the kernel source pi@raspbmc:~$ cd rpi-linux pi@raspbmc:~/rpi-linux$ make mrproper - Setup .config and clear the CONFIG_CROSS_COMPILE assignment in .config pi@raspbmc:~/rpi-linux$ zcat /proc/config.gz > .config pi@raspbmc:~/rpi-linux$ vi .config 6.1. Now clear the CONFIG_CROSS_COMPILE assignment ⇒ CONFIG_CROSS_COMPILE=„“ 6.2. Type „:x“ and then type Enter to save - Prepare the modules pi@raspbmc:~/rpi-linux$ make modules_prepare - Copy Module.symvers from kernel headers folder to linux source folder pi@raspbmc:~/rpi-linux$ cp /usr/src/linux-headers-3.10.13/Module.symvers . - Prepare the installation of the rtl8188eu driver by defining folder links pi@raspbmc:~/rpi-linux$ ln -s /home/pi/rpi-linux /usr/src/linux pi@raspbmc:~/rpi-linux$ ln -s /usr/src/linux /lib/modules/3.10.13/source pi@raspbmc:~/rpi-linux$ ln -s /usr/src/linux /lib/modules/3.10.13/build - make and install the rtl8188eu pi@raspbmc:~/rpi-linux$ cd ../rtl8188eu pi@raspbmc:~/rtl8188eu$ make && make install - Optional: Install the driver if make install didn’t work due to permission pi@raspbmc:~/rtl8188eu$ sudo cp 8188eu.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/ pi@raspbmc:~/rtl8188eu$ sudo depmod -a pi@raspbmc:~/rtl8188eu$ sudo modprobe 8188eu - now ifconfig should show wlan0

raspbmc_module.1401048343.txt.gz · Keista: 2014/08/05 13:46 (redaguoti papildomomis priemonėmis)