[U-Boot] i.Mx6q u-boot stuck
Fabio Estevam
festevam at gmail.com
Mon Apr 10 14:45:54 UTC 2017
Hi Fausto,
On Mon, Apr 10, 2017 at 7:54 AM, Fausto Sessego
<fausto.sessego at infomob.it> wrote:
> Hi,
>
> i have a problem with my custom board.
>
>
>
> I created my custom u-boot and, now, i would like load automatically the
> kernel by CONFIG_BOOTCOMMAND.
>
>
>
> #define CONFIG_BOOTCOMMAND \
>
> "mmc dev ${mmcdev};" \
>
> "if mmc rescan; then " \
>
> "echo test1; " \
>
> "else echo test2; fi; "
>
>
>
> Because i have the "if" condition, i enabled the CONFIG_HUSH_PARSER=y into
> deconf file.
>
> Adding this CONFIG, the u-boot stuck
CONFIG_HUSH_PARSER=y is enabled in many mx6 boards without issues.
It is difficult to see what is wrong without seeing your patch adding
the support for your board.
Make sure you are using the latest U-Boot code and check what other
mx6 boards are doing.
More information about the U-Boot
mailing list