Changes between Version 10 and Version 11 of GCI/Coding/AddPerSectionSupportToBSPs


Ignore:
Timestamp:
Oct 29, 2018, 2:30:52 PM (12 months ago)
Author:
Vijay Kumar Banerjee
Comment:

update make/custom/BSP.cfg and CPU/BSP/startup reference

Legend:

Unmodified
Added
Removed
Modified
  • GCI/Coding/AddPerSectionSupportToBSPs

    v10 v11  
    1313**Pre-Requisite**: You '''must''' have completed "Getting Started: Hello World" or the equivalent of [wiki:GSoC/GettingStarted Getting Started for GSoC Students] before attempting this task.
    1414
    15 This task consists of turning on this capability for a specific BSP family. A BSP family is the collection of BSPs under a single directory such as bsps/CPU/BSP_FAMILY. The make/custom directory has a BSP.cfg file for each BSP which may be built. If the BSP Family supports multiple BSP variants, the BSP.cfg files may include either a shared ".inc" file or a base ".cfg" file with common settings.
     15This task consists of turning on this capability for a specific BSP family. A BSP family is the collection of BSPs under a single directory such as bsps/CPU/BSP_FAMILY. The bsps/CPU/BSP/config/ directory has a BSP.cfg file for each BSP which may be built. If the BSP Family supports multiple BSP variants, the BSP.cfg files may include either a shared ".inc" file or a base ".cfg" file with common settings.
    1616
    17 All BSPS for the SPARC architecture support this advanced capability. For an example, see the file bsps/sparc/erc32/make/custom/erc32.cfg. Note the following lines at the bottom of the file which turn on the advanced capabilities.
     17All BSPS for the SPARC architecture support this advanced capability. For an example, see the file bsps/sparc/erc32/config/erc32.cfg. Note the following lines at the bottom of the file which turn on the advanced capabilities.
    1818
    1919{{{
     
    2929KEEP
    3030}}}
    31 macro to such sections. See for example bsps/sparc/shared/startup/linkcmds.base which has already been tailored. Each BSP will have a linkcmds file which may or may not include a shared base file.
     31macro to such sections. See for example bsps/sparc/shared/start/linkcmds.base which has already been tailored. Each BSP will have a linkcmds file which may or may not include a shared base file.
    3232
    3333=== Task Requirements ===
     
    8080* Edit one or more .cfg and .inc files to add the appropriate options to CFLAGS_OPTIMIZE_V and LDFLAGS as shown in the previous section.
    8181
    82 * Edit one or more linkcmds files located within either bsps/CPU/BSP/startup/ or bsps/CPU/shared/startup to add the KEEP directives.
     82* Edit one or more linkcmds files located within either bsps/CPU/BSP/start/ or bsps/CPU/shared/start to add the KEEP directives.
    8383
    8484Using the "build_bsp" script, rebuild each the BSP variants in the BSP Family and again keep a running record of the sizes. The before and after size information is a critical part of the commit information.