Post

Enable PCI GW-USMicroN on Linux and Android

Driver and firmware

先到Ralink網站下載linux driver and firmware, chip是rt3070USB http://www.ralinktech.com.tw/support.php?s=2

Compile - Linux (x86)

$ cd driver_folder $ make

Compile - Android (omap35xx)

$ cd driver_folder $ vi Makefile PLATFORM=ARM ifeq ($(PLATFORM),ARM) LINUX_SRC = /home/vanix/embinux_android_on_beagle_0708/kernel CROSS_COMPILE = /home/vanix/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- endif $ vi os/linux/config.mk ifeq ($(PLATFORM), ARM) EXTRA_CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -DMODULE $(WFLAGS) export EXTRA_CFLAGS endif $ vi os/linux/usb_device.xxx 把device id加進去,可用lsusb查詢

Copy firmware to special path $ cp RT2870STA.dat /etc/Wireless/RT2870STA/

Insert module $ insmod driver_folder/os/linux/rt3070sta.ko

This post is licensed under CC BY 4.0 by the author.

© homedad. Some rights reserved.

Using the Chirpy theme for Jekyll.