[OpenWrt-Devel] Porting OpenWRT to a MediaTek MT7688

Marc Nicholas marc at wimoto.com
Thu Jun 4 12:40:52 EDT 2015


Tom,

Feel free to reach out to me privately…..I’ve gone through a lot of pain with this platform already and can likely ease [some of] yours :D

-m

-- 
Marc Nicholas
CTO, Wimoto Technologies Inc.
Unit 2, 300 Don Park Road, Markham, Ontario L3R 3A1 CANADA
+1.416.414.6272

On June 4, 2015 at 12:37:59 PM, John Crispin (blogic at openwrt.org) wrote:

Hi,  

there is no wifi support fro mt7688 yet. please post your other patches  
though.  

John  

On 04/06/2015 18:06, Thomas David Paynter wrote:  
> Hello All,  
>  
> This is my first post to the list so please let me know if I'm not  
> following list etiquette.  
>  
> I'm currently working on porting OpenWRT to a MediaTek MT7688, this is  
> essentially the same thing as the MT7628 so there is already reasonable  
> support for this. I have managed to get OpenWRT up and running with  
> minimal changes, and most stuff seems to be working fine. But I am stuck  
> on the WiFi driver.  
>  
> I have selected the various combinations of:  
> kmod-rt2x....  
> options in the Kernel modules->Wireless Drivers menu.  
>  
> And as expected compat-wireless has appeared in my build directory and  
> is being build.  
>  
> Also when the kernel boots I now see a block of cfg80211: .... messages.  
>  
> I have added the following entry to my device tree as this is what  
> worked for the rt5350 when I was working on this:  
> wmac at 10180000 {  
> compatible = "ralink,rt2880-wmac";  
> reg = <0x10180000 40000>;  
> interrupt-parent = <&cpuintc>;  
> interrupts = <6>;  
> ralink,eeprom = "soc_wmac.eeprom";  
> };  
>  
> The compatible string matches the one in rt2x00soc.c  
>  
> I then added printk statements to all of the init and probe methods in  
> following compat-wireless files:  
> openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/compat-wireless-2015-03-09/drivers/net/wireless/rt2x00/rt2x00soc.c  
> openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/compat-wireless-2015-03-09/drivers/net/wireless/rt2x00/rt2800soc.c  
> openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/compat-wireless-2015-03-09/drivers/net/wireless/rt2x00/rt2800pci.c  
> openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/compat-wireless-2015-03-09/drivers/net/wireless/rt2x00/rt2500pci.c  
>  
> I was expecting to see these get called as the kernel tried to setup the  
> wireless, but none of them seem to get called.  
> Is there a step that I'm missing?  
> What are the basic steps that take place when the kernel is trying to  
> find wireless drivers?  
>  
> I'm not certain that these drivers will work for this SoC but if I can  
> get to a stage where I can see it failing I should be able to adapt one  
> of them to work.  
>  
> I'm quite new to Linux wireless drivers, so I was hoping that someone  
> would be able to point me in the right direction.  
>  
> Thanks for your time,  
> Tom  
>  
> _______________________________________________  
> openwrt-devel mailing list  
> openwrt-devel at lists.openwrt.org  
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel  
>  
_______________________________________________  
openwrt-devel mailing list  
openwrt-devel at lists.openwrt.org  
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150604/c6575d4c/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list