MT7620Ausb掛載問題解決

來源:互聯網
上載者:User

最近接觸openwrt,主要是做MT7620A的韌體定製化開發工作,使用https://github.com/qdk0901/openwrt-mt7620上的源碼進行編譯,感謝!遇到的一個大問題是USB的掛載問題,折騰了好長時間,把wiki裡關於usb的模組看了好幾遍,最後還是通過修改源碼的方式解決了問題。方法如下:

修改:target/linux/ramips/dts/mt7620a.dtsi檔案,將裡面

ohci@101c1000 {                compatible = "ralink,rt3xxx-ohci";                reg = <0x101c1000 0x1000>;                interrupt-parent = <&intc>;                interrupts = <18>;                #status = "disabled";        };
的status = "disabled"注釋掉即可(前提當然是把需要的核心選項都已經選上了)。

從這個dtsi檔案來看,MT7620A預設不編譯ohci,因此無法掛載USB 1.1(貌似u盤都給識別成USB1.1了?),這樣即使在menuconfig裡選擇了編譯也是無用的。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.