add support for NAND in IMX7 sabreSD board

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

add support for NAND in IMX7 sabreSD board

ソリューションへジャンプ
756件の閲覧回数
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 解決策
748件の閲覧回数
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 返信
749件の閲覧回数
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 件の賞賛
返信