U-boot Error after plugging in raspberry pi camera

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U-boot Error after plugging in raspberry pi camera

943 Views
aliismail
Contributor IV

So I am doing some experimenting with the raspberry pi camera (Sony IMX219). I am using the SCM-QWKS quick startup board. When I plug the ribbon cable of the camera into the MIPI/CSI port and boot up my board, I get the following error:

U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Aug 17 2016 - 08:19:11)

CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 36 C
Reset cause: POR
Board: MX6DQSCM-QWKS
I2C: ready
DRAM: 1 GiB
force_idle_bus: sda=0 scl=0 sda.gp=0x6d scl.gp=0x6c
force_idle_bus: failed to clear bus, sda=0 scl=0
wait_for_sr_state: Arbitration lost sr=93 cr=80 state=2020
i2c_init_transfer: failed for chip 0x8 retry=0
wait_for_sr_state: Arbitration lost sr=93 cr=80 state=2020
i2c_init_transfer: failed for chip 0x8 retry=1
wait_for_sr_state: Arbitration lost sr=93 cr=80 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 2ff93350 failed at call 17803688 (err=-19)
### ERROR ### Please RESET the board ###

I am not sure why when I plug the camera in, I get this error. Looks like there is some i2c issue.

Labels (3)
0 Kudos
1 Reply

524 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ali

message is caused by function force_idle_bus()

waiting for:  if ((sda & scl) == 1) in
uboot..arch/arm/imx-common/i2c-mxv7.c

one can attach jtag and debug it more, checking

i2c signals with oscilloscope. Seems somebody holds bus in low state.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------