public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] am335x: i2c: bus 2 issue
@ 2014-03-26 11:10 Ilya Ledvich
  2014-03-26 12:00 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Ilya Ledvich @ 2014-03-26 11:10 UTC (permalink / raw)
  To: u-boot

Hello,
Recently I've found a problem with I2C bus 2 on AM335X based devices.
Executing the command "i2c dev 2" in the u-boot CLI causes CPU reset.
The issue is found on v2013.10, v2014.01 and v2014.04-rc1 and appears
on BeagleBone and CM-T335 devices.
Please see the log taken from BeagleBone:

U-Boot SPL 2014.01 (Mar 26 2014 - 10:13:48)
No AC power, disabling frequency switch
reading args
spl: error reading image args, err - -1
reading u-boot.img
reading u-boot.img

U-Boot 2014.01 (Mar 26 2014 - 10:13:48)

I2C:   ready
DRAM:  256 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC

cpsw, usb_ether

Hit any key to stop autoboot:  0

mmc0 is current device

SD/MMC found on device 0

reading uEnv.txt

** Unable to read file uEnv.txt **

** File not found /boot/zImage **

Card did not respond to voltage select!

mmc1(part 0) is current device

Card did not respond to voltage select!

Booting from nand ...

no devices available

no devices available
Bad Linux ARM zImage magic!
U-Boot#
U-Boot# i2c dev 0
Setting bus to 0
U-Boot# i2c dev 1
Setting bus to 1
U-Boot# i2c dev 2
Setting bus to 2
data abort

     MAYBE you should read doc/README.arm-unaligned-accesses

pc : [<8f769b58>]          lr : [<8f769b34>]
sp : 8f62ddb0  ip : 00b41640     fp : 00000000
r10: 00000003  r9 : 8f62df28     r8 : 00000036
r7 : 00000001  r6 : 000186a0     r5 : 4819c000  r4 : 8f7a35f4
r3 : 00000000  r2 : 0000004b     r1 : 00030d40  r0 : 0000003c
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

Best regards,
Ilya.

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

* [U-Boot] am335x: i2c: bus 2 issue
  2014-03-26 11:10 [U-Boot] am335x: i2c: bus 2 issue Ilya Ledvich
@ 2014-03-26 12:00 ` Tom Rini
  2014-03-27  7:37   ` Ilya Ledvich
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2014-03-26 12:00 UTC (permalink / raw)
  To: u-boot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/26/2014 07:10 AM, Ilya Ledvich wrote:

> Hello, Recently I've found a problem with I2C bus 2 on AM335X based
> devices. Executing the command "i2c dev 2" in the u-boot CLI causes
> CPU reset. The issue is found on v2013.10, v2014.01 and
> v2014.04-rc1 and appears on BeagleBone and CM-T335 devices. Please
> see the log taken from BeagleBone:

The clocks aren't being enabled for i2c2 and at least on
beaglebone/etc neither is the pinmux, just i2c0/i2c1.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTMsFrAAoJENk4IS6UOR1WNXsP/Rz9tLZbw91SBfSVWrf6Fjvk
hQf5OS6zYPAbPXO9L81ZeARXPsNmsC5tn7UANrr+AFwTw+7nUKjALNu5bygE4JRy
QxSn8JHaMounLgXy1Gp5VLQYY0dqqq6C8EuLCWbYsg8l0fIdciJae4br8+pHYcnh
/4wLigMuP4hbihLw7Zx3BYofgzlM/KNqF/Csrqy/UXPn9vKVzyimZRAOdSeLrEkP
rEO1In5s1hu6QkGepIb1pwIOdDYYZKJnAhhHFPZdb8U/sYFr5znEV6KtFQk3MrKy
QpUC4H0mdl1u87C+z071OX63Ubiclve455CGA94JtFoBAMLJIXGrY7mgu9o+Invz
a4lrfbrLeduhPtTpMO3ht0k833as/ok7jSgdz4xtzI8r5SoJOb9cO3Oj/gtFhbwu
29DWSGCfQWjWNspMncTbH9bcb/aXOjbRPbyYiv5af5hY0qIexi2Zn1cnPvsst+qh
SCZda5DSRbc9sGLl/xVhWoWfe6eFFUZbDD40RQk9LI6oQdYWeJp/MdCVhg8ukQwo
lJgUIyadbGG/HQ6hcZtapErhXRpBSB1nvc4t4UDihMFBbMZe5Q1O75mF0xbKe2xi
aH/rnrYomSBmnChm+3DVatheSLill06x01gExGfqySQHhm+ASBKltVmR3pjpLf9/
seu0MaggJ+KimuhOLSYL
=1b6v
-----END PGP SIGNATURE-----

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

* [U-Boot] am335x: i2c: bus 2 issue
  2014-03-26 12:00 ` Tom Rini
@ 2014-03-27  7:37   ` Ilya Ledvich
  0 siblings, 0 replies; 3+ messages in thread
From: Ilya Ledvich @ 2014-03-27  7:37 UTC (permalink / raw)
  To: u-boot

On 03/26/2014 02:00 PM, Tom Rini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/26/2014 07:10 AM, Ilya Ledvich wrote:
>
>> Hello, Recently I've found a problem with I2C bus 2 on AM335X based
>> devices. Executing the command "i2c dev 2" in the u-boot CLI causes
>> CPU reset. The issue is found on v2013.10, v2014.01 and
>> v2014.04-rc1 and appears on BeagleBone and CM-T335 devices. Please
>> see the log taken from BeagleBone:
>
> The clocks aren't being enabled for i2c2 and at least on
> beaglebone/etc neither is the pinmux, just i2c0/i2c1.
Thank you for the input, Tom!
>
> - --
> Tom
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJTMsFrAAoJENk4IS6UOR1WNXsP/Rz9tLZbw91SBfSVWrf6Fjvk
> hQf5OS6zYPAbPXO9L81ZeARXPsNmsC5tn7UANrr+AFwTw+7nUKjALNu5bygE4JRy
> QxSn8JHaMounLgXy1Gp5VLQYY0dqqq6C8EuLCWbYsg8l0fIdciJae4br8+pHYcnh
> /4wLigMuP4hbihLw7Zx3BYofgzlM/KNqF/Csrqy/UXPn9vKVzyimZRAOdSeLrEkP
> rEO1In5s1hu6QkGepIb1pwIOdDYYZKJnAhhHFPZdb8U/sYFr5znEV6KtFQk3MrKy
> QpUC4H0mdl1u87C+z071OX63Ubiclve455CGA94JtFoBAMLJIXGrY7mgu9o+Invz
> a4lrfbrLeduhPtTpMO3ht0k833as/ok7jSgdz4xtzI8r5SoJOb9cO3Oj/gtFhbwu
> 29DWSGCfQWjWNspMncTbH9bcb/aXOjbRPbyYiv5af5hY0qIexi2Zn1cnPvsst+qh
> SCZda5DSRbc9sGLl/xVhWoWfe6eFFUZbDD40RQk9LI6oQdYWeJp/MdCVhg8ukQwo
> lJgUIyadbGG/HQ6hcZtapErhXRpBSB1nvc4t4UDihMFBbMZe5Q1O75mF0xbKe2xi
> aH/rnrYomSBmnChm+3DVatheSLill06x01gExGfqySQHhm+ASBKltVmR3pjpLf9/
> seu0MaggJ+KimuhOLSYL
> =1b6v
> -----END PGP SIGNATURE-----
>

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

end of thread, other threads:[~2014-03-27  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 11:10 [U-Boot] am335x: i2c: bus 2 issue Ilya Ledvich
2014-03-26 12:00 ` Tom Rini
2014-03-27  7:37   ` Ilya Ledvich

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