FrontPage 

Fuego wiki

Login or create account

Issue 0044 in split format

Summary
fix sersh to support busybox sh on the target board ; Owner: Tim ; Reporter: Dhinakar ; Status: open ; Priority: medium
; Summary: fix sersh to support busybox sh on the target board
; Owner: Tim
; Reporter: Dhinakar
; Status: open
; Priority: medium

Description [edit section]

= Description =
If the combination of command and prompt are too long, then sersh
does not work properly with 'busybox sh' on the target.
On the target (after installing busybox): {{{ $ /bin/busybox sh $ export PS1="root@beaglebone:busybox_sh_long_prompt $ " }}} Then on the host: {{{ $ serio-test.sh ttyACM1 }}}
On the target (after installing busybox):
{{{
$ /bin/busybox sh
$ export PS1="root@beaglebone:busybox_sh_long_prompt $ "
}}}
Then on the host:
{{{
$ serio-test.sh ttyACM1
}}}
And I got the error message: {{{#!YellowBox Doing cleanup ' ERROR: invalid literal for int() with base 10: '[ [&&serio_cmd_done&&]]' }}}
And I got the error message:
{{{#!YellowBox
Doing cleanup
'
ERROR: invalid literal for int() with base 10: '[ [&&serio_cmd_done&&]]'
}}}

Notes [edit section]

= Notes =
Note that there's a warning comment about this in the serio program source.
It appears to be something related to busybox echoing a line feed or carriage return in the middle of the response from the command that is executed by sersh.
It appears to be something related to busybox echoing a line feed or carriage
return in the middle of the response from the command that is executed by
sersh.
I think someone got this working with some stty adjustments or some settings changes to busybox (I can't remember the details). Check for messages relateing to busybox on the mailing list in Spring of 2017.
I think someone got this working with some stty adjustments or some settings changes to busybox (I can't remember the details).  Check for messages relateing to busybox on the mailing list in Spring of 2017.
backlink

Fuego Issues List

; backlink: [[Fuego Issues List]]
TBWiki engine 1.8.3 by Tim Bird