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.

DM8148 使用 8-bit nand flash的问题

请教一下,8148如果用8-bit的nand flash的话,u-boot代码里要改哪些配置?
我把Ti8148_evm.h里的
#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
改为
#define GPMC_NAND_ECC_LP_x8_LAYOUT 1
但是编译有错误:

'GPMC_NAND_HW_ECC_LAYOUT_KERNEL' undeclared here (not in a function)

  • 你那个先不动他。

    看DM8168的手册, CS0BW 这个信号,也就是AD4这个脚,控制是用8bit或者16bit 的nand。

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_04.04.00.01_Release_Notes#TI814X.2F3X.2F1X   提到:The release supports both 8 and 16 bit NAND flash.

    To use 8-bit NAND, set the CS0BW (buswidth) switch on the EVM to OFF state. To use 16-bit NAND, set the CS0BW (buswidth) switch on the EVM to ON state.

  • 额,我的是8148,硬件上的BootMode12我已经拉低了,就是不知道软件上要针对进行修改吗?

x 出现错误。请重试或与管理员联系。