Other Parts Discussed in Thread: TEST2
Has anyone successfully re-compiled the IBL on a Windows machine? I tried to recompile the IBL of MCSDK 2.1.2.5, using freshly downloaded MinGW tools: 1) update setupenvMsys.sh as follows: export C6X_BASE_DIR='"C:/Programme/Texas Instruments/C6000 Code Generation Tools 7.4.1"' export C6X_BASE_DIR_MSYS=/c/Programme/Texas\ Instruments/C6000\ Code\ Generation\ Tools\ 7\.4\.1 2) Start a MinGW sheell and change to the build directory: mcsdk_2_01_02_05/tools/boot_loader/src/ibl/make 3) set up the environment source setupenvMsys.sh 4) start the build for the 6657 EVM: make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51 During compilation I get a couple of errors: 1) calling sed seems to loose one '\' character somewhere (maybe the shell?). sed: -e expression #1, char 8: unterminated `s' command Changing the SED expression in mcsdk_2_01_02_05/tools/boot_loader/ibl/src/make/c64x/makeeco.mk from "s/\\/\//g" to 's/\\/\//g' removes this error. 2) comparing the freshly generated dependency file against a previous version fails because the file is not yet present. Checking command line dependencies diff: cdefdep: No such file or directory The command that causes this is located in many makefiles: ./ibl/src/device/c64x/make/makefile ./ibl/src/driver/c64x/make/makefile ./ibl/src/ecc/c64x/make/makefile ./ibl/src/ethboot/c64x/make/makefile ./ibl/src/hw/c64x/make/makefile ./ibl/src/interp/c64x/make/makefile ./ibl/src/main/c64x/make/makefile ./ibl/src/nandboot/c64x/make/makefile ./ibl/src/norboot/c64x/make/makefile ./ibl/src/test/test2/makestage2 ./ibl/src/util/ecc-test/Makefile ./ibl/src/util/i2cConfig/makestg2 ./ibl/src/util/romparse/Makefile @echo $(TARGET) > cdefdep.tmp @sh -c 'if diff -q cdefdep.tmp cdefdep ; then echo same ; else cp cdefdep.tmp cdefdep ; fi ' I guess this can be safely ignored?? 3) Dependency generation for assembly files relies on the variable $(MAKEDEP) to be set q -I -a -ele.oa -o$.da ../../../device/c64x/c64x.s /bin/sh: q: command not found MAKEDEP is set up to $(MAKEDEPPATH) in mcsdk_2_01_02_05/tools/boot_loader/ibl/src/make/c64x/makedefs.mk. I've replaced this with a call to the assembler using the -apd option. How should this be done regularly? regards Guenter