[U-Boot] am335x: i2c: bus 2 issue
Ilya Ledvich
ilya at compulab.co.il
Wed Mar 26 12:10:57 CET 2014
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.
More information about the U-Boot
mailing list