AnsweredAssumed Answered

kexec feature for imx6ul

Question asked by cao zou on Jul 11, 2016
Latest reply on Jul 26, 2016 by cao zou

Hi:

   I find it isn't a good support for kexec in imx6ul with sdk 3.14.52,  i have worked in the feature of kexec for some time, it is almost successful,  the only failed place is in the code:

   drivers/thermal/imx_thermal.c:    --->

         function: imx_get_sensor_data: --->

             ret = regmap_read(map, IMX6_OCOTP_ANA1, &val);  --> cpu stopped here.

 

 

i know my description is not very summary, i find it will cause the cpu halt for reading some regs,

 

for this:

"

         function: imx_get_sensor_data: --->

             ret = regmap_read(map, IMX6_OCOTP_ANA1, &val);  --> cpu stopped here.

"

what condition  it need to read the reg of IMX6_OCOTP_ANA1, cpu stop here, it need to enable some clk after i run the command "kexec -e".

Outcomes