Modify

Opened 2 years ago

Last modified 23 months ago

#20499 new defect

[15.05-ramips-rt305x-dir-620-d1] Problems with installation of kmod-usb2

Reported by: asteroid56 Owned by: developers
Priority: highest Milestone:
Component: packages Version: Trunk
Keywords: usb kmod Cc:

Description

When I do:
opkg update
opkg install kmod-usb2
Router gets bricked.
Such problem was in 15 rc-3, but then I could reset my router whereupon device gets back to normal functioning.

Attachments (0)

Change History (4)

comment:1 Changed 2 years ago by asteroid56

Sorry, I've just checked with all rc-* and found out that every rc have the exact same issue. The brick, restarting does not helps.

comment:2 Changed 2 years ago by Evgeny

The same problem also occurs during installation of kmod-usb-ohci
.

opkg --verbose=4 install kmod-usb-ohci
...
Configuring kmod-usb-ohci.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-usb-ohci.postinst.

... and gets bricked

Messages in console after rebooting:

...
Please press Enter to activate this console.
[   14.210000] NET: Registered protocol family 10
[   14.230000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.260000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.280000] ohci-platform: OHCI generic platform driver
[   14.290000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[   14.300000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 1

.. then freezing up

Last edited 2 years ago by Evgeny (previous) (diff)

comment:4 Changed 23 months ago by anonymous

This patch can fix the problem:

diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index cfa0db6..0932b52 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -252,8 +252,9 @@

interrupts = <17>;

};


  • usbphy {

+ usbphy: usbphy {

compatible = "ralink,rt3352-usbphy";

+ #phy-cells = <1>;

resets = <&rstctrl 22 &rstctrl 25>;
reset-names = "host", "device";

@@ -273,6 +274,9 @@

compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;


+ phys = <&usbphy 1>;
+ phy-names = "usb";
+

interrupt-parent = <&intc>;
interrupts = <18>;


@@ -283,6 +287,9 @@

compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;


+ phys = <&usbphy 1>;
+ phy-names = "usb";
+

interrupt-parent = <&intc>;
interrupts = <18>;

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.