imx6dl Camera not found when booting eMMC

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

imx6dl Camera not found when booting eMMC

961 Views
fabricetocci
Contributor III

Hi,

I'm building a product based on imx6dl microsom.
I want to capture pictures with OV5647 mipi camera

Same files has been loaded on SD card and into MMC memory (Kernel image, device tree)

Booting from SD card, the camera is found:
[ 6.493963] camera ov5647_mipi is found
[ 6.600860] mxc_v4l2_master_attach: 0
[ 6.636970] mxc_v4l2_master_attach: ipu0:/csi1 mipi attached ov5647_mipi:mxc_v4l2_cap0
[ 6.684490] V4L2 device 'Mxc Camera' on IPU1_CSI1 registered as video0

Booting from MMC, the camera is NEVER DETECTED!!
[ 10.048532] V4L2 device 'Mxc Camera' on IPU1_CSI1 registered as video0
[ 10.225106] mxc_v4l_open: Mxc Camera no sensor ipu0/csi1

Does anybody succeeded, detecting a mipi camera (IPU0/CSI1) when booting from MMC memory?

What could be the root cause of this problem?

Regards.
Fabrice.

Labels (3)
0 Kudos
3 Replies

778 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Fabrice,

     For booting from eMMC and SD card, you couldn't use the same image. please see android user's guide!

----------------From android 7.1.2_2.0.0 document--------

---The default build is configured for internal eMMC boot storage. See Building Android
image for the SD card on the SABRE-SD Board for the configuration steps to make SD
card in Slot 3 as the boot storage.

...

3.3.3 Building Android image for the SD card on the SABRE-SD Board
The default configuration in the source code package takes internal eMMC as the boot storage. It can be changed to make the
SD card in SD Slot 3 as the boot storage as follows:
1. Remove /out/target/product/sabresd_6dq/root directory and boot*.img.
2. Remove /out/target/product/sabresd_6dq/recovery directory and recovery*.img.
3. Build the boot.img and recovery.img as follows:
make bootimage BUILD_TARGET_DEVICE=sd
make recoveryimage BUILD_TARGET_DEVICE=sd

------------------------------------

Have a nice day!

TIC weidong sun

0 Kudos

778 Views
fabricetocci
Contributor III

Hello Wigros,

Thank's a lot for you feed back!

I'll build the kernel with emmc option for MMC and will keep you informed about the result!

Have a nice day!

Kind regards.

Fabrice.

0 Kudos

778 Views
fabricetocci
Contributor III

Hi Wigros,

I built the kernel image with :

UBOOT_CONFIG ??= "emmc"
UBOOT_CONFIG[emmc] = "mx6_cubox-i_config"

BUILD_TARGET_DEVICE=emmc

Yocto bitbake has generated a new SPL and u-boot.img (no new kernel!!)

Unfortunatly, this has not resolved my problem!

ov5647 camera is not detected by the kernel: mxc_v4l_open: Mxc Camera no sensor ipu0/csi1  

Any idea?

Kind regards.

Fabrice.

0 Kudos