summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-test/linux-serial-test
Commit message (Collapse)AuthorAgeFilesLines
* linux-serial-test: remove upstreamed patches and bump SRCREVVitor Soares2025-11-074-261/+2
| | | | | | | | | | | | | | | | | | | | Remove patches that have been integrated upstream: - Serial setup handling respecting user intent - POSIX-compliant termios baud rate configuration - Type safety and error handling improvements $ git --no-pager log --oneline 1a81f3c7be08..e3461097252e e3461097252e Merge pull request #61 from MaxKrummenacher/master 988deaad893b Merge pull request #69 from ivitro/fix/termios-use-cfset-speed 03aae5517cda Merge pull request #68 from ivitro/fix-serial-setup-handling e124c19e97e9 Fix -Wstringop-overflow warning in process_write_data 363f569a531f Use cfsetispeed/cfsetospeed for baud configuration 9012c3366433 Fix serial setup handling to respect user intent 8a8aba302529 linux-serial-test.c: fix potential hang in while loop 8a5709984363 linux-serial-test.c: fix returned error code Signed-off-by: Vitor Soares <vitor.soares@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-serial-test: add patch to fix serial setup handlingVitor Soares2025-10-312-0/+134
| | | | | | | | | | | | 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>
* linux-serial-test: add patch to fix potential hang in while loopEmanuele Ghidoli2025-10-172-0/+61
| | | | | | | | | | After commit 392f0f0ea76d ("linux-serial-test: Bump SRCREV to allow CMake 4+ compatibility"), an infinite while loop can occur even when the timeout has been reached. This patch fixes that regression. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-serial-test: add patch to fix returned error codeEmanuele Ghidoli2025-10-172-1/+65
| | | | | | | | | | | After commit 392f0f0ea76d ("linux-serial-test: Bump SRCREV to allow CMake 4+ compatibility"), the behavior of linux-serial-test changed: it now returns 125 instead of 0 when the number of read characters differs from the written ones. This patch fixes that regression. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-serial-test: Bump SRCREV to allow CMake 4+ compatibilityAlper Ak2025-07-111-2/+1
| | | | | | | | | | | | | | | | | | | Fix: | CMake Error at CMakeLists.txt:4 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | to tell CMake that the project requires at least <min> but has been updated | to work with policies introduced by <max> or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-serial-test: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN statusAlexandre Truong2024-08-091-0/+3
| | | | | | | | | | When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears. On the upstream source repository, releases are not identified by tags. So, UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: drop ${SRCPV} usageMartin Jansa2024-02-091-1/+1
| | | | | | | | | | * Drop SRCPV similarly like oe-core did in: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872 * SRCPV is deferred now from PV to PKGV since: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* linux-serial-test: Update to latest git revisionMarek Vasut2023-07-081-1/+1
| | | | | | | Update the recipe to latest git revision to pull in latest fixes. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-serial-test: add recipeJan Luebbe2023-02-151-0/+13
This is a collection of tests for serial ports and their drivers. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>