From patchwork Wed Apr 25 17:36:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Meerwald-Stadler X-Patchwork-Id: 155047 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id B2A43B6FC4 for ; Thu, 26 Apr 2012 03:45:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E61BF282F7; Wed, 25 Apr 2012 19:45:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QDU7yIl+4kGn; Wed, 25 Apr 2012 19:45:45 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8FCFE282F9; Wed, 25 Apr 2012 19:45:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A695B282F7 for ; Wed, 25 Apr 2012 19:45:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5DGHzyElLscu for ; Wed, 25 Apr 2012 19:45:28 +0200 (CEST) X-Greylist: delayed 509 seconds by postgrey-1.27 at theia; Wed, 25 Apr 2012 19:45:24 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from pmeerw.net (ns.pmeerw.net [87.118.82.44]) by theia.denx.de (Postfix) with ESMTPS id B2CF3282F5 for ; Wed, 25 Apr 2012 19:45:24 +0200 (CEST) Received: from localhost.localdomain (195-70-114-97.stat.salzburg-online.at [195.70.114.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pmeerw) by pmeerw.net (Postfix) with ESMTPSA id 0BDA768D0001; Wed, 25 Apr 2012 19:36:54 +0200 (CEST) From: Peter Meerwald To: u-boot@lists.denx.de Date: Wed, 25 Apr 2012 19:36:36 +0200 Message-Id: <1335375396-14101-1-git-send-email-pmeerw@pmeerw.net> X-Mailer: git-send-email 1.7.5.4 Cc: trini@ti.com, Peter Meerwald Subject: [U-Boot] [PATCH] beagle: fix 'timed out in wait_for_bb' message in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Peter Meerwald SPL boot outputs a 'timed out in wait_for_bb: IC2_STAT' message on beagle U-Boot SPL 2012.04-00020-gb8310b9-dirty (Apr 25 2012 - 18:49:57) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 timed out in wait_for_bb: I2C_STAT=1000 reading u-boot.img the reason for above message is that when booting from MMC, I2C needs (?) to be initialized as well when SPL initializes MMC (which is done in omap_hsmmc.c, mmc_board_init()) the following is called: twl4030_power_mmc_init(); in order to communicate with the twl4030, I2C is necessary, but I2C has not been initialized yet in SPL the problem can be easily fixed by #defining CONFIG_SPL_BOARD_INIT in include/configs/omap3_beagle.h tested on beagle-xm (rev. C) Signed-off-by: Peter Meerwald --- include/configs/omap3_beagle.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index ddeb414..27e51cd 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -410,6 +410,7 @@ #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 #define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" +#define CONFIG_SPL_BOARD_INIT #define CONFIG_SPL_LIBCOMMON_SUPPORT #define CONFIG_SPL_LIBDISK_SUPPORT #define CONFIG_SPL_I2C_SUPPORT