Lars Christensen

U-Boot Nand identification problem

Discussion created by Lars Christensen on Jun 14, 2012

I'm trying to move the U-Boot environment to NAND instead of MMC, but U-Boot doesnt seem to recognize the NAND chip.

I've succesfully used the mfg tools to write uboot to nand, and its booting off nand with no problems. Linux is also running smoothly of the nand (including rootfs).

When printing the id_bytes passed to nand_device_get_info in gpmi_nfc_mil.c, I get different results when its done by uboot vs linux.

Linux is giving me 0x2c, 0x48, 0x00, 0x,26, 0xa9, 0x00
uboot is printing out 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c and the nand is therefore not found in the list. Ive verified that the nand chip is in the list. But when forcing to use that chip (writing the correct values to the id_bytes) the result is a lot of DMA errors.

Any help solving this problem is greatly appreciated.