source: rtems/c/src/lib/libbsp/arm/beagle/startup/linkcmds.beagle @ cbc433c7

4.115
Last change on this file since cbc433c7 was cbc433c7, checked in by Sebastian Huber <sebastian.huber@…>, on 11/25/14 at 07:40:20

bsps/arm: Add .nocache section

This section can be use to provide a cache coherent memory area via
rtems_cache_coherent_add_area().

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup  arm_beagle
5 *
6 * @brief Linker script for beagles.
7 */
8
9MEMORY {
10  /* Beagleboards and beaglebones all
11   * have either 256M or 512M memory. We just
12   * use 256M for all.
13   */
14  RAM      : ORIGIN = 0x80000000, LENGTH = 256M - 4M
15  RAM_MMU  : ORIGIN = 0x80000000 + 256M - 4M, LENGTH = 16k
16}
17
18REGION_ALIAS ("REGION_START",          RAM);
19REGION_ALIAS ("REGION_VECTOR",         RAM);
20REGION_ALIAS ("REGION_TEXT",           RAM);
21REGION_ALIAS ("REGION_TEXT_LOAD",      RAM);
22REGION_ALIAS ("REGION_RODATA",         RAM);
23REGION_ALIAS ("REGION_RODATA_LOAD",    RAM);
24REGION_ALIAS ("REGION_DATA",           RAM);
25REGION_ALIAS ("REGION_DATA_LOAD",      RAM);
26REGION_ALIAS ("REGION_FAST_TEXT",      RAM);
27REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
28REGION_ALIAS ("REGION_FAST_DATA",      RAM);
29REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
30REGION_ALIAS ("REGION_BSS",            RAM);
31REGION_ALIAS ("REGION_WORK",           RAM);
32REGION_ALIAS ("REGION_STACK",          RAM);
33REGION_ALIAS ("REGION_NOCACHE",        RAM);
34REGION_ALIAS ("REGION_NOCACHE_LOAD",   RAM);
35
36bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size : 4096;
37bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
38
39bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
40
41bsp_vector_table_in_start_section = 1;
42
43bsp_translation_table_base = ORIGIN (RAM_MMU);
44bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
45
46INCLUDE linkcmds.armv4
47
48HeapSize = 1024 * 1024;
Note: See TracBrowser for help on using the repository browser.