linux-serial-test: add patch to fix serial setup handling

Add patch that restores user intent in serial setup handling. Upstream
commit 77320571e63c ignores user input when RS485 was pre-configured,
breaking loopback and flow-control tests.

This patch ensures RS485 can be explicitly controlled while still
respecting pre-existing configurations when appropriate.

Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Vitor Soares
2025-10-31 15:56:13 +00:00
committed by Khem Raj
parent 8d4b8287b8
commit f514bc1e89
2 changed files with 134 additions and 0 deletions
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSES/MIT;md5=544799d0b492f119fa04641d1b8868ed"
SRC_URI = "git://github.com/cbrake/linux-serial-test.git;protocol=https;branch=master \
file://0001-linux-serial-test.c-fix-returned-error-code.patch \
file://0002-linux-serial-test.c-fix-potential-hang-in-while-loop.patch \
file://0001-Fix-serial-setup-handling-to-respect-user-intent.patch \
"
PV = "0+git"
SRCREV = "1a81f3c7be086ee01a9be8589a606426276c86d5"