打印
[i.MX]

imx6q uboot 启动识别不到PMIC 问题

[复制链接]
5004|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
lixuhui112|  楼主 | 2016-6-16 08:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
>
>
> 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部分可以正常启动

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

19

主题

67

帖子

0

粉丝