Fwd: Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Aug 11 14:26:26 UTC 2015
Hi
Has this been tried?
-------- Forwarded Message --------
Subject: Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support
Date: Tue, 28 Jul 2015 01:57:44 -0500
From: Sebastian Huber <sebastian.huber at embedded-brains.de>
To: Rohini Kulkarni <krohini1593 at gmail.com>, Gedare Bloom <gedare at gwu.edu>
CC: rtems-devel at rtems.org <devel at rtems.org>
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.
_______________________________________________
devel mailing list
devel at rtems.org
http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list