Skip to contentSkip to conversation

U-Boot warnings on Nokia N900

U-Boot Pali Rohár 2 participants 3 messages Jan 15, 2015 – Jan 20, 2015

lore
Share & tools
lore
#0 lore raw

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.

Signature · 9 lines
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>
#1 lore raw
Quoted 14 lines · 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!

Quoted 3 lines

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?

Signature · 9 lines
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>
#2 lore raw
Quoted 27 lines · Pali Roh?r
Quoted 14 lines · 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!

Quoted 3 lines

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);
Quoted 4 lines

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.

Signature · 8 lines
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>