Hi
I have made a board with Dm8127 ,the nand flash hardware design is the same as evm board ,but used flash--samsung k9f2g08u0c.
Now i change theti81xx_nand.c in uboot source code as below :
line 980:
/* 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;
}*/
And after I flashed u-boot.min.nand and u-boot.bin ,uboot print as below :
U-Boot 2010.06 (Apr 07 2015 - 00:34:38) DM8127_IPNC_3.80.00
TI8148-GP rev 2.1
ARM clk: 600MHz
DDR clk: 400MHz
L3 clk: 200MHz
IVA clk: 450MHz
ISS clk: 400MHz
DSP Default OFF
DSS Default OFF
DRAM: 512 MiB
DCACHE: Off
NAND: HW ECC BCH8 Selected
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
256 MiB
Using default environment
The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x20000, size 0x40000
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
NAND read from offset 20000 failed -74
262144 bytes read: ERROR
## Starting application at 0x81000000 ...
The second-stage uboot can not be read correctly.Could you give me some suggestions!
Thank you in advance.