Hi eveyone,
I am using a custom board, so i need to rebuild IBL to update EEPROM.
I conform to the instructions in build_instructions.txt, but there are still some problems.
At the beginning of all, I downloaded mingw-get-inst-20120426.exe from
http://sourceforge.net/projects/mingw. And I installed it at C:\MinGW .
Here are the my steps to rebuild IBL.
1. Add the follwing directories to environment variables.
C:\MinGW\msys\1.0\bin
C:\MinGW\bin
E:\ti\ccsv5\tools\compiler\c6000\bin
E:\ti\mcsdk_2_00_05_17\tools\boot_loader\ibl\src\make
E:\ti\ccsv5\tools\compiler\c6000\include
2. Double click msys.bat located at C:\MinGW\msys\1.0.
3. Then input command "cd E:\ti\mcsdk_2_00_05_17\tools\boot_loader\ibl\src\make" .
4. Modify setupenvLnx.sh to match my CCS installation directory.
5. Input command "source setupenvMsys.sh".
6. Input command "make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51" and press Enter.
It will clue on errors.
It prints out the follwing ingformation.
../../../arch /c64x / types.h ,line 55:fatal error #5 : could not open source file "stdlib.h"
7. So I copy stdlib.h to the directory E:\ti\mcsdk_2_00_05_17\tools\boot_loader\ibl\src\arch\c64x .
And Input the command "make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51" one more time.
The error mentioned in step 6 disappears, but it prints out the follwing ingformation.
i2cparam.c line 56: fatal error #5:could not open file "stdio.h".
8. Then i copy stdio.h to directory E:\ti\mcsdk_2_00_05_17 \tools\boot_loader\ibl\src\util\i2cConfig .
File i2cparam.c is located in this directory.
Then Input the command "make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51" ,
the error mentioned in step 7 appears again.
How to solve this problem ? Any Advice?
Hope someone helps. Thank you in advance.
Nuoxi
Regards