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.

关于DM8127 使用8-bit nand flash

先附上讯息:

NAND: HW ECC BCH8 Selected
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-b)
NAND bus width 16 instead 8 bit
No NAND device found!!!

=================================================================

BTMODE12 set to 0

想请教一下从原本的16-bit nand flash 置换成现在8-bit nand flash , 需要修改哪些file 或是设定~

 

  • 这是我以前改过的一个设置,8127应该类似:

    u-boot/include/configs/*8127*.h文件

    //#define NAND_16BIT

    u-boot/drivers/mtd/nand/*8127*_gpmc.c文件,删除以下内容。

    int board_nand_init(struct nand_chip *nand)

    { …

    /* If we are 16 bit dev, our gpmc config tells us that */

    //if ((readl(&gpmc_cfg->cs[cs].config1) & 0x3000) == 0x1000)

    //nand->options |= NAND_BUSWIDTH_16;

    … }

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