Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/TDA2SX: Unable to access pmic from u-boot.

$
0
0

Part Number:TDA2SX

Tool/software: Linux

Hi,

                   we are working on a custom board based on tda2sx.We are unable to access i2c devices from u-boot. For example we have attached a pmic tps659039 to i2c bus 0.When i try to read the i2c device (adress 0x58) it times out.This is the log:

U-Boot SPL 2016.05 (Jun 19 2019 - 18:28:02)
DRA752-GP ES2.0
Timed out in wait_for_bb: status=1000
Timed out in wait_for_bb: status=1000
Timed out in wait_for_bb: status=1000
tps65903x: could not set LDO1 voltage.
Trying to boot from MMC1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05 (Jun 19 2019 - 18:28:02 +0530)

CPU  : DRA752-GP ES2.0
Model: TI DRA742
Board: DRA74x EVM REV <NULL>
DRAM:  1 GiB
NAND:  0 MiB
MMC:   Timed out in wait_for_bb: status=1000
Timed out in wait_for_bb: status=1000
Timed out in wait_for_bb: status=1000
pcf8575_i2c_write_le16 i2c write failed to addr 21
OMAP SD/MMC: 0, OMAP SD/MMC: 1
Timed out in wait_for_bb: status=1000
tps65903x: could not set LDO1 voltage.
Timed out in wait_for_bb: status=1000
pcf8575_i2c_write_le16 i2c write failed to addr 21
Timed out in wait_for_bb: status=1000
pcf8575_i2c_write_le16 i2c write failed to addr 21
Timed out in wait_for_bb: status=1000
tps65903x: could not set LDO1 voltage.
Warning: fastboot.board_rev: unknown board revision
Timed out in wait_for_bb: status=1000
tps65903x: could not set LDO1 voltage.
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'

at arch/arm/cpu/armv7/omap-common/utils.c:195/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:   Could not get PHY for ethernet@48484000: addr 2
eth0: ethernet@48484000
Hit any key to stop autoboot:  0
=> i2c probe 0
Unknown command 'i2c' - try 'help'
=> i2c probe 0
No I2C bus selected
=> i2c dev 0
Setting bus to 0
=> i2c bus 0
Bus 0:  i2c@48070000  (active 0)
   21: gpio@21, offset len 1, flags 0
   58: generic_58, offset len 1, flags 0
=> i2c probe 0
Valid chip addresses:
=> i2c probe 0x58
Valid chip addresses:Timed out in wait_for_bb: status=1000

I tried to probe the i2c1 line,I was also not able to see any clock.What could be the issue?

These are my pin mux files:

dra7-evm-dts:

(Please visit the site to view this file)

mux_data.h

.(Please visit the site to view this file)

evm.c:

(Please visit the site to view this file)

Regards,

Murugan S


Viewing all articles
Browse latest Browse all 262198

Trending Articles