i.MX6Dual freezes during reboot with the SD card inserted

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX6Dual freezes during reboot with the SD card inserted

504件の閲覧回数
eishishibusawa
Contributor III

Dear Sir

 

I want to ask the behavior of i.MX6Dual.

The i.MX6Dual works on Android kk4.4.2_1.0.0-ga.

The i.MX6Dual freezes during reboot with the SD card inserted.

Reproducibility is about 5/10000.

 

There is a disable function(int __init mxc_early_uart_console_disable) in kernel_imx/drivers/tty/serial/mxc_uart_early.c.

 

int __init mxc_early_uart_console_disable(void)

{

              struct mxc_early_uart_device *device = &mxc_early_device;

              struct uart_port *port = &device->port;

 

              if (mxc_early_uart_console.index >= 0) {

                            unregister_console(&mxc_early_uart_console);

                            iounmap(port->membase);

                            clk_disable(device->clk);

                            clk_put(device->clk);

              }

              return 0;

}

 

It seems that the above function is called from do_initcalls() in kernel.

 

late_initcall_sync(mxc_early_uart_console_disable);

 

It seems that the problem will not occur when Commenting out the disable functions as the follows.

 

//unregister_console(&mxc_early_uart_console);

//iounmap(port->membase);

//clk_disable(device->clk);

//clk_put(device->clk);

 

It seems that the problem will occur if the clk_disable is enable as the follows.

//unregister_console(&mxc_early_uart_console);

//iounmap(port->membase);

clk_disable(device->clk);

//clk_put(device->clk);

 

Q1.

For what reason does it disable the uart?

 

Q2.

Are there any problem when Commenting out the disable functions as the follows.

//unregister_console(&mxc_early_uart_console);

//iounmap(port->membase);

//clk_disable(device->clk);

//clk_put(device->clk);

 

It seems that the uart is enable again later.

Q3.

What is it running between from uart disable to enable?

(We want to know what function is affected by commenting out these function.)

 

Best Regards,

Eishi SHIBUSAWA

 

ラベル(2)
0 件の賞賛
2 返答(返信)

381件の閲覧回数
b36401
NXP Employee
NXP Employee

Please make sure that the board keeps power up sequence.

Have a great day,
Victor

0 件の賞賛

381件の閲覧回数
eishishibusawa
Contributor III

Dear Victor

There is no problem at the power up sequence.

In our customer's report, if it is comment outed the eary_uart, no problem will occur.

When a problem occurs, the eary_uart is disabled and no log is output.

There is no log, so it is not possible to analyze.

Q1.

Please tell me if there is any way to analyze it.

Best Regards,

Eishi SHIBUSAWA

0 件の賞賛