add support for NAND in IMX7 sabreSD board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add support for NAND in IMX7 sabreSD board

Jump to solution
556 Views
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? 
 
 
 
Labels (1)
0 Kudos
1 Solution
548 Views
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

View solution in original post

0 Kudos
1 Reply
549 Views
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 Kudos