#17249: RB750UP: Trouble with various USB modems (E3276 E173 E220 K3715)
----------------------+-------------------------------------------
  Reporter:  raver@…  |      Owner:  developers
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:
 Component:  kernel   |    Version:  Trunk
Resolution:           |   Keywords:  rb750up e3276 e173 e220 k3715
----------------------+-------------------------------------------

Comment (by raver@…):

 Forgot to mention I made these changes in order to get RB750UP working and
 enable USB support.

 {{{
 Index: target/linux/ar71xx/Makefile
 ===================================================================
 --- target/linux/ar71xx/Makefile        (revision 41815)
 +++ target/linux/ar71xx/Makefile        (working copy)
 @@ -10,7 +10,7 @@
  BOARD:=ar71xx
  BOARDNAME:=Atheros AR7xxx/AR9xxx
  FEATURES:=mips16
 -CPU_TYPE=34kc
 +CPU_TYPE=24kc
  SUBTARGETS:=generic nand mikrotik

  LINUX_VERSION:=3.10.49
 Index: target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
 ===================================================================
 --- target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c      (revision
 41815)
 +++ target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c      (working
 copy)
 @@ -169,6 +169,9 @@
         rb750_nand_data.disable_pins = rb750_nand_disable_pins;
         rb750_nand_data.latch_change = rb750_latch_change;
         platform_device_register(&rb750_nand_device);
 +
 +       /* USB port on 750UP */
 +       ath79_register_usb();
  }

  MIPS_MACHINE(ATH79_MACH_RB_750, "750i", "MikroTik RouterBOARD 750",
 Index: target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-
 machines.patch
 ===================================================================
 --- target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-machines.patch
 (revision 41815)
 +++ target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-machines.patch
 (working copy)
 @@ -1153,12 +1153,13 @@
  +obj-$(CONFIG_ATH79_MACH_CARAMBOLA2)   += mach-carambola2.o
  --- a/arch/mips/ath79/prom.c
  +++ b/arch/mips/ath79/prom.c
 -@@ -180,6 +180,12 @@ void __init prom_init(void)
 +@@ -180,6 +180,13 @@ void __init prom_init(void)
                         ath79_prom_append_cmdline("board", env);
                 }
         }
  +
  +      if (strstr(arcs_cmdline, "board=750Gr3") ||
 ++          strstr(arcs_cmdline, "board=750i") ||
  +          strstr(arcs_cmdline, "board=951G") ||
  +          strstr(arcs_cmdline, "board=2011L") ||
  +          strstr(arcs_cmdline, "board=711Gr100"))
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/17249#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to