[PATCH] GSoC: Cache configurations Raspberry Pi 2 support
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Jul 28 06:57:44 UTC 2015
On 24/07/15 21:55, Rohini Kulkarni wrote:
> Hi,
>
> I have attached the report containing outputs of arm-rtems4.11-size
> and arm-rtems4.11-nm -S.
>
> From arm-rtems4.11-nm -S I don't see how memset() is accessing .text
> section. The start and end values for both are not overlapping.
Maybe this patch helps:
diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds
b/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds
index f1ad11c..f3b6232 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds
+++ b/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds
@@ -62,7 +62,8 @@ REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM);
bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size
: 4096;
bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size
: 1024;
-bsp_section_robarrier_align = DEFINED (bsp_section_robarrier_align) ?
bsp_section_robarrier_align : 1M;
+bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ?
bsp_section_rwbarrier_align : 1M;
+
bsp_translation_table_base = ORIGIN (RAM_MMU);
INCLUDE linkcmds.armv4
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list