anyone can help me about nand_get_flash_type
visual2me at gmail.com
Wed Aug 25 05:36:18 EDT 2010
I got an ARM device from Marvell with a NAND rom, running Linux
188.8.131.52. These days I'm working on upgrading the kernel to 184.108.40.206.
After the upgrade, all devices work well except the NAND rom. I found
it's because that the device and manufacturer IDs cannot be retrieved
correctly in nand_get_flash_type. In 220.127.116.11, the IDs can be
retrieved as expected; but in 18.104.22.168, the IDs always be 0, which
leads to an error in nand_scan.
I'm a definitely newbie with MTD, and currently have no idea about the
problem. Except IO_ADDR_R & IO_ADDR_W are remapped to different
addresses, I can't find any differences between the 2 versions from
the system log -- may it be the reason? Anyone can give me some tips
about this problem -- how to fix it or how to debug? Any suggestions
will be appreciated.
More information about the linux-mtd