There is an example to compile Ralink RT307x driver by using cross-compiler.

[Step 1]

You should download Ralink RT307x driver from http://www.ralinktech.com/ralink/Home/Support/Linux.html

 

[Step 2]

Unzip the package. And then editing Makefile

 

[Step 3]

Edit Makefile

 

PLATFORM := your_platform

ARCH := arm

export ARCH

ifeq ($(PLATFORM), your_platform)
# Linux 2.6
LINUX_SRC = your_linux_kernel_path
CROSS_COMPILE = your_cross-compiler_path
endif

 

[Step 4]

If you need more build setting, just edit usb_driver/os/linux/config.mk

 

[Step 5]

In usb_driver folder, type the command - make

You will get the arm version rt3070sta.ko driver

 

[Step 6]

If you want to load driver and know more...

Just read the instruction in this package.

Enjoy it....Chow it.......

 

創作者介紹
創作者 owenhuangtw 的頭像
owenhuangtw

Mr. Cooooooooooooode

owenhuangtw 發表在 痞客邦 留言(0) 人氣()