[U-Boot] U-Boot NAND-Access

Peter Niklas peter.niklas at tttech-automotive.com
Thu Nov 8 16:31:10 CET 2012


Hello,

We are using a Zynq SoC on a custom Board. We are trying to use a 
NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot 
Loader, U-Boot, Kernel ....
We are having trouble to use the NAND-Flash in U-Boot.
Currently we are using U-Boot 2012.04.01-00304-g7639205-dirty.
and I get the Messag:
NAND:  No NAND device found!!!
nand_scan_ident for NAND failed

I enabled CMD_NAND in the specific config file:
#define CONFIG_NAND_ZYNQ
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_LOCK_UNLOCK
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE XPSS_NAND_BASEADDR
#define CONFIG_MTD_DEVICE

I also tried an older version of U-Boot  (U-Boot 2011.03-dirty) before 
where I got the Output:

NAND:  No oob scheme defined for oobsize 224
No oob scheme defined for oobsize 224

I also enabled the CMD_NAND as before.
When I look into the sources I only see oob_schemes defined for 128.

Has anyone tried to use a NAND-flash with the oobsize of 224?
Is there some configuration missing?
Besides the CMD config, I did not change anything else for 
NAND-Configuration. Am I missing something?
The NAND-Flash has been tested with the Xilinx Drivers and it works.

Thanks, Regards,
Peter Niklas


CONFIDENTIALITY: The contents of this e-mail are confidential and 
intended only for the above addressee(s). If you are not the intended
recipient, or the person responsible for delivering it to the intended 
recipient, copying or delivering it to anyone else or using it in any 
unauthorized manner is prohibited and may be unlawful. If you 
receive this e-mail by mistake, please notify the sender and the 
systems administrator at straymail at tttech.com immediately. 



More information about the U-Boot mailing list