Got it, thanks for the information.
From: Remi Duraffort remi.duraffort@linaro.org Sent: Wednesday, April 15, 2020 4:19 PM To: Larry Shen larry.shen@nxp.com Cc: lava-users@lists.lavasoftware.org Subject: [EXT] Re: [Lava-users] Question about send delay for serial.
Caution: EXT Email Hello,
by default LAVA will send the strings without any delay between each character. Some boards are not able to handle such input and will randomly drop some characters.
When test_character_delay is used, LAVA will wait N milliseconds between each character. This is usual fixing (it's a workaround in fact) the hardware issue.
Rgds
Le jeu. 9 avr. 2020 à 04:06, Larry Shen <larry.shen@nxp.commailto:larry.shen@nxp.com> a écrit : Sometimes for some device, when lava enter “/lava-55904/bin/lava-test-runner /lava-55904/0” It looks it will print: -sh: /lava-55904/bin/lava-test-runnera-55904/0: No such file or directory
Looks some character miss.
We increases the test_character_delay, looks useful, but I’m interested about the details, so for next which you mentioned in the code: What exactly “slow serial problems(iPXE)” mean, could you explain more about it or any reference materteral I can had a look? Then I could know: yes, it’s exactly the same problem I have.
Extends pexpect.sendline so that it can support the delay argument which allows a delay
between sending each character to get around slow serial problems (iPXE). pexpect sendline does exactly the same thing: calls send for the string then os.linesep. _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.orgmailto:Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-usershttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.lavasoftware.org%2Fmailman%2Flistinfo%2Flava-users&data=02%7C01%7Clarry.shen%40nxp.com%7C977254c4e4094f279b1c08d7e115bafb%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637225355754202003&sdata=j9z4SeeXnNXzCOg3oFgLl1CI3emmyZzCOkKqtLabzxo%3D&reserved=0
-- Rémi Duraffort LAVA Architect Linaro