From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Mon, 10 Apr 2017 11:45:54 -0300 Subject: [U-Boot] i.Mx6q u-boot stuck In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fausto, On Mon, Apr 10, 2017 at 7:54 AM, Fausto Sessego 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.