FrontPage 

Fuego 1.1 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.
backlink

Fuego Issues List

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