Kernel can not boot after enable camera

hello ycl,

it’s because memory were allocated with T_R16_I. you may check TRM for more details.

are you able to enable test-pattern-generator on your Ser/Des chip?
please also contact with your bridge vendor to ask the steps to enable test-pattern-generator, it’s useful for issue narrow-down.

please also refer to below similar discussion threads for reference,
such as

After I enabled test-pattern-generator, image data was output from max96712. The new log is in this attachment.

There are also many errors, such as the following:

 kworker/0:0-4     [000] ....   237.555296: rtcpu_vinotify_event: tstamp:7768803730 tag:CSIMUX_FRAME channel:0x00 frame:0 vi_tstamp:7768470465 data:0x00400060
 kworker/0:0-4     [000] ....   237.555297: rtcpu_vinotify_event: tstamp:7768803875 tag:FS channel:0x00 frame:0 vi_tstamp:7768486658 data:0x00000010
 kworker/0:0-4     [000] ....   237.555298: rtcpu_vinotify_event: tstamp:7768804045 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:7768514466 data:0x000003c9

 kworker/0:0-4     [000] ....   226.411199: rtcpu_vinotify_error: tstamp:7420568289 tag:CSIMUX_STREAM channel:0x00 frame:0 vi_tstamp:7420565045 data:0x00000001

 kworker/0:0-4     [000] ....   226.411196: rtcpu_nvcsi_intr: tstamp:7420565363 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
 kworker/0:0-4     [000] ....   226.411197: rtcpu_nvcsi_intr: tstamp:7420565363 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004


 kworker/0:0-4     [000] ....   226.411183: rtos_queue_send_from_isr_failed: tstamp:7420537558 queue:0x0bcb8a60[log1.zip|attachment](upload://sa0rPyOas5tOZVxuFRRLi9q8nUf.zip) (2.9 MB)

log1.zip (2.9 MB)

hello ycl,

tag:CSIMUX_FRAME channel:0x00 frame:0 vi_tstamp:7768470465 data:0x00400060

it shows an error FE_CSI_FAULT, please check why you’re not shown frame-end here.

tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:7768514466 data:0x000003c9

this no match error report the data type is NvCsiDataType_YUV422_8, are you define the stream data type as YUV422 8-bit?
thanks

tegra194-camera-ar0233-a00.dtsi (14.4 KB)

The attachment is my config file.
How to check frame-end?

I set YUV as bellowing:
dynamic_pixel_bit_depth = “16”;
csi_pixel_bit_depth = “16”;
mode_type = “yuv”;
pixel_phase = “uyvy”;