Hi, after struggling from 3.8.x kernel to 3.14.x kernel for my bbb I finally had to realize, that the source I have for my UWN200 WLan USB adapter (driver MT7601USTA) doesn't compile with it. I pulled the source of the driver from https://github.com/rcn-ee/mt7601u.git
It stops compiling with this error CC [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../mac/ral_omac.o CC [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/rt_usb_util.o /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_autopm_put_interface’: /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/rt_usb_util.c:120:7: warning: unused variable ‘pm_usage_cnt’ [-Wunused-variable] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_autopm_get_interface’: /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/rt_usb_util.c:151:7: warning: unused variable ‘pm_usage_cnt’ [-Wunused-variable] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/rt_usb_util.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] CC [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/usb_main_dev.o /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_suspend’: /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/usb_main_dev.c:394:21: warning: unused variable ‘net_dev’ [-Wunused-variable] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/usb_main_dev.c: In function ‘rt2870_resume’: /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../os/linux/usb_main_dev.c:450:21: warning: unused variable ‘net_dev’ [-Wunused-variable] CC [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../common/rtusb_dev_id.o CC [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../common/frq_cal.o /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../common/frq_cal.c: In function ‘InitFrequencyCalibration’: /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../common/frq_cal.c:88:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘ULONG’ [-Wformat] /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../common/frq_cal.c: In function ‘FrequencyCalibrationMode’: /root/SYSSoftware/rcn/mt7601u/src/os/linux/../../common/frq_cal.c:130:9: warning: unused variable ‘PreRFValue’ [-Wunused-variable] LD [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/mt7601Usta.o Building modules, stage 2. MODPOST 1 modules CC /root/SYSSoftware/rcn/mt7601u/src/os/linux/mt7601Usta.mod.o LD [M] /root/SYSSoftware/rcn/mt7601u/src/os/linux/mt7601Usta.ko make[1]: Leaving directory `/usr/src/Linux/bb-kernel-3.14.x/linux' cp -f /root/SYSSoftware/rcn/mt7601u/src/os/linux/mt7601Usta.ko /tftpboot 2>/dev/null || : make -C /root/SYSSoftware/rcn/mt7601u/src/os/linux -f Makefile.6 install mkdir: cannot create directory ‘/etc/Wireless’: File exists make[1]: Entering directory `/root/SYSSoftware/rcn/mt7601u/src/os/linux' rm -rf /etc/Wireless/RT2870STA mkdir /etc/Wireless/RT2870STA cp /root/SYSSoftware/rcn/mt7601u/src/RT2870STA.dat /etc/Wireless/RT2870STA/. install -d /lib/modules/3.14.19/kernel/drivers/net/wireless/ install -m 644 -c mt7601Usta.ko /lib/modules/3.14.19/kernel/drivers/net/wireless/ !!! /sbin/depmod -a 3.14.19 !!! depmod: ERROR: Module 'hci_vhci' has devname (vhci) but lacks major and minor information. Ignoring. !!! make[1]: Leaving directory `/root/SYSSoftware/rcn/mt7601u/src/os/linux' The kernel source is beagleboneblack:bb-kernel-3.14.x/linux>make kernelversion kernelrelease 3.14.19 3.14.19+ The source is pulled from https://github.com/beagleboard/linux.git Does anyone successfully compile this driver for the 3.14.19+-Kernel (or compatible) ? Where can I get valid source for it? Thank you very much in advance for any help! Best regards, mcc -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
