summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 83a6fbc)
raw | patch | inline | side by side (parent: 83a6fbc)
author | Sam Nelson <sam.nelson@ti.com> | |
Tue, 21 Jan 2014 13:41:14 +0000 (08:41 -0500) | ||
committer | Sam Nelson <sam.nelson@ti.com> | |
Tue, 21 Jan 2014 13:41:14 +0000 (08:41 -0500) |
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
program_evm/program_evm.js | patch | blob | history |
index 17c92c674ce25d95390412ecf09df91aaf9ff075..f883bb22ba44c7143de2a8b9ced51e19155e67d9 100644 (file)
board_spec = board_spec.replace(/ls$/, "l");
}
- if (board_spec.match(/k2h$/))
+ if (board_spec.match(/k2h$/) || board_spec.match(/k2e$/) || board_spec.match(/k2l$/))
{
emulation_spec = "XDS2xx emulator";
}
-
- // for now, use the same software for lx and l variants
+
+ // for now, use the same software for lx and l variants
board_spec = board_spec.replace(/lx$/, "l");
-
+
// for now, treat evm6618l as an alias for evm6670l
board_spec = board_spec.replace(/evm6618/, "evm6670");
-
+
targetFlag = board_spec;
-
+
endian_spec = (big_endian ? "-be" : "");
-
+
board_binaries = script_binaries + targetFlag + endian_spec + "/";
targetConfig = java.lang.System.getenv("PROGRAM_EVM_TARGET_CONFIG_FILE");
- if (!targetConfig)
+ if (!targetConfig)
targetConfig = script_configs + targetFlag + "/" + targetFlag + (emul560 ? "e" : "") + (xds200 ? "s" : "") + host_os + ".ccxml";
print("board: " + targetFlag);
var nandNorAddress = 0x80000000;
var iblByteSwap = false;
break;
+ case "evmk2e":
+ cpu_id = "C66xx_0";
+ var nAddress = 0x0C000000;
+ var nandNorAddress = 0x80000000;
+ var iblByteSwap = false;
+ break;
+ case "evmk2l":
+ cpu_id = "C66xx_0";
+ var nAddress = 0x0C000000;
+ var nandNorAddress = 0x80000000;
+ var iblByteSwap = false;
+ break;
default:
script.traceWrite("Could not file cpu id for target " + targetFlag + "\n");