From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yegor Yefremov Date: Tue, 3 Jan 2017 11:56:40 +0100 Subject: [U-Boot] am335x board i2c_probe fails from nand boot 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 Matti, On Tue, Jan 3, 2017 at 10:26 AM, matti kaasinen wrote: > Hi! > > Would anyone have idea why spl boot fails in i2c_probe when running from > nand but not when running from mmc card or anything at all to check? > > My card is am335x based board with u-boot coming from u-boot-it v2016.05. > > Spl boot crashes when it tries to run i2c_probe getting timeout in > omap24.._i2c.c/wait_for_event() function. Boot enters wait_for_event() only > once, if spl boot is coming from nand and exiting with: > "Timed out in wait_for_event: status=0000 > Check if pads/pull-ups of bus are properly configured", > > However, if spl comes from mmc card, everything goes well, wait_for_event > is executed tens of times without problem. > > All help very well appreciated!! What PMIC are you using? Yegor