[U-Boot] CTRL-C hangs after "hush: fix segfault on syntax error"

Przemyslaw Marczak p.marczak at samsung.com
Thu Nov 20 17:21:28 CET 2014


Hello,

On 11/20/2014 06:21 AM, Stephen Warren wrote:
> Rabin,
>
> With 128059b926b3 "hush: fix segfault on syntax error" applied, I find
> that if I press CTRL-C at the U-Boot prompt, U-Boot hangs. If I revert
> that commit, CTRL-C works fine (prints CTRL-C and returns to the command
> prompt).
>
> I'm testing on real HW (rpi_b board), although I don't expect the exact
> HW matters. This issue doesn't reproduce with sandbox, since CTRL-C now
> seems to just execute the binary rather than being handled by U-Boot shell.
>
I can confirm this issue on Trats2. U-Boot hangs in infinite loop, but 
after revert this commit - it works well.
Using CTRL-C in commands works fine, it only hangs in the console.

It stays in: ./common/cli.c:206 (cli_loop())

Best regards,
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com


More information about the U-Boot mailing list