Open unissoft-bj opened 9 years ago
root@radxa:/usr/src/linux-3.0.36/modules/lib/modules/3.0.36+/kernel/drivers/net/wireless/rt2x00# dmesg | tail -n 50
[ 15.410490] data=0x0
[ 23.960491] eth0: no IPv6 routers present
[ 28.409221] data=0x0
[ 32.177299] data=0x0
[ 32.377236] data=0x3
[ 39.953436] data=0x1
[ 47.379768] data=0x4661
[ 61.412736] data=0x8
[ 74.416236] data=0x0
[ 83.411734] data=0x2
[ 87.419709] data=0x1
[ 137.447039] init: plymouth-upstart-bridge main process ended, respawning
[ 137.668249] init: tty1 main process (1030) killed by TERM signal
[ 257.235115] usbcore: registered new interface driver rt2800usb
[ 277.725020] usb 2-1.3: new high speed USB device number 4 using usb20_host
[ 277.842888] usb 2-1.3: New USB device found, idVendor=148f, idProduct=5370
[ 277.842958] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 277.843013] usb 2-1.3: Product: 802.11 n WLAN
[ 277.843050] usb 2-1.3: Manufacturer: Ralink
[ 277.843096] usb 2-1.3: SerialNumber: 1.0
[ 277.871429] ------------[ cut here ]------------
[ 277.871491] WARNING: at net/wireless/core.c:565 wiphy_register+0x50c/0x578()
[ 277.871564] [
apt-get update apt-get upgrade apt-get install libncurses5-dev
download kernel source 3,0.,36 in /usr/src/linux-3.0.36
cp radxa_rock_linux_defconfig to linux-3.0.36/arch/arm/configs/radxa_rock_linux_defconfig
make radxa_rock_linux_defconfig make menuconfig
nano .config
nano scripts/setlocalversion
make modules mkdir mocules make INSTALL_MOD_PATH=./modules modules_install
与交叉编译的结果没有区别
root@radxa:/usr/src/linux-3.0.36/modules/lib/modules/3.0.36+/kernel/drivers/net/wireless/rt2x00# diff rt2800usb.ko /lib/modules/3.0.36+/kernel /drivers/net/wireless/rt2x00/rt2800usb.ko