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.

Replace 16-bit NAND to 8-bit NAND on DM816x EVM

Hi, all!

I have DM816x EVM with 16-bit Micron NAND.

If I change it on another 8-bit Micron NAND, what I must change in u-boot?

In u-boot I modified only ./board/ti/ti8168/evm.c

board_init()
{

  ....

 gpmc_set_cs_buswidth(0, 0);
}

On DM816x EVM replace U24 from 16-bit NAND on the 8-bit NAND, and burn u-boot image from CCS. u-boot was started and detect NAND device.

 

From CCS debugger detect flash parameters:

  • [CortexA8]   NAND FLASH DETAILS
  • [CortexA8] ----------------------
  • [CortexA8]  Device ID : 0xda
  • [CortexA8]  Manufacture ID : 0x2c
  • [CortexA8]  Page Size : 2048 Bytes
  • [CortexA8]  Spare Size : 64 Bytes
  • [CortexA8]  Pages_Per_Block : 64
  • [CortexA8]  Number_of_Blocks : 2048
  • [CortexA8]  Device_width : 1 Byte
  • [CortexA8]  DeviceSize : 256 MB

 

EMV console output:

  • TI8168-GP rev 1.1
  • ARM clk: 987MHz
  • DDR clk: 796MHz
  • I2C:   ready
  • DRAM:  2 GiB
  • NAND:  HW ECC Hamming Code selected
  • 256 MiB
  • *** Warning - bad CRC or NAND, using default environment
It is enough for using NAND 8-bit NAND? Or I need change something else?
Thank you.
P.S. Sorry - my English is not very well.