summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSivaraj R2019-02-19 01:27:56 -0600
committerSivaraj R2019-02-19 01:27:56 -0600
commitd2037243713376913f1502614f6e1fdf3f3e8744 (patch)
tree65891fc7e7e94456bb41118bc27b606b6ed845ee
parent2206534c227892a58c4fb4e54ca0c93fe3147f45 (diff)
parent176ab553a6b4a90a4754a8e15162c91a9c17329e (diff)
downloadsd-mmc-d2037243713376913f1502614f6e1fdf3f3e8744.tar.gz
sd-mmc-d2037243713376913f1502614f6e1fdf3f3e8744.tar.xz
sd-mmc-d2037243713376913f1502614f6e1fdf3f3e8744.zip
Merge pull request #120 in PROCESSOR-SDK/sd-mmc from review_sivaraj to master
* commit '176ab553a6b4a90a4754a8e15162c91a9c17329e': Change in J7 memory map to support all cores
-rw-r--r--test/j721e/a72/mmcsdUnitTest_a72.cfg44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/j721e/a72/mmcsdUnitTest_a72.cfg b/test/j721e/a72/mmcsdUnitTest_a72.cfg
index da45119..837c62c 100644
--- a/test/j721e/a72/mmcsdUnitTest_a72.cfg
+++ b/test/j721e/a72/mmcsdUnitTest_a72.cfg
@@ -60,8 +60,8 @@ Cache.CacheProxy = xdc.useModule("ti.sysbios.family.arm.v8a.Cache");
60/* System.SupportProxy = SysUart; */ 60/* System.SupportProxy = SysUart; */
61System.SupportProxy = SysMin; 61System.SupportProxy = SysMin;
62 62
63/* 63/*
64 * Program.argSize sets the size of the .args section. 64 * Program.argSize sets the size of the .args section.
65 * The examples don't use command line args so argSize is set to 0. 65 * The examples don't use command line args so argSize is set to 0.
66 */ 66 */
67Program.argSize = 0x0; 67Program.argSize = 0x0;
@@ -69,7 +69,7 @@ Program.argSize = 0x0;
69/* 69/*
70 * Uncomment this line to globally disable Asserts. 70 * Uncomment this line to globally disable Asserts.
71 * All modules inherit the default from the 'Defaults' module. You 71 * All modules inherit the default from the 'Defaults' module. You
72 * can override these defaults on a per-module basis using Module.common$. 72 * can override these defaults on a per-module basis using Module.common$.
73 * Disabling Asserts will save code space and improve runtime performance. 73 * Disabling Asserts will save code space and improve runtime performance.
74Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF; 74Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
75 */ 75 */
@@ -95,10 +95,10 @@ Memory.defaultHeapInstance = heap0;
95 * an array of functions that are registered with System_atexit() to be 95 * an array of functions that are registered with System_atexit() to be
96 * called by System_exit(). 96 * called by System_exit().
97 */ 97 */
98System.maxAtexitHandlers = 4; 98System.maxAtexitHandlers = 4;
99 99
100/* 100/*
101 * Uncomment this line to disable the Error print function. 101 * Uncomment this line to disable the Error print function.
102 * We lose error information when this is disabled since the errors are 102 * We lose error information when this is disabled since the errors are
103 * not printed. Disabling the raiseHook will save some code space if 103 * not printed. Disabling the raiseHook will save some code space if
104 * your app is not using System_printf() since the Error_print() function 104 * your app is not using System_printf() since the Error_print() function
@@ -106,7 +106,7 @@ System.maxAtexitHandlers = 4;
106Error.raiseHook = null; 106Error.raiseHook = null;
107 */ 107 */
108 108
109/* 109/*
110 * Uncomment this line to keep Error, Assert, and Log strings from being 110 * Uncomment this line to keep Error, Assert, and Log strings from being
111 * loaded on the target. These strings are placed in the .const section. 111 * loaded on the target. These strings are placed in the .const section.
112 * Setting this parameter to false will save space in the .const section. 112 * Setting this parameter to false will save space in the .const section.
@@ -122,7 +122,7 @@ Text.isLoaded = false;
122SysMin.flushAtExit = false; 122SysMin.flushAtExit = false;
123 */ 123 */
124 124
125/* 125/*
126 * The BIOS module will create the default heap for the system. 126 * The BIOS module will create the default heap for the system.
127 * Specify the size of this default heap. 127 * Specify the size of this default heap.
128 * 128 *
@@ -133,7 +133,7 @@ Program.stack = 0x4000;
133 133
134Task.defaultStackSize = 0x4000; 134Task.defaultStackSize = 0x4000;
135 135
136/* 136/*
137 * Create and install logger for the whole system 137 * Create and install logger for the whole system
138 */ 138 */
139var loggerBufParams = new LoggerBuf.Params(); 139var loggerBufParams = new LoggerBuf.Params();
@@ -144,7 +144,7 @@ Main.common$.diags_INFO = Diags.ALWAYS_ON;
144 144
145BIOS.libType = BIOS.LibType_Custom; 145BIOS.libType = BIOS.LibType_Custom;
146 146
147BIOS.cpuFreq.lo = 800000000; 147BIOS.cpuFreq.lo = 800000000;
148BIOS.cpuFreq.hi = 0; 148BIOS.cpuFreq.hi = 0;
149 149
150var Timer = xdc.useModule('ti.sysbios.family.arm.v8a.Timer'); 150var Timer = xdc.useModule('ti.sysbios.family.arm.v8a.Timer');
@@ -171,7 +171,7 @@ task0Params.priority = 5;
171task0Params.instance.name = "task0"; 171task0Params.instance.name = "task0";
172task0Params.stackSize = 16*1024; 172task0Params.stackSize = 16*1024;
173 173
174var Clock = xdc.useModule('ti.sysbios.knl.Clock'); 174var Clock = xdc.useModule('ti.sysbios.knl.Clock');
175Clock.tickPeriod = 1000; 175Clock.tickPeriod = 1000;
176 176
177var Load = xdc.useModule('ti.sysbios.utils.Load'); 177var Load = xdc.useModule('ti.sysbios.utils.Load');
@@ -179,16 +179,16 @@ var Load = xdc.useModule('ti.sysbios.utils.Load');
179var Diags = xdc.useModule('xdc.runtime.Diags'); 179var Diags = xdc.useModule('xdc.runtime.Diags');
180Load.common$.diags_USER4 = Diags.ALWAYS_ON; 180Load.common$.diags_USER4 = Diags.ALWAYS_ON;
181 181
182/* allocate a config-params object */ 182/* allocate a config-params object */
183var HeapParam = new HeapMem.Params; 183var HeapParam = new HeapMem.Params;
184 184
185/* optionally assign per-instance configs */ 185/* optionally assign per-instance configs */
186HeapParam.size = 200000; 186HeapParam.size = 200000;
187 187
188/* create an instance-object */ 188/* create an instance-object */
189Program.global.myHeap = HeapMem.create(HeapParam); 189Program.global.myHeap = HeapMem.create(HeapParam);
190 190
191 191
192var Load = xdc.useModule('ti.sysbios.utils.Load'); 192var Load = xdc.useModule('ti.sysbios.utils.Load');
193 // Load.common$.logger = loggerBuf0; 193 // Load.common$.logger = loggerBuf0;
194var Diags = xdc.useModule('xdc.runtime.Diags'); 194var Diags = xdc.useModule('xdc.runtime.Diags');
@@ -196,8 +196,8 @@ Load.common$.diags_USER4 = Diags.ALWAYS_ON;
196 196
197// Program.sectMap[".text"] = "DDR"; 197// Program.sectMap[".text"] = "DDR";
198// Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "DDR"; 198// Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "DDR";
199Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "MSMC_SRAM"; 199Program.sectMap[".ti_sysbios_family_arm_v8a_Mmu_tableArray"] = "MSMC_MPU1";
200//Program.sectMap[".c_int00"] = "MSMC_SRAM"; 200//Program.sectMap[".c_int00"] = "MSMC_MPU1";
201Program.sectMap[".bss:.tx_buf"] = "DDR_0"; 201Program.sectMap[".bss:.tx_buf"] = "DDR_MPU1";
202Program.sectMap[".bss:.rx_buf"] = "DDR_0"; 202Program.sectMap[".bss:.rx_buf"] = "DDR_MPU1";
203 203