public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-Boot warnings on Nokia N900
@ 2015-01-15  9:07 Pali Rohár
  2015-01-15  9:18 ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2015-01-15  9:07 UTC (permalink / raw)
  To: u-boot

Hello,

when starting U-Boot (from git master) on Nokia N900 it show lot 
of these lines on N900 screen:

Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus 1 are properly configured
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus 1 are properly configured
...
i2c_read (addr phase): pads on bus 1 probably not configured 
(status=0x10)
i2c_write: timeout writing last byte!

But booting linux kernel working without problem. What above 
warning messages means? They were not in U-Boot 2013.04 version.

-- 
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150115/187d478b/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-Boot warnings on Nokia N900
  2015-01-15  9:07 [U-Boot] U-Boot warnings on Nokia N900 Pali Rohár
@ 2015-01-15  9:18 ` Pali Rohár
  2015-01-20 21:37   ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2015-01-15  9:18 UTC (permalink / raw)
  To: u-boot

On Thursday 15 January 2015 10:07:05 Pali Roh?r wrote:
> Hello,
> 
> when starting U-Boot (from git master) on Nokia N900 it show
> lot of these lines on N900 screen:
> 
> Timed out in wait_for_event: status=0000
> Check if pads/pull-ups of bus 1 are properly configured
> Timed out in wait_for_event: status=0000
> Check if pads/pull-ups of bus 1 are properly configured
> ...
> i2c_read (addr phase): pads on bus 1 probably not configured
> (status=0x10)
> i2c_write: timeout writing last byte!
> 
> But booting linux kernel working without problem. What above
> warning messages means? They were not in U-Boot 2013.04
> version.

Ok, these warning/error lines are generated by this code:

	/* reset lp5523 led */
	i2c_set_bus_num(1);
	state = 0xff;
	i2c_write(0x32, 0x3d, 1, &state, 1);
	i2c_set_bus_num(0);

in function misc_init_r() in file board/nokia/rx51/rx51.c

Above code worked fine in U-Boot 2013.04 and now in U-Boot from 
git master it generates warnings/errors. Why?

-- 
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150115/bd4980ad/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-Boot warnings on Nokia N900
  2015-01-15  9:18 ` Pali Rohár
@ 2015-01-20 21:37   ` Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2015-01-20 21:37 UTC (permalink / raw)
  To: u-boot

On Thu, Jan 15, 2015 at 10:18:01AM +0100, Pali Roh?r wrote:
> On Thursday 15 January 2015 10:07:05 Pali Roh?r wrote:
> > Hello,
> > 
> > when starting U-Boot (from git master) on Nokia N900 it show
> > lot of these lines on N900 screen:
> > 
> > Timed out in wait_for_event: status=0000
> > Check if pads/pull-ups of bus 1 are properly configured
> > Timed out in wait_for_event: status=0000
> > Check if pads/pull-ups of bus 1 are properly configured
> > ...
> > i2c_read (addr phase): pads on bus 1 probably not configured
> > (status=0x10)
> > i2c_write: timeout writing last byte!
> > 
> > But booting linux kernel working without problem. What above
> > warning messages means? They were not in U-Boot 2013.04
> > version.
> 
> Ok, these warning/error lines are generated by this code:
> 
> 	/* reset lp5523 led */
> 	i2c_set_bus_num(1);
> 	state = 0xff;
> 	i2c_write(0x32, 0x3d, 1, &state, 1);
> 	i2c_set_bus_num(0);
> 
> in function misc_init_r() in file board/nokia/rx51/rx51.c
> 
> Above code worked fine in U-Boot 2013.04 and now in U-Boot from 
> git master it generates warnings/errors. Why?

Sadly I think you'll have to git bisect to see just when things changed.
This area of code is a bit finicky to say the least.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150120/aff4f43c/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-20 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15  9:07 [U-Boot] U-Boot warnings on Nokia N900 Pali Rohár
2015-01-15  9:18 ` Pali Rohár
2015-01-20 21:37   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox