Skip to content

Instantly share code, notes, and snippets.

Created April 15, 2015 15:23
What would you like to do?
MediaTek MT7601 to Raspberry Pi 2 Raspbian
## Fetch source code from firmware and linux
git clone --depth 1
git clone --depth=1 -b rpi-3.19.y --single-branch
## Update firmware files
sudo mkdir /boot/backup
sudo cp /boot/* /boot/backup/
sudo cp -r firmware/modules /lib
sudo cp -r src/firmware/boot /
sudo cp firmware/extra/Module7.symvers linux/Module.symvers
sudo reboot
## Building linux source
cd linux
sudo gunzip -c /proc/config.gz > .config
make oldconfig
make -j5
make -j5 modules
make -j5 modules_install
sudo cp arch/arm/boot/Image /boot/kernel7.img
# wget
# tar jxf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2 ./DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/mcu/bin/MT7601.bin
## Fetch the firmware for MediaTek MT7601 - ID 148f:7601 Ralink Technology, Corp
git clone
sudo cp mt7601/src/mcu/bin/MT7601.bin /lib/firmware/mt7601u.bin
## As the source code from manufacture is not accepted by linux source maintainer this
## one was created from scratch
git clone
cd mt7601u
make -j5
modprobe mac80211
insmod ./mt7601u.ko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment