From 7b96963d34ad7e574866311131a8dbfef61ced55 Mon Sep 17 00:00:00 2001 From: Dhaval Khandla Date: Fri, 22 Dec 2023 14:23:13 +0530 Subject: [PATCH] am64x/am243x: endat: Increase available MSRAM size for application - Debug mode application is slightly above 256 KB in size, which caused linker failure - Increase the MSRAM MEMORY size to 512 KB Fixes: PINDSW-7142 Signed-off-by: Dhaval Khandla --- .../am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- .../am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 68996ec..7c2442d 100644 --- a/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -134,7 +134,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 6078ee0..fffbb6d 100644 --- a/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/multi_channel_load_share/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -133,7 +133,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/multi_channel_load_share/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/multi_channel_load_share/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 6dccfcd..dfa672a 100644 --- a/examples/position_sense/endat_diagnostic/multi_channel_load_share/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/multi_channel_load_share/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -134,7 +134,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 68996ec..7c2442d 100644 --- a/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -134,7 +134,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 6078ee0..fffbb6d 100644 --- a/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -133,7 +133,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 6dccfcd..dfa672a 100644 --- a/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/multi_channel_single_pru/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -134,7 +134,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/single_channel/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/single_channel/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 68996ec..7c2442d 100644 --- a/examples/position_sense/endat_diagnostic/single_channel/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/single_channel/am243x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -134,7 +134,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/single_channel/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/single_channel/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 6078ee0..fffbb6d 100644 --- a/examples/position_sense/endat_diagnostic/single_channel/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/single_channel/am243x-lp/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -133,7 +133,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable diff --git a/examples/position_sense/endat_diagnostic/single_channel/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd b/examples/position_sense/endat_diagnostic/single_channel/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd index 6dccfcd..dfa672a 100644 --- a/examples/position_sense/endat_diagnostic/single_channel/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd +++ b/examples/position_sense/endat_diagnostic/single_channel/am64x-evm/r5fss0-0_freertos/ti-arm-clang/linker.cmd @@ -134,7 +134,7 @@ MEMORY /* when using multi-core application's i.e more than one R5F/M4F active, make sure * this memory does not overlap with other R5F's */ - MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x40000 + MSRAM : ORIGIN = 0x70080000 , LENGTH = 0x80000 /* This section can be used to put XIP section of the application in flash, make sure this does not overlap with * other CPUs. Also make sure to add a MPU entry for this section and mark it as cached and code executable