Hi All,
I’m trying to enable I2C6, but when i try to md 0x7000D100 (I2C base @) from u-boot it hangs !!!
From the linux CLI, i get the following messages, and no activity is visible on the I2C6
root@tegra-ubuntu:/home/ubuntu# i2cdetect 5
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5.
I will probe address range 0x03-0x77.
Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: [ 539.530227] tegra-i2c tegra12-i2c.5: — register dump for debugging ----
[ 539.546743] tegra-i2c tegra12-i2c.5: I2C_CNFG - 0x2c00
[ 539.560795] tegra-i2c tegra12-i2c.5: I2C_PACKET_TRANSFER_STATUS - 0xff0001
[ 539.568033] tegra-i2c tegra12-i2c.5: I2C_FIFO_CONTROL - 0xe0
[ 539.574048] tegra-i2c tegra12-i2c.5: I2C_FIFO_STATUS - 0x800080
[ 539.580224] tegra-i2c tegra12-i2c.5: I2C_INT_MASK - 0xed
[ 539.586166] tegra-i2c tegra12-i2c.5: I2C_INT_STATUS - 0x2
[ 539.591737] tegra-i2c tegra12-i2c.5: msg->len - 1
[ 539.596662] tegra-i2c tegra12-i2c.5: is_msg_write - 0
[ 539.601900] tegra-i2c tegra12-i2c.5: buf_remaining - 1
[ 539.607389] tegra-i2c tegra12-i2c.5: i2c transfer timed out, addr 0x0030, data 0x00
– [ 540.615936] tegra-i2c tegra12-i2c.5: — register dump for debugging ----
[ 540.630031] tegra-i2c tegra12-i2c.5: I2C_CNFG - 0x2c00
[ 540.638920] tegra-i2c tegra12-i2c.5: I2C_PACKET_TRANSFER_STATUS - 0xff0001
[ 540.646740] tegra-i2c tegra12-i2c.5: I2C_FIFO_CONTROL - 0xe0
[ 540.652911] tegra-i2c tegra12-i2c.5: I2C_FIFO_STATUS - 0x800080
[ 540.659257] tegra-i2c tegra12-i2c.5: I2C_INT_MASK - 0xed
[ 540.664737] tegra-i2c tegra12-i2c.5: I2C_INT_STATUS - 0x2
[ 540.670368] tegra-i2c tegra12-i2c.5: msg->len - 1
[ 540.675219] tegra-i2c tegra12-i2c.5: is_msg_write - 0
[ 540.680664] tegra-i2c tegra12-i2c.5: buf_remaining - 1
[ 540.686154] tegra-i2c tegra12-i2c.5: i2c transfer timed out, addr 0x0031, data 0x00
– ^C[ 541.694244] tegra-i2c tegra12-i2c.5: — register dump for debugging ----
[ 541.708602] tegra-i2c tegra12-i2c.5: I2C_CNFG - 0x2c00
[ 541.724548] tegra-i2c tegra12-i2c.5: I2C_PACKET_TRANSFER_STATUS - 0xff0001
[ 541.731804] tegra-i2c tegra12-i2c.5: I2C_FIFO_CONTROL - 0xe0
[ 541.737817] tegra-i2c tegra12-i2c.5: I2C_FIFO_STATUS - 0x800080
[ 541.744134] tegra-i2c tegra12-i2c.5: I2C_INT_MASK - 0xed
[ 541.750017] tegra-i2c tegra12-i2c.5: I2C_INT_STATUS - 0x2
[ 541.755925] tegra-i2c tegra12-i2c.5: msg->len - 1
[ 541.760877] tegra-i2c tegra12-i2c.5: is_msg_write - 0
[ 541.766119] tegra-i2c tegra12-i2c.5: buf_remaining - 1
[ 541.771610] tegra-i2c tegra12-i2c.5: i2c transfer timed out, addr 0x0032, data 0x00
When i try to dump the memory at 0x545c0000 (DPAUX) it doesn’t match the reset values.
i get:
md 0x545c00c8 1
545c00c8: 60091012 … Tegra124 (Fireball TK1) # md 0x545c0000 0x40 545c0000: 60091012 60091012 60091012 60091012 ...
…...
… 545c0010: 60091012 60091012 60091012 60091012 ...
…...
… 545c0020: 60091012 60091012 60091012 60091012 ...
…...
… 545c0030: 60091012 60091012 60091012 60091012 ...
…...
… 545c0040: 60091012 60091012 60091012 60091012 ...
…...
… 545c0050: 60091012 60091012 60091012 60091012 ...
…...
… 545c0060: 60091012 60091012 60091012 60091012 ...
…...
… 545c0070: 60091012 60091012 60091012 60091012 ...
…...
… 545c0080: 60091012 60091012 60091012 60091012 ...
…...
… 545c0090: 60091012 60091012 60091012 60091012 ...
…...
… 545c00a0: 60091012 60091012 60091012 60091012 ...
…...
… 545c00b0: 60091012 60091012 60091012 60091012 ...
…...
… 545c00c0: 60091012 60091012 60091012 60091012 ...
…...
… 545c00d0: 60091012 60091012 60091012 60091012 ...
…...
… 545c00e0: 60091012 60091012 60091012 60091012 ...
…...
… 545c00f0: 60091012 60091012 60091012 60091012 ...
…...
…`
I’m wondering if i can R/W to the DPAUX memory space without specific initialization.
Any info will be very appreciated.
Greg