This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6467T switch from PCI to NAND work?

Hello,

My customer board boot from nand flash, and then switch to PCI mode in the kernel, everything works fine.

Now, we went to update firmware under linux, so we have to switch from PCI to nand.

If i disable PCI, Nand flash works fine under linux. So the Nandflash driver is correct.

If i enable PCI, and then switch to nand mode as following steps:

1. reset all PCI devices

2. disable PCI module via MDCTL13

3. set PINMUX to nand mode

4. set external multiplexing switch to nand flash

But nand flash not work correctly.

In the wiki post http://processors.wiki.ti.com/index.php?title=Pinmux_Switching_from_NAND_to_PCI

"Unless it can be guaranteed that no PCI master will attempt to access the DM6467 during this time, switching away from the PCI bus will require a system reset before it can be switched back."

"In case that the NAND memory must be updated after boot, the system must be reset afterwards to put the PCI bus in a known state."

My question is:

Does DM6467T switch from PCI to NAND work?

If it works, does "Disable PCI module" meet the request of "no PCI master will attempt to access the DM6467" and "put the PCI bus in a known state"?

Thanks!