Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards/sama5d3-xplained: Fix OHCI clock. #8854

Merged
merged 1 commit into from
Mar 21, 2023
Merged

Conversation

ldube
Copy link
Contributor

@ldube ldube commented Mar 20, 2023

Choose a divider value that matches the description provided within the same header file.
Include stddef.h to fix compiler errors because NULL is not defined. Make logs print protocol, vid and pid consistently, (decimal hex hex).

Summary

fixes #8848

The board enumerates a USB driver successfully after this change.
The /dev/sda did not appear before this change.

Impact

The following log message used to print vid/pid in hex. All sama5
boards will now print vid and pid in hex. For example:
usbhost_devdesc: class:0 subclass:0 protocol:0 vid:05dc pid:c75c

Testing

mount -t vfat /dev/sda /mnt and list files on the USB drive successfully.

Choose a divider value that matches the description provided within
the same header file.
Include stddef.h to fix compiler errors because NULL is not defined.
Make logs print protocol, vid and pid consistently, (decimal hex hex).
@acassis
Copy link
Contributor

acassis commented Mar 20, 2023

Hi @ldube thank you for finding and fixing this issue! I took a look at your github and discovered your iPaq H3800 eCos port (not EcoSport hehehe). That was inspiring, maybe it could be a good device to port NuttX as well. Some years ago (16 to be exact) I installed Linux on it, there are some post here: https://acassis.wordpress.com/?s=iPaq (need to translate from Portuguese to English).

@ldube
Copy link
Contributor Author

ldube commented Mar 20, 2023

@acassis, I would like to see the iPAQ running NuttX too. If I find an excuse to do the port I will.

@acassis acassis merged commit 84a3ddd into apache:master Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OHCI controller fails to enumerate devices on sama5d3-xplained
2 participants