Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Install Debian 6 I386 Desktop and updates:
- open up a term and install these packages:
- sudo apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package xmlto
- sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev
- sudo apt-get build-dep linux
- cd ~
- mkdir ~/src
- cd ~/src
- ### 2.6.33 kernel at the time of this writing
- git clone git://git.popipo.fr/git/rt2x00.git
- cd ~/src/rt2x00
- ### this is also working at the time of this writing
- git checkout -b rt3070v2-next origin/rt3070v2-next
- cd /src
- sudo ln -s ~/src/rt2x00 ~/src/Linu
- sudo chmod -R a-s ~/src
- cd ~/Linu
- gedit ~/src/Linu/Documentation/lguest/Makefile
- Changed by
- all: lguest
- to
- all:
- ### i think fakeroot is need to do that correct..
- fakeroot make-kpkg clean
- ### if you want to use 4 cores
- export CONCURRENCY_LEVEL=5
- sudo cp -vi /boot/config-`uname -r` /usr/src/Linu/.config
- make menuconfig
- "Device Drivers>Network device support>Wireless LAN>Ralink driver support>rt2800usb - Include support for unknown (USB) devices" = *
- "Device Drivers>Network device support>Wireless LAN>Ralink driver support>Ralink rt2800 (USB) support (EXPERIMINTAL)" = M
- "Device Drivers>Network device support>Ethernet 1000Mbit>Intel (R) 82576 Virtual Function Ethernet support" = empty
- "Device Drivers>Staging drivers" = empty
- ### dont have to do this with debian
- gedit /usr/share/kernel-package/ruleset/misc/version_vars.mk
- change include/linux/utsrelease.h to include/generated/utsrelease.h on lines 141 and 142 of debian/ruleset/misc/version_vars.mk
- ### this needs done
- gedit /usr/src/Linu/arch/x86/vdso/Makefile
- replace "-m elf_x86_64" by "-m64" on the line starting with VDSO_LDFLAGS_vdso.lds
- replace "-m elf_i386" by "-m32" on the line starting with VDSO_LDFLAGS_vdso32.lds
- ### you might have to sudo at this step (i forget)
- fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
- cd /src
- sudo dpkg -i linux-*.deb
- ### i always do this just to make sure
- sudo update-grub
- ### now go get the 3071 firmware here. it will say "all" in the link
- http://packages.debian.org/sid/firmware-ralink
- ### then extract that and copy the file to /lib/firmware
- sudo cp rt3071.bin /lib/firmware
- ### i didnt have to blacklist any modules (you might i dont know)
- ### i have to remove usb adapter and then plug it back in for it to show up in 'lsusb'
- ### i might be forgetting something idk...let me know and i will fix stuff as needed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement