[U-Boot] i.Mx6q u-boot stuck

Fausto Sessego fausto.sessego at infomob.it
Mon Apr 10 15:29:28 UTC 2017


Hi Fabio,

in attachment there are my configuration files.

I started from SabreSD and i changed very minimal parts.7

Could you check if you see any error in my files?

thanks


------------------------------
*Ing. Fausto Sessego*
*R&D Hardware & Software Engineer*
info
mob
>
*Tecnologie Wireless per la logistica e la sicurezza*
<http://www.infomob.it>
*a:* Parco scientifico e tecnologico della Sardegna, Edificio 1 Loc.
Piscinamanna - 09010 Pula (CA)
<https://www.google.it/maps/place/Sardegna+Ricerche/@38.9899811,8.9280376,17z/data=!3m1!4b1!4m2!3m1!1s0x12e7274e0b4c4191:0x1a9e7f06456bbd3>
*p:* +39 070 92432952
*e:* fausto.sessego at infomob.it
*w:* www.infomob.it

2017-04-10 16:45 GMT+02:00 Fabio Estevam <festevam at gmail.com>:

> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx6board_common.h
Type: text/x-chdr
Size: 4752 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170410/f31d4ee2/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx6qboard_defconfig
Type: application/octet-stream
Size: 916 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170410/f31d4ee2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx6board.h
Type: text/x-chdr
Size: 2243 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170410/f31d4ee2/attachment-0001.h>


More information about the U-Boot mailing list