I erased my eval board NAND. I found how to restore it with DM646x_FlashAndBootUtils_1_50
and a command like
sfh_DM646x.exe -v -p COM5 -nandflash ubl_DM646x_nand.bin u-boot-dm6467-evm.bin
on a PC. Upon reboot this gives the DM6467 EVM> prompt. So far so good.
I then tried to use uBoot to flash a linux kernel by copying to 0x8070.0000 using tftp. followed by nand write 0x80700000 0xA0000 0x200000
per http://processors.wiki.ti.com/index.php/Writing_Kernel_Image_to_NAND_Flash
Now, when I reset the board, I get
DM646x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000016.
DONE
Jumping to entry point at 0x81080000.
followed by a hung system.
Here's the problem: the sfm_dm646x.exe program now hangs because it expects the
BOOTME from the in-SoC ROM bootloader. I can't get any response to a keypress on the serial line.
I think the UBL is dying before uBoot starts. So, how do I clobber the broken UBL so I can use sfm_.exe again??