>
>
> U-Boot 2015.04-14468-gd7d7c43-dirty (Jun 15 2016 - 15:37:47)
>
> CPU: Freescale i.MX6Q rev1.5 at 792 MHz
> CPU: Temperature 36 C
> Reset cause: POR
> Board: MX6-SabreSD
> I2C: ready
> DRAM: 1 GiB
> wait_for_sr_state: failed sr=81 cr=a0 state=2020
> i2c_init_transfer: failed for chip 0x8 retry=0
> wait_for_sr_state: failed sr=81 cr=a0 state=2020
> i2c_init_transfer: failed for chip 0x8 retry=1
> wait_for_sr_state: failed sr=81 cr=a0 state=2020
> i2c_init_transfer: failed for chip 0x8 retry=2
> i2c_init_transfer: give up i2c_regs=021a4000
> Can't find PMIC:PFUZE100
> initcall sequence 4ff93248 failed at call 17803638 (err=-19)
> ### ERROR ### Please RESET the board ###
原理上PMIC芯片与imx6q 接到 不一样,在uboot中配置了如下:
.scl = {
.i2c_mode = MX6_PAD_GPIO_5__I2C3_SCL | I2C_PAD,
.gpio_mode = MX6_PAD_GPIO_5__GPIO1_IO05 | I2C_PAD,
.gp = IMX_GPIO_NR(1, 05)
},
.sda = {
.i2c_mode = MX6_PAD_GPIO_6__I2C3_SDA | I2C_PAD,
.gpio_mode = MX6_PAD_GPIO_6__GPIO1_IO06 | I2C_PAD,
.gp = IMX_GPIO_NR(1, 06)
}
// .scl = {
// .i2c_mode = MX6_PAD_KEY_COL3__I2C2_SCL | I2C_PAD,
// .gpio_mode = MX6_PAD_KEY_COL3__GPIO4_IO12 | I2C_PAD,
// .gp = IMX_GPIO_NR(4, 12)
// },
// .sda = {
// .i2c_mode = MX6_PAD_KEY_ROW3__I2C2_SDA | I2C_PAD,
// .gpio_mode = MX6_PAD_KEY_ROW3__GPIO4_IO13 | I2C_PAD,
// .gp = IMX_GPIO_NR(4, 13)
// }
屏蔽掉PMIC部分可以正常启动 |