-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
UART1 can not be made available on CM3/CM3+ running 4.19.66 built in master branch #3312
Comments
Is anyone else noticing that the UART1 is not initializing correctly in Raspbian Buster? My team really wishes to try 4.19.66 (we've been looking at 4.14.112), but we can't consider it if UART1 can't be made available. |
The -22 error (-EINVAL) is significant, and appears to be caused by the use of the uart1-midi overlay. Try without it and confirm that the UART is functional, then close this issue and open a new one with a more accurate title. |
@pelwell Thank you for your input on this. I am no longer with my previous organization, so I don't have a CM3 or CM3+ card/daughter card test bed on which to do more work. That said, I will try do some work here to see if I can recreate this problem on a Raspberry Pi 3B, which I do have available to me. I'll let you know how that goes. If it exhibits the same problem, I'll close this issue and open a new one as you requested, with a different focus. |
I'm unable to research this issue any further at this time, because I just re-discovered that my RPi3 only has the ability to bring one of the UART TxRx pairs out onto the header, at GPIO pins 15 and 16. The scenario for this issue involves trying to use both uarts with MIDI overlays. I no longer have access to a CM3 or CM3+. I'd be thankful if someone with a CM3 or CM3+ could try to use both UARTS with the MIDI overlays in Rasbian Buster and see if the -EINVAL error still occurs, then write up a new issue if the problem can be localized to loading the MIDI overlay(s), as @pelwell described above. |
UART1 can not be made available on CM3/CM3+ running 4.19.66 built in master branch, but it works fine in 4.14.112.
I noticed this in my own Yocto build, as well as in Raspbian Buster. UART1 is not available when using the correct config.txt overlay settings. It works fine in 4.14.112 however.
UART1 should always be easily available via specifying its overlay in config.txt
Recreate steps:
Result: uart1 is functional on ttyS0. Observed:
Result: uart1 fails to register. Observed:
I expected that uart1 would work in 4.19.66 as well as it did in 4.14.112 with the same proper settings and overlays as specified in config.txt and cmdline.txt
from config.txt
cmdline.txt:
The text was updated successfully, but these errors were encountered: