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_40.xml

    r245 r253  
    55              cluster_x    = "2"
    66              cluster_y    = "2"
    7               vspaces      = "4">
     7              vspaces      = "4"
     8              increment    = "0x0010000" >
    89
    910*** This first section describes an instance of the "tsar_generic_xbar" 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
     
    4546                <irq type = "HARD" icuid = "29" isr = "ISR_TTY" channel = "13" />
    4647                <irq type = "HARD" icuid = "30" isr = "ISR_TTY" channel = "14" />
    47                 <irq type = "HARD" icuid = "31" isr = "ISR_IOC" />
     48                <irq type = "HARD" icuid = "31" isr = "ISR_IOC" channel = "0" />
    4849            </proc>
    4950
    5051            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4" />
    51             <periph type = "XICU" psegname = "PSEG_XICU" channels = "18" />
     52            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "1" />
    5253            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" />
    5354            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "8" />
     
    5859        <cluster index = "1" >
    5960            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x4000000000" length = "0x0010000000" />
    60             <pseg name = "PSEG_XICU" type = "PERI" base = "0x40B0000000" length = "0x0000002000" />
     61            <pseg name = "PSEG_XCU" type = "PERI" base = "0x40B0000000" length = "0x0000002000" />
    6162            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x40B1000000" length = "0x0000008000" />
    6263
     
    6768
    6869            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4" />
    69             <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
     70            <periph type = "XCU"  psegname = "PSEG_XCU" channels = "2" />
    7071        </cluster>
    7172
    7273        <cluster index = "2" >
    7374            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x8000000000" length = "0x0010000000" />
    74             <pseg name = "PSEG_XICU" type = "PERI" base = "0x80B0000000" length = "0x0000002000" />
     75            <pseg name = "PSEG_XCU" type = "PERI" base = "0x80B0000000" length = "0x0000002000" />
    7576            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x80B1000000" length = "0x0000008000" />
    7677
     
    8182
    8283            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "4" />
    83             <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
     84            <periph type = "XCU"  psegname = "PSEG_XCU" channels = "2" />
    8485        </cluster>
    8586
    8687        <cluster index = "3" >
    8788            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0xC000000000" length = "0x0010000000" />
    88             <pseg name = "PSEG_XICU" type = "PERI" base = "0xC0B0000000" length = "0x0000002000" />
     89            <pseg name = "PSEG_XCU" type = "PERI" base = "0xC0B0000000" length = "0x0000002000" />
    8990            <pseg name = "PSEG_DMA"  type = "PERI" base = "0xC0B1000000" length = "0x0000008000" />
    9091
     
    9596
    9697            <periph  type = "DMA" psegname = "PSEG_DMA"  channels = "4" />
    97             <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
     98            <periph  type = "XCU" psegname = "PSEG_XCU" channels = "2" />
    9899        </cluster>
    99100    </clusterset>
    100 
    101 
    102101
    103102    <globalset>
     
    148147        </vseg>
    149148
    150 *** Replicated ICUS / A[31:28] = 0xE / Increment = 0x100000             
    151 
    152         <vseg name = "seg_icu_0"          vbase = "0xE0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_XICU" >
     149*** Replicated ICUS / A[31:28] = 0xE / Increment = 0x10000             
     150
     151        <vseg name = "seg_icu_0"          vbase = "0xE0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_XCU" >
    153152            <vobj name = "icu_0"          type = "PERI" length  = "0x00001000" />
    154153        </vseg>
    155         <vseg name = "seg_icu_1"          vbase = "0xE0100000" mode = "__W_" clusterid = "1" psegname = "PSEG_XICU" >
     154        <vseg name = "seg_icu_1"          vbase = "0xE0010000" mode = "__W_" clusterid = "1" psegname = "PSEG_XCU" >
    156155            <vobj name = "icu_1"          type = "PERI" length  = "0x00001000" />
    157156        </vseg>
    158         <vseg name = "seg_icu_2"          vbase = "0xE0200000" mode = "__W_" clusterid = "2" psegname = "PSEG_XICU" >
     157        <vseg name = "seg_icu_2"          vbase = "0xE0020000" mode = "__W_" clusterid = "2" psegname = "PSEG_XCU" >
    159158            <vobj name = "icu_2"          type = "PERI" length  = "0x00001000" />
    160159        </vseg>
    161         <vseg name = "seg_icu_3"          vbase = "0xE0300000" mode = "__W_" clusterid = "3" psegname = "PSEG_XICU" >
     160        <vseg name = "seg_icu_3"          vbase = "0xE0030000" mode = "__W_" clusterid = "3" psegname = "PSEG_XCU" >
    162161            <vobj name = "icu_3"          type = "PERI" length  = "0x00001000" />
    163162        </vseg>
    164163
    165 *** Replicated DMAs / A[31:28] = 0xD / Increment = 0x100000
     164*** Replicated DMAs / A[31:28] = 0xD / Increment = 0x10000
    166165
    167166        <vseg name = "seg_dma_0"          vbase = "0xD0000000" mode = "__W_" clusterid = "0" psegname = "PSEG_DMA" >
    168167            <vobj name = "dma_0"          type = "PERI" length  = "0x00008000" />
    169168        </vseg>
    170         <vseg name = "seg_dma_1"          vbase = "0xD0100000" mode = "__W_" clusterid = "1" psegname = "PSEG_DMA" >
     169        <vseg name = "seg_dma_1"          vbase = "0xD0010000" mode = "__W_" clusterid = "1" psegname = "PSEG_DMA" >
    171170            <vobj name = "dma_1"          type = "PERI" length  = "0x00008000" />
    172171        </vseg>
    173         <vseg name = "seg_dma_2"          vbase = "0xD0200000" mode = "__W_" clusterid = "2" psegname = "PSEG_DMA" >
     172        <vseg name = "seg_dma_2"          vbase = "0xD0020000" mode = "__W_" clusterid = "2" psegname = "PSEG_DMA" >
    174173            <vobj name = "dma_2"          type = "PERI" length  = "0x00008000" />
    175174        </vseg>
    176         <vseg name = "seg_dma_3"          vbase = "0xD0300000" mode = "__W_" clusterid = "3" psegname = "PSEG_DMA" >
     175        <vseg name = "seg_dma_3"          vbase = "0xD0030000" mode = "__W_" clusterid = "3" psegname = "PSEG_DMA" >
    177176            <vobj name = "dma_3"          type = "PERI" length  = "0x00008000" />
    178177        </vseg>
    179178
    180 *** Replicated schedulers / A[31:28] = 0xF / Increment = 0x100000
     179*** Replicated schedulers / A[31:28] = 0xF / Increment = 0x10000
    181180
    182181        <vseg name = "seg_sched_0"        vbase = "0xF0000000" mode = "C_W_" clusterid = "0" psegname = "PSEG_RAM" >
    183182            <vobj name = "sched_0"        type = "SCHED" length  = "0x00008000" />
    184183        </vseg>
    185         <vseg name = "seg_sched_1"        vbase = "0xF0100000" mode = "C_W_" clusterid = "1" psegname = "PSEG_RAM" >
     184        <vseg name = "seg_sched_1"        vbase = "0xF0010000" mode = "C_W_" clusterid = "1" psegname = "PSEG_RAM" >
    186185            <vobj name = "sched_1"        type = "SCHED" length  = "0x00008000" />
    187186        </vseg>
    188         <vseg name = "seg_sched_2"        vbase = "0xF0200000" mode = "C_W_" clusterid = "2" psegname = "PSEG_RAM" >
     187        <vseg name = "seg_sched_2"        vbase = "0xF0020000" mode = "C_W_" clusterid = "2" psegname = "PSEG_RAM" >
    189188            <vobj name = "sched_2"        type = "SCHED" length  = "0x00008000" />
    190189        </vseg>
    191         <vseg name = "seg_sched_3"        vbase = "0xF0300000" mode = "C_W_" clusterid = "3" psegname = "PSEG_RAM" >
     190        <vseg name = "seg_sched_3"        vbase = "0xF0030000" mode = "C_W_" clusterid = "3" psegname = "PSEG_RAM" >
    192191            <vobj name = "sched_3"        type = "SCHED" length  = "0x00008000" />
    193192        </vseg>
Note: See TracChangeset for help on using the changeset viewer.