add support for NAND in IMX7 sabreSD board

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

add support for NAND in IMX7 sabreSD board

跳至解决方案
584 次查看
mrshafie
Contributor II

hi. i have some problem in using nand flash for data storage in imx7dsabresd board. 

i want to use nand in u-boot code so i read some docs and add this config to mx7dsabresd.h: 

==============================
#define CONFIG_SYS_NAND_SELF_INIT
#define CONFIG_NAND_MXS y

#ifdef CONFIG_NAND_MXS
/* NAND stuff */
.
.
==============================
so when i build u-boot for mx7d only setup_gpmi_nand called (for setup pads). now i want to init nand_driver in u-boot but i cant find any start point. do i need other configuration setting? 
or which nand_init i need to use? for example in mtd/raw/ directory files not compiled? do i need other configuration for compile them? 
 
 
 
标签 (1)
0 项奖励
回复
1 解答
576 次查看
igorpadykov
NXP Employee
NXP Employee

Hi mrshafie

 

one can look at uboot include/configs/mx7dsabresd.h :

* If want to use nand, define CONFIG_CMD_NAND and rework board
* to support nand, since emmc has pin conflicts with nand

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx7dsabresd.h?h=imx_v2020....

i.MX7D SabreSD schematic

Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
1 回复
577 次查看
igorpadykov
NXP Employee
NXP Employee

Hi mrshafie

 

one can look at uboot include/configs/mx7dsabresd.h :

* If want to use nand, define CONFIG_CMD_NAND and rework board
* to support nand, since emmc has pin conflicts with nand

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx7dsabresd.h?h=imx_v2020....

i.MX7D SabreSD schematic

Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual

 

Best regards
igor

0 项奖励
回复