1 sed -e expression #1 ,char 8 untermination 's' command 不知道如何修改
2 同时最后的编译结果是:mv:cannot stat '../../../i2crom_0x51_c6678_le.bin' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6678_be.bin' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6670_le.bin' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6670_be.bin' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6657_le.bin' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6657_be.bin' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6657_le_0x500.out' :No such file or directory
mv:cannot stat '../../../i2crom_0x51_c6657_be_0x500.out' :No such file or directory
有6678和6670的out文件
我现在想在ibl内去配置ibl的参数,重新编译
void main (void)
{
int32 i, j;
UINT32 v, boot_mode_idx, boot_para_idx;
unsigned int dip_setting;
ibl_t ibl;
/* Initialize the status structure */
iblMemset (&iblStatus, 0, sizeof(iblStatus_t));
iblStatus.iblMagic = ibl_MAGIC_VALUE;
iblStatus.iblVersion = ibl_VERSION;
ibl = c6657_ibl_config();
/* Init UART */
uart_init();
uart_write_string("", 0);
uart_write_string("IBL version: "ibl_VERSION_STR, 0);
。。。。
在主函数内加了ibl = c6657_ibl_config();
其他的参数修改在device.c内
我修改的脚本文件
1 tools_build.bat
set path=C:\MinGW\msys\1.0\bin;C:\MinGW\bin
C:\MinGW\msys\1.0\bin\bash IBL_buildibl
2 setupenvMsys.sh
#!/bin/bash
# Environment setup to be done if using MSYS Bash shell for build
# Specify the base directory of the c6000 compiler with UNIX style path separator
#export C6X_BASE_DIR='"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.4"'
export C6X_BASE_DIR='"C:/ti/C6000 Code Generation Tools 7.4.0"'
# Specify the base directory of the c6000 compiler in format understandable by the MSYS Bash shell
#export C6X_BASE_DIR_MSYS=/c/Program\ Files/Texas\ Instruments/C6000\ Code\ Generation\ Tools\ 7\.2\.4
export C6X_BASE_DIR_MSYS=/c/ti/C6000\ Code\ Generation\ Tools\ 7\.4\.0
# Don't modify the below variables. They are derived from the above definitions
export PATH=$PATH:$C6X_BASE_DIR_MSYS/bin
export TOOLSC6X=$C6X_BASE_DIR
export TOOLSC6XDOS=$C6X_BASE_DIR
