set IBL_UTIL=C:\ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\src\util
hex6x spiboot.rmd
b2i2c spiboot.btbl spiboot.btbl.i2c
%IBL_UTIL%\btoccs\b2ccs spiboot.btbl.i2c spiboot.i2c.ccs
%IBL_UTIL%\romparse\romparse nysh.spi.map
copy i2crom.ccs spirom_le.dat
byteswapccs i2crom.ccs spirom_le_swap.dat
%IBL_UTIL%\btoccs\ccs2bin   i2crom.ccs     spirom_le.bin
%IBL_UTIL%\btoccs\ccs2bin -swap i2crom.ccs spirom_le_swap.bin
