From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 11 Nov 2016 11:05:36 -0500 Subject: [U-Boot] [PATCH] board: am335x/mux: Do not hang when encountering a bad EEPROM In-Reply-To: <1478666924-21599-1-git-send-email-mr.nuke.me@gmail.com> References: <1478666924-21599-1-git-send-email-mr.nuke.me@gmail.com> Message-ID: <20161111160536.GC27304@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 08, 2016 at 08:48:44PM -0800, Alexandru Gagniuc wrote: > In most cases, the SPL and u-boot.img will be on the same boot media. > Since the SPL was loaded by the boot rom, the pinmux will already have > been configured for this media. This, the board will still be able to > boot successfully, or at least reach the u-boot console, where more > recovery options are available. > > I've encountered this on a beaglebone black with a corrupted EEPROM. > Removing this check allowed the board to boot successfully. I've also > seen this on EVM-based boards with an unprogrammed EEPROM. On those > boards, for some reason there were no UART messages. This made it look > as if the SOC was dead. > > Remove the hang(), as it is not a fatal error. Also reformat the error > message to be clearer as to the cause. The original message made it > appear as if the wrong binary was being loaded. > > Signed-off-by: Alexandru Gagniuc Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: