Ignore:
Timestamp:
Aug 14, 2013, 11:19:29 PM (11 years ago)
Author:
alain
Message:

1/ introducing support to display images on the frame buffer
with the vci_chbuf_dma (in stdio.c and drivers.c)
2/ introducing support for mem_cache configuration segment
as the memory cache is considered as another addressable peripheral type
(in drivers.c)
3/ Introducing the new "increment" parameter in the mapping header.
This parameter define the virtual address increment for the vsegs
associated to the replicated peripherals (ICU, XICU, MDMA, TIMER, MMC).
This parameter is mandatory, and all map.xml files the "mappings"
directory have been updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/mappings/4c_1p_display.xml

    r249 r253  
    55              cluster_x    = "2"
    66              cluster_y    = "2"
    7               vspaces      = "1">
     7              vspaces      = "1"
     8              increment    = "0x10000 >
    89
    910*** This first section describes an instance of the "tsar_generic_iob" architecture
     
    1415        <cluster index = "0" >
    1516            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x0000000000" length = "0x0010000000" />
    16             <pseg name = "PSEG_XICU" type = "PERI" base = "0x00B0000000" length = "0x0000002000" />
     17            <pseg name = "PSEG_XCU" type = "PERI" base = "0x00B0000000" length = "0x0000002000" />
    1718            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x00B1000000" length = "0x0000008000" />
    1819            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x00B2000000" length = "0x0000001000" />
     
    5051
    5152            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4"  />
    52             <periph type = "XICU" psegname = "PSEG_XICU" channels = "18" />
     53            <periph type = "XCU"  psegname = "PSEG_XCU" channels = "18" />
    5354            <periph type = "MMC"  psegname = "PSEG_MMC" channels = "1"  />
    5455            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  />
     
    6263        <cluster index = "1" >
    6364            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x4000000000" length = "0x0010000000" />
    64             <pseg name = "PSEG_XICU" type = "PERI" base = "0x40B0000000" length = "0x0000002000" />
     65            <pseg name = "PSEG_XCU" type = "PERI" base = "0x40B0000000" length = "0x0000002000" />
    6566            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x40B1000000" length = "0x0000008000" />
    6667            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x40B2000000" length = "0x0000001000" />
     
    7273
    7374            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4" />
    74             <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
     75            <periph type = "XCU"  psegname = "PSEG_XCU" channels = "2" />
    7576            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1" />
    7677        </cluster>
     
    7879        <cluster index = "2" >
    7980            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x8000000000" length = "0x0010000000" />
    80             <pseg name = "PSEG_XICU" type = "PERI" base = "0x80B0000000" length = "0x0000002000" />
     81            <pseg name = "PSEG_XCU" type = "PERI" base = "0x80B0000000" length = "0x0000002000" />
    8182            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x80B1000000" length = "0x0000008000" />
    8283            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x80B2000000" length = "0x0000001000" />
     
    8889
    8990            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4" />
    90             <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
     91            <periph type = "XCU"  psegname = "PSEG_XCU" channels = "2" />
    9192            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1" />
    9293        </cluster>
     
    9495        <cluster index = "3" >
    9596            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0xC000000000" length = "0x0010000000" />
    96             <pseg name = "PSEG_XICU" type = "PERI" base = "0xC0B0000000" length = "0x0000002000" />
     97            <pseg name = "PSEG_XCU" type = "PERI" base = "0xC0B0000000" length = "0x0000002000" />
    9798            <pseg name = "PSEG_DMA"  type = "PERI" base = "0xC0B1000000" length = "0x0000008000" />
    9899            <pseg name = "PSEG_MMC"  type = "PERI" base = "0xC0B2000000" length = "0x0000001000" />
     
    104105
    105106            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4" />
    106             <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
     107            <periph type = "XCU"  psegname = "PSEG_XCU" channels = "2" />
    107108            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1" />
    108109        </cluster>
     
    163164        </vseg>
    164165
    165 *** segments for replicated ICUS / A[31:28] = 0xE / Increment = 0x100000             
    166 
    167         <vseg name = "seg_icu_0"          vbase = "0xE0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_XICU" >
     166*** segments for replicated ICUS / A[31:28] = 0xE / Increment = 0x10000             
     167
     168        <vseg name = "seg_icu_0"          vbase = "0xE0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_XCU" >
    168169            <vobj name = "icu_0"          type = "PERI" length  = "0x00001000" />
    169170        </vseg>
    170         <vseg name = "seg_icu_1"          vbase = "0xE0100000" mode = "__W_" clusterid = "1" psegname = "PSEG_XICU" >
     171        <vseg name = "seg_icu_1"          vbase = "0xE0010000" mode = "__W_" clusterid = "1" psegname = "PSEG_XCU" >
    171172            <vobj name = "icu_1"          type = "PERI" length  = "0x00001000" />
    172173        </vseg>
    173         <vseg name = "seg_icu_2"          vbase = "0xE0200000" mode = "__W_" clusterid = "2" psegname = "PSEG_XICU" >
     174        <vseg name = "seg_icu_2"          vbase = "0xE0020000" mode = "__W_" clusterid = "2" psegname = "PSEG_XCU" >
    174175            <vobj name = "icu_2"          type = "PERI" length  = "0x00001000" />
    175176        </vseg>
    176         <vseg name = "seg_icu_3"          vbase = "0xE0300000" mode = "__W_" clusterid = "3" psegname = "PSEG_XICU" >
     177        <vseg name = "seg_icu_3"          vbase = "0xE0030000" mode = "__W_" clusterid = "3" psegname = "PSEG_XCU" >
    177178            <vobj name = "icu_3"          type = "PERI" length  = "0x00001000" />
    178179        </vseg>
    179180
    180 *** segments for replicated DMAs / A[31:28] = 0xD / Increment = 0x100000
     181*** segments for replicated DMAs / A[31:28] = 0xD / Increment = 0x10000
    181182
    182183        <vseg name = "seg_dma_0"          vbase = "0xD0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_DMA" >
    183184            <vobj name = "dma_0"          type = "PERI" length  = "0x00008000" />
    184185        </vseg>
    185         <vseg name = "seg_dma_1"          vbase = "0xD0100000" mode = "__W_" clusterid = "1" psegname = "PSEG_DMA" >
     186        <vseg name = "seg_dma_1"          vbase = "0xD0010000" mode = "__W_" clusterid = "1" psegname = "PSEG_DMA" >
    186187            <vobj name = "dma_1"          type = "PERI" length  = "0x00008000" />
    187188        </vseg>
    188         <vseg name = "seg_dma_2"          vbase = "0xD0200000" mode = "__W_" clusterid = "2" psegname = "PSEG_DMA" >
     189        <vseg name = "seg_dma_2"          vbase = "0xD0020000" mode = "__W_" clusterid = "2" psegname = "PSEG_DMA" >
    189190            <vobj name = "dma_2"          type = "PERI" length  = "0x00008000" />
    190191        </vseg>
    191         <vseg name = "seg_dma_3"          vbase = "0xD0300000" mode = "__W_" clusterid = "3" psegname = "PSEG_DMA" >
     192        <vseg name = "seg_dma_3"          vbase = "0xD0030000" mode = "__W_" clusterid = "3" psegname = "PSEG_DMA" >
    192193            <vobj name = "dma_3"          type = "PERI" length  = "0x00008000" />
    193194        </vseg>
    194195
    195 *** segments for replicated MMC / A[31:28] = 0xC / Increment = 0x100000
     196*** segments for replicated MMC / A[31:28] = 0xC / Increment = 0x10000
    196197
    197198        <vseg name = "seg_memc_0"         vbase = "0xC0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_MMC" >
    198199            <vobj name = "memc_0"         type = "PERI" length  = "0x00001000" />
    199200        </vseg>
    200         <vseg name = "seg_memc_1"         vbase = "0xC0100000" mode = "__W_" clusterid = "1" psegname = "PSEG_MMC" >
     201        <vseg name = "seg_memc_1"         vbase = "0xC0010000" mode = "__W_" clusterid = "1" psegname = "PSEG_MMC" >
    201202            <vobj name = "memc_1"         type = "PERI" length  = "0x00001000" />
    202203        </vseg>
    203         <vseg name = "seg_memc_2"         vbase = "0xC0200000" mode = "__W_" clusterid = "2" psegname = "PSEG_MMC" >
     204        <vseg name = "seg_memc_2"         vbase = "0xC0020000" mode = "__W_" clusterid = "2" psegname = "PSEG_MMC" >
    204205            <vobj name = "memc_2"         type = "PERI" length  = "0x00001000" />
    205206        </vseg>
    206         <vseg name = "seg_memc_3"         vbase = "0xC0300000" mode = "__W_" clusterid = "3" psegname = "PSEG_MMC" >
     207        <vseg name = "seg_memc_3"         vbase = "0xC0030000" mode = "__W_" clusterid = "3" psegname = "PSEG_MMC" >
    207208            <vobj name = "memc_3"         type = "PERI" length  = "0x00001000" />
    208209        </vseg>
    209210
    210 *** segments for replicated schedulers / A[31:28] = 0xF / Increment = 0x100000
     211*** segments for replicated schedulers / A[31:28] = 0xF / Increment = 0x10000
    211212
    212213        <vseg name = "seg_sched_0"        vbase = "0xF0000000" mode = "C_W_" clusterid = "0" psegname = "PSEG_RAM" >
    213214            <vobj name = "sched_0"        type = "SCHED" length  = "0x00008000" />
    214215        </vseg>
    215         <vseg name = "seg_sched_1"        vbase = "0xF0100000" mode = "C_W_" clusterid = "1" psegname = "PSEG_RAM" >
     216        <vseg name = "seg_sched_1"        vbase = "0xF0010000" mode = "C_W_" clusterid = "1" psegname = "PSEG_RAM" >
    216217            <vobj name = "sched_1"        type = "SCHED" length  = "0x00008000" />
    217218        </vseg>
    218         <vseg name = "seg_sched_2"        vbase = "0xF0200000" mode = "C_W_" clusterid = "2" psegname = "PSEG_RAM" >
     219        <vseg name = "seg_sched_2"        vbase = "0xF0020000" mode = "C_W_" clusterid = "2" psegname = "PSEG_RAM" >
    219220            <vobj name = "sched_2"        type = "SCHED" length  = "0x00008000" />
    220221        </vseg>
    221         <vseg name = "seg_sched_3"        vbase = "0xF0300000" mode = "C_W_" clusterid = "3" psegname = "PSEG_RAM" >
     222        <vseg name = "seg_sched_3"        vbase = "0xF0030000" mode = "C_W_" clusterid = "3" psegname = "PSEG_RAM" >
    222223            <vobj name = "sched_3"        type = "SCHED" length  = "0x00008000" />
    223224        </vseg>
Note: See TracChangeset for help on using the changeset viewer.