[imx6 dl] FlexCan does not work on NAND

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[imx6 dl] FlexCan does not work on NAND

跳至解决方案
1,255 次查看
yunbaekim
Contributor II

Hello

FlexCAN does not work on NAND binary. (But, goot work on SDCARD binary)

Please see the attached booting log.

 

'imx6dl-sabreauto-gpmi-weim.dts' file is bellow.

/*
  * Copyright (C) 2014 Freescale Semiconductor, Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */

#include "imx6dl-sabreauto.dts"

&ecspi1 {
  /* pin conflict with weim */
  status = "disabled";
};
&flexcan1 {
  /* kyb_16 */
  status = "okay";
};
&flexcan2 {
  /* max7310_c on i2c3 is gone */
  status = "disabled";
};

&gpmi {
  status = "okay";
};

&i2c3 {
  /* pin conflict with weim */
  status = "disabled";
};

&uart3 {
  /* pin conflict with gpmi and weim */
  status = "disabled";
};

&usbh1 {
  /* max7310_b on i2c3 is gone */
  status = "disabled";
};

&usbotg {
  dr_mode = "peripheral";
  status = "disabled"; // _16
};

&weim {
  pinctrl-assert-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
  status = "okay"; // _16
};

Original Attachment has been moved to: 1.booting-log.txt.zip

Original Attachment has been moved to: imx6qdl-sabreauto.dtsi.zip

Original Attachment has been moved to: imx6dl-sabreauto.dts.zip

Original Attachment has been moved to: imx6qdl.dtsi.zip

标签 (1)
1 解答
1,079 次查看
igorpadykov
NXP Employee
NXP Employee

Hi yunbaekim

from log seems flexcan driver is registered ok, no errors.

Could you elaborate how it does not work on NAND, any

errors messages, dmesg output ?

Also had you tried with latest L4.1.15 BSP :

Board Support Packages (35)

L4.1.15_1.0.0_MX6QDLSOLO (REV L4.1.15_1.0.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
1,080 次查看
igorpadykov
NXP Employee
NXP Employee

Hi yunbaekim

from log seems flexcan driver is registered ok, no errors.

Could you elaborate how it does not work on NAND, any

errors messages, dmesg output ?

Also had you tried with latest L4.1.15 BSP :

Board Support Packages (35)

L4.1.15_1.0.0_MX6QDLSOLO (REV L4.1.15_1.0.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------