Hi,
I noticed that with the latest release from F+S (2024.01) the imx tty handling changed. I now get a (maybe) kernel message very often when I run a special UART communication (9 Bit (Mark/Space Parity)) (see also [0]:
All bds consumed,restart now.
In my case the UART communication is fine and I can send and receive data. But the kernel log is flooded with the message (see [1]).
I already found a post about the issue under [3]. I then checked the F+S Kernel sources and noticed that the changes from [3] are already applied to the kernel of F+S (5.15).
But because [3] advise changes for kernel version "6.1" I compiled and run the upstream linux kernel 6.11 and where able to run the uart example program without any kernel message (see [2]).
Is this a serious issue or is it easy to fix?
Best regards.
Maik
[0]:
# ./serial_gateway
imx-sdma 20ec000.sdma: All bds consumed,restart now.
ADR: 0x02
LEN: 0x1C
DATA: 0x02 0x1C 0x00 0x01 0x0A 0x04 0x04 0x00 0xB7 0x6A 0x61 0x6E 0x2E 0x20 0x32 0x33 0x20 0x32 0x30 0x32 0x30 0x31 0x33 0x3A 0x30 0x35 0x3A 0x35 0x35 0x5D
[1]:
# uname -r
5.15.131-F+S
# dmesg | grep -i sdma
imx-sdma 20ec000.sdma: alloc bd from iram.
imx-sdma 20ec000.sdma: firmware found.
imx-sdma 20ec000.sdma: loaded firmware 3.6
imx-sdma 20ec000.sdma: All bds consumed,restart now.
imx-sdma 20ec000.sdma: All bds consumed,restart now.
imx-sdma 20ec000.sdma: All bds consumed,restart now.
imx-sdma 20ec000.sdma: All bds consumed,restart now.
imx-sdma 20ec000.sdma: All bds consumed,restart now.
imx-sdma 20ec000.sdma: All bds consumed,restart now.
imx-sdma 20ec000.sdma: All bds consumed,restart now.
…
[2]:
# uname -r
6.11.0-rc4-F+S+
# dmesg | grep -i sdma
imx-sdma 20ec000.sdma: alloc bd from iram.
imx-sdma 20ec000.sdma: loaded firmware 3.6
[3]: