adv7180 with imx6ull issue?

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

adv7180 with imx6ull issue?

750 Views
hoanganh
Contributor III

Hi bros,

I'm porting adv7180 for imx6ull. From below patch 0001-Enable-CSI-support-BT656-interlace-and-add-adv7180.patch.zip 

After install kernel module, i can see and control adv7180 file device on /dev. But only blue screen is showing.

And uart debug, error message raise from "mx6s_csi_frame_done(struct mx6s_csi_dev *csi_dev,
int bufnum, bool err)"

phys = vb2_dma_contig_plane_dma_addr(vb, 0);
if (bufnum == 1) {
phys_fb2 = csi_read(csi_dev, CSI_CSIDMASA_FB2);
if (phys_fb2 != (u32)phys) {
dev_err(csi_dev->dev, "CSI_CSIDMASA_FB2 %lx != %x\n", phys,
csi_read(csi_dev, CSI_CSIDMASA_FB2));
}
} else {
phys_fb1 = csi_read(csi_dev, CSI_CSIDMASA_FB1);
if (phys_fb1 != (u32)phys) {
dev_err(csi_dev->dev, "CSI_CSIDMASA_FB1 %lx != %x\n", phys,
csi_read(csi_dev, CSI_CSIDMASA_FB1));
}
}

Some one help me, i stuck for long time

Thanks.

Capture.JPG

 

 

 

0 Kudos
2 Replies

743 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vũ

 

reason may be that patch was developed for L3.14.38 release, while support

for i.MX6ULL was added for L4.1.15 and later linux releases. So one can try to build with L4.1.15_2.0.0

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.1.15_2.0.0_ga

 

Best regards
igor

0 Kudos

738 Views
hoanganh
Contributor III

i'm using Linux "myd-y6ull14x14 4.1.15"

i try it with "tvp5150" and "mx6s_capture" config to signal progressive. I can see image however scroll error.

With "adv7180" and  "mx6s_capture" config to signal interlaced, only blue screen is showing.

And what is main reason when "mx6s-csi 21c4000.csi: CSI_CSIDMASA_FB1 8d000000 != 8d600000"?

Thanks

 

0 Kudos