Hi,
I have some problem to upgrade kernel image in a NAND flash partition on dm6446 evm board. I use stock u-boot 1.2.0 from DVSDK 2.00 configured for NAND flash, and stock mvpro5 kernel from DVSDK 2.00 with NAND support, and default NAND partition table in the kernel: 256K bootloader, 128K params, 4M kernel, and the rest for file system on the EMV 64MB NAND flash.
The kernel is bootable if I use u-boot command
tftp
nand erase 60000 140000
nand write 80700000 60000 140000
but if I boot to nfs file system extracted from stock DVSDK 2.00 target file system, and use
flash_eraseall /dev/mtd2
nandwrite -p /dev/mtd2 uImage
to write the kernel image from user space, after reboot the u-boot report read error. I tried to write to mtd3 and had the same results. The "nand dump" command showed there are some data been written to these addresses instead of 0xff.
After checking the TI wiki and google, I suspect it's something about the NAND layout. I played with the kernel options, like "Support for standard NAND layout on Davinci SOC's" in NAND device driver section, but have no success. I also tried different partition table and leave more space (1MB) for u-boot and it's same. With different u-boot, like 2010.12 from official u-boot web site and 2009.06 from arago git, it could load the uImage headers but still cannot read all the kernel image properly.
Did anybody try this on DVSDK 2.00? It's a blocking issue of our product and thanks in advance for any suggestion.