algebro
Posts: 5
Joined: Tue Aug 13, 2019 2:56 pm

Raspberry Pi 4 Serial/UART text out-of-order

Wed Aug 14, 2019 2:57 pm

Hey all,

I got a serial connection working over UART on my Pi 4, and the text is all printable using 115200 baud, but the text is all jumbled and out of order. I remember there being similar issues related to the clock speed in the Pi 3, but I'm wondering if anyone has had to make similar adjustments on the Pi 4. Does anyone have any suggestions on what to try?

Thanks!

User avatar
rpiMike
Posts: 1389
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: Raspberry Pi 4 Serial/UART text out-of-order

Wed Aug 14, 2019 3:01 pm

Is your Raspbian Buster fully updated? There was a bug fix for baud rate on the Pi4.

algebro
Posts: 5
Joined: Tue Aug 13, 2019 2:56 pm

Re: Raspberry Pi 4 Serial/UART text out-of-order

Wed Aug 14, 2019 3:03 pm

I'm running Kali ARM currently, can you tell me exactly which package has the bug fix? I'll see if I can install it there or cherrypick the patch for the Kali project. Thanks!

algebro
Posts: 5
Joined: Tue Aug 13, 2019 2:56 pm

Re: Raspberry Pi 4 Serial/UART text out-of-order

Mon Aug 19, 2019 5:57 pm

Going to bump this thread since this issue is becoming somewhat urgent

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspberry Pi 4 Serial/UART text out-of-order

Mon Aug 19, 2019 6:46 pm

algebro wrote:
Mon Aug 19, 2019 5:57 pm
Going to bump this thread since this issue is becoming somewhat urgent


Maybe seek help from a forum that is dedicated to supporting your third-party Operating System: https://forums.kali.org/

algebro
Posts: 5
Joined: Tue Aug 13, 2019 2:56 pm

Re: Raspberry Pi 4 Serial/UART text out-of-order

Mon Aug 19, 2019 7:00 pm

Maybe seek help from a forum that is dedicated to supporting your third-party Operating System: https://forums.kali.org/
See my question above about which project/commit within Raspbian contained the Baud rate fixes. Has nothing to do with Kali and is perfectly appropriate for this forum.

User avatar
DougieLawson
Posts: 39182
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Raspberry Pi 4 Serial/UART text out-of-order

Mon Aug 19, 2019 8:30 pm

Are you able to run sudo rpi-update on Kali?

That will get you 4.19.66 which will include the UART clock rate fixes.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

algebro
Posts: 5
Joined: Tue Aug 13, 2019 2:56 pm

Re: Raspberry Pi 4 Serial/UART text out-of-order

Mon Aug 19, 2019 8:50 pm

Are you able to run sudo rpi-update on Kali?

That will get you 4.19.66 which will include the UART clock rate fixes.
kali doesn't ship with rpi-update, but having the kernel version number with the fix is enough to help the kali maintainers pull the correct updates from upstream. Thanks a lot for your help!

Return to “Troubleshooting”