v4l2 error on i.MX6 yocto linux

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

v4l2 error on i.MX6 yocto linux

1,408 Views
杉原昇
Contributor II

Hello community.

I have a problem to be solved ASAP, but having no good ideas.

Any advise or information will be really appreciated.

Thanks.


1. Developing Environment

Developing surveillance camera using i.MX6 Quad.
The BSP for our prototype board refers to the NXP BSP (L4.1.15_1.2.0_iMX7D).
Minimum BSP customization of pin assignment and DDR bandwidth (64bit -> 32bit) etc.

2. Failure Phenomenon

When capturing images by a MIPI camera and encoding it by VPU in H.264 mode, the error (mentioned below) occurs.
Capture (v4l2) setting is 1920x1080@30fps.
H.264 encoding (VPU) setting is 1920x1080@30fps and 10Mbps (encoded stream bit rate).

Decreasing VPU fps (30fps -> 15fps) drives down the error frequency.
Cutting off H.264 encoding procedure drives down the error frequency.

Also air cooling the i.MX6 seems to drive down the error frequency.

3. Error Message

One of the following messages is reported:

ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received
power_down_callback: ipu0/csi0

ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00000001
power_down_callback: ipu0/csi0

4. Our Request

Which part of kernel or device drivers does report the message described above?
What possible causes are extrapolated?

Tags (1)
0 Kudos
4 Replies

875 Views
igorpadykov
NXP Employee
NXP Employee

Hi

for dependency :

-air cooling the i.MX6 seems to drive down the error frequency.

-Decreasing VPU fps (30fps -> 15fps) drives down the error frequency.
-Cutting off H.264 encoding procedure drives down the error frequency.

may be deduced that this may be caused by processor bus performance limitation.

One can try to use 64 bit memory configuration or faster procesor grade, or reduce

bus load using less intensive graphics.

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

0 Kudos

875 Views
杉原昇
Contributor II

Dear Igor,

Thanks for your reply and suggestion.

Unfortunately, we have no time to modify HW to check the bus performance

of 64bit bus.

And the target cost of this product does NOT allow the increase in DDR

cost.

Besides, another HW (one of our products) of i.MX6S (with 32bit DDR)

performs the similar FullHD stream handling with no problem.

So It's possible that there may still be some errors in our FW.

And, to find out root cause, I want to know the direct cause of the error

message (mentioned before) at first.

If you have any info about the error message, pls kindly let me know.

BR,

N. Sugihara

************************************

GOH SHOJI CO., INC.

ELECTRONIC EQUIPMENT DIVISION,

NP Group,

Noboru Sugihara

ZIP: 104-0032

2-11-2, Hatchobori, Chuo-ku, Tokyo, Japan

TEL: +81-3-3552-7721

FAX: +81-3-3555-0378

E-Mail: u0621@goh.co.jp

URL: http://www.gohshoji.com/

************************************

送信元: igorpadykov <admin@community.freescale.com>

宛先: "&#26441;&#21407; &#26119;" <u0621@goh.co.jp>,

日付: 2016/09/19 08:40

件名: Re: - Re: v4l2 error on i.MX6 yocto linux

NXP Community

Re: v4l2 error on i.MX6 yocto linux

reply from igorpadykov in i.MX Community - View the full discussion

Hi

for dependency :

-air cooling the i.MX6 seems to drive down the error frequency.

-Decreasing VPU fps (30fps -> 15fps) drives down the error frequency.

-Cutting off H.264 encoding procedure drives down the error frequency.

may be deduced that this may be caused by processor bus performance

limitation.

One can try to use 64 bit memory configuration or faster procesor grade,

or reduce

bus load using less intensive graphics.

Best regards

igor

0 Kudos

875 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sugihara 

one can try to emulate Solo using kernel parameter maxcpus=1

Best regards
igor

0 Kudos

875 Views
杉原昇
Contributor II

Dear Igor,

Thanks for your reply.

If we get any more experimental results or significant clue, will come

back here.

BR,

N. Sugihara

************************************

GOH SHOJI CO., INC.

ELECTRONIC EQUIPMENT DIVISION,

NP Group,

Noboru Sugihara

ZIP: 104-0032

2-11-2, Hatchobori, Chuo-ku, Tokyo, Japan

TEL: +81-3-3552-7721

FAX: +81-3-3555-0378

E-Mail: u0621@goh.co.jp

URL: http://www.gohshoji.com/

************************************

送信元: igorpadykov <admin@community.freescale.com>

宛先: "&#26441;&#21407; &#26119;" <u0621@goh.co.jp>,

日付: 2016/09/19 14:17

件名: Re: - Re: v4l2 error on i.MX6 yocto linux

NXP Community

Re: v4l2 error on i.MX6 yocto linux

reply from igorpadykov in i.MX Community - View the full discussion

Hi Sugihara

one can try to emulate Solo using kernel parameter maxcpus=1

Best regards

igor

Reply to this message by replying to this email, or go to the message on

NXP Community

Start a new discussion in i.MX Community by email or at NXP Community

Following Re: v4l2 error on i.MX6 yocto linux in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email

frequency in your email preferences

0 Kudos