glinet mt2500: Trying to make usb work #109
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
I'm trying to make USB work on my glinet's mt2500.
I've enabled the required drivers, and added to the DTS files some missing nodes for the USB (I made this looking at my kernel DTS files where usb works. although I have to update the clock names to match the ones in u-boot code).
Although when I execute 'usb start' I see some noise on the serial line and the uboot hangs with no error.
Also the gpio 12 I'm configuring on mt7981-glinet-gl-mt2500.dts does not appear to be claimed when I run 'gpio status'.
I tried configuring it manually ('gpio clear 12; gpio set 12) and this causes the led in the pendrive to turn on. But then the uboot hangs anyway when I try to start the usb.
I have no idea on how to debug this, could you give me some advice please?
Thanks in advance