summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSinthu Raja M2019-04-11 01:55:47 -0500
committerMahesh Radhakrishnan2019-06-17 17:17:13 -0500
commit8da55681d43d3964a32e63b4f4d729d5427ce724 (patch)
tree4542154a2f2820bc56b702f6465943eaba270435
parent5ca039526714ce7ee17f3f555e54bb5f9188e01b (diff)
downloadosal-8da55681d43d3964a32e63b4f4d729d5427ce724.tar.gz
osal-8da55681d43d3964a32e63b4f4d729d5427ce724.tar.xz
osal-8da55681d43d3964a32e63b4f4d729d5427ce724.zip
PRSDk-3872 Fix OSAL RTOS Example issue
Issue: OSAL RTOS example fails when load through SD card or UART mode, because the linker loads the mmu table section in the location 0x80000000. This address will be get loaded from the SBL which looks for the startupcode c_int00 which wioll be missing. Fix: Use Programs.sectionsExclude option in project configuration to override linker to prevent loading any ouput section.
-rw-r--r--test/am335x/armv7/bios/am335x_app_evmam335x.cfg11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/am335x/armv7/bios/am335x_app_evmam335x.cfg b/test/am335x/armv7/bios/am335x_app_evmam335x.cfg
index e8fd039..411fba0 100644
--- a/test/am335x/armv7/bios/am335x_app_evmam335x.cfg
+++ b/test/am335x/armv7/bios/am335x_app_evmam335x.cfg
@@ -6,7 +6,7 @@
6 */ 6 */
7 7
8/* 8/*
9 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ 9 * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
10 * 10 *
11 * Redistribution and use in source and binary forms, with or without 11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions 12 * modification, are permitted provided that the following conditions
@@ -149,7 +149,14 @@ BIOS.customCCOpts = BIOS.customCCOpts.replace("-o3", "-o0");
149 * The BIOS module will create the default heap for the system. 149 * The BIOS module will create the default heap for the system.
150 * Specify the size of this default heap. 150 * Specify the size of this default heap.
151 */ 151 */
152BIOS.heapSize = 0x1000; 152BIOS.heapSize = 0x8000;
153
154/*
155 * To completely override the placement of all output sections
156 * This will prevent sections loading into the start offset
157 * of the application.
158 */
159Program.sectionsExclude = ".*";
153 160
154/* ================ Task configuration ================ */ 161/* ================ Task configuration ================ */
155 162