Hi,
Please find the steps i have followed in EVMK2H kit.
Uboot compilation
-------------------------
PATH=$PATH:/home/crypto/Desktop/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
make distclean
make k2hk_evm_defconfig
make
Conversion of u-boot.bin to u-boot.uart (As per ti wiki page)
dd if=/dev/zero of=4k_zeros bs=4096 count=1
cat 4k_zeros u-boot.bin > u-boot.uart
U-boot.uart Loading in Kit
------------------------------------
1.No boot mode is set in Kit thro EVM switches(DSP Noboot mode). then
2.In Hyper terminal bootmode #4 (UART),reboot
3.u-boot.uart is transfered to Kit thro XMODEM setting in Hyper terminal
Loading u-boot.bin thro CCS
---------------------------------------
1.Thro Script console,u-boot.bin is loaded in ARM core.The following script is run in script console.
loadJSFile "E:\TI_PRJ\Datasheets\Processor_TI\mcsdk\mcsdk_linux_3_01_03_06\host-tools\loadlin\loadlin-evm-uboot.js"
SPI Flashing and Load (Single stage loader)
-------------------------------------------------------------
tftp $addr_uboot $serverip:u-boot.bin
fmtimg spi 0x0c001000 /*After executing the command it ll give fmt_img_size*/
sf probe
sf erase 0 0x60000 /*Nearest value to sizeof(uboot.bin)*/
sf write $addr_uboot 0 0x5ab04 (fmt_img_size)
In EVM Kit
-------------
1.No boot mode is set in Kit thro EVM switches (DSP No boot mode).
2.In Hyper terminal bootmode #2 (SPI),reboot
In all the cases "K2_UBOOT_*" uboot image running in the Kit whereas PSDK image is not coming up.
Let us know if any issues are there.
Regards,
Sivanantham