hi,all:
problem 1:
i test the function of csi2 on dm8127 , get a problem:
when i completely init DM8127 csi2 , the bit of CSI2_complexio_cfg [29] RESET_DONE still 0;
list of register:
//csi2 register
[m3vpss ] (csi2_revision) 55041000:30
[m3vpss ] (csi2_sysconfig) 55041010:1000
[m3vpss ] (csi2_sysstatus) 55041014:1
[m3vpss ] (csi2_irqstatus) 55041018:0
[m3vpss ] (csi2_irqenable) 5504101c:18
[m3vpss ] (csi2_ctrl) 55041040:29a869
[m3vpss ] (csi2_dbg_h) 55041044:0
[m3vpss ] (reserved) 55041048:1b
[m3vpss ] (reserved) 5504104c:49054321
[m3vpss ] (csi2_complexio_cfg) 55041050:4b054321
[m3vpss ] (csi2_complexio_irqs) 55041054:0
[m3vpss ] (reserved) 55041058:0
[m3vpss ] (csi2_short_packet) 5504105c:0
[m3vpss ] (csi2_complexio_irqenable) 55041060:0
[m3vpss ] (reserved) 55041064:0
[m3vpss ] (csi2_dbg_p) 55041068:0
[m3vpss ] (csi2_timeing) 5504106c:7fffc1d6
[m3vpss ] (csi2_ctx_ctrl1_0) 55041070:1008d
[m3vpss ] (csi2_ctx_ctrl2_0) 55041074:12c
[m3vpss ] (csi2_ctx_dat_ofst_0) 55041078:0
[m3vpss ] (csi2_ctx_dat_ping_addr_0) 5504107c:0
[m3vpss ] (csi2_ctx_dat_pong_addr_0) 55041080:0
[m3vpss ] (csi2_ctx_irqenable_0) 55041084:0
[m3vpss ] (csi2_ctx_irqstatus_0) 55041088:0
[m3vpss ] (csi2_ctx_ctrl3_0) 5504108c:c8
// csi2 phy register
[m3vpss ] (register0) 55041170:52b
[m3vpss ] (register1) 55041174:c002e10e
[m3vpss ] (register2) 55041178:ff
//iss register
[m3vpss ] (iss_hl_revison) 55040000:40000103
[m3vpss ] (iss_hl_hwinfo) 55040004:3
[m3vpss ] (iss_hl_sysconfig) 55040010:3c
[m3vpss ] (reserved) 5504001c:0
[m3vpss ] (iss_hl_irqstatus_raw_0) 55040020:20000
[m3vpss ] (iss_hl_irqstatus_0) 55040024:0
[m3vpss ] (iss_hl_irqenable_set_0) 55040028:1
[m3vpss ] (iss_hl_irqenable_clr_0) 5504002c:1
[m3vpss ] (iss_ctrl) 55040080:3
[m3vpss ] (iss_clkctrl) 55040084:f0000017
[m3vpss ] (iss_clkstat) 55040088:f0000017
[m3vpss ] (iss_pm_status) 5504008c:28a2
// isp register
[m3vpss ] (isp5_sysconfig) 55050010:21
[m3vpss ] (isp5_ctrl) 5505006c:c0fff1
problem 2:
when i init csi2,i find some registers is not found on dm8127 ,and it is found on omap ic;
List :
to fully initialize the csiphy,perform the following steps:
1. (vi) set the control_camer_rx[17:16] camerarx_csi21_cammode !!!!!!! this register is not found;
2.(c)
control_core_pad0_csi21_dx4_pad_csi21_dy41 !!!!!! padconfig register is not found;
The iss pdf is :dm8127 iss spruhl6-- january 2013; dm38x,dm8127,and dmva3/4 imaging subsystem(iss);
problem3:
we produce about 100 cameras ,about 30% found this problem:
UBIFS error (pid 246): ubifs_check_node: bad CRC: calculated 0x35fe3c8a, read 0x20106fc4
UBIFS error (pid 246): ubifs_check_node: bad node at LEB 103:102400
UBIFS error (pid 246): ubifs_scanned_corruption: corruption at LEB 103:102400
UBIFS error (pid 246): ubifs_scan: LEB 103 scanning failed
i test the yaffs2 filesys,but the problem is still ,
about the 3 problem ,can you give me some advices ,our company is producing now , thanks everybody!