Hello,
I have an imx6 based on the wandboard single core with u-boot 2015.07. I need enable i2c probes to test my board version and I'm having some software issues. I modified wandboard.c/h according to the patch posted here -> [U-Boot] [PATCH v3] mx6sabred: Add PFUZE100 PMIC support , changing the specific values to enable i2c0, and ignoring the pfuze specific code.
I can now run I2C commands from u-boot, however I don't see the pins toggling on the board and I'm getting some odd errors.
=> i2c probe 0x21
Valid chip addresses:wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x21 retry=0
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x21 retry=1
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x21 retry=2
i2c_init_transfer: give up i2c_regs=0x21a0000
Any suggestions to fix this?
Solved! Go to Solution.
Solved my own problem
I have the Solo processor which corresponds to the imx6dl. In wandboard.c I changed the i2c_pads_info from MX6Q_PAD_ to MX6DL_PAD_EIM_D21__I2C1_SCL. That seems to work so far.
Solved my own problem
I have the Solo processor which corresponds to the imx6dl. In wandboard.c I changed the i2c_pads_info from MX6Q_PAD_ to MX6DL_PAD_EIM_D21__I2C1_SCL. That seems to work so far.