Changeset 289 for soft/giet_vm/mappings


Ignore:
Timestamp:
Feb 4, 2014, 2:16:37 AM (11 years ago)
Author:
cfuguet
Message:

Modifications on GIET-VM IOC driver:

  • Introducing new layer on the IOC driver. Every call to ioc_read, ioc_write, ioc_get_block_size or ioc_init

functions will call the specific driver of the used IOC
controller. Supported IOC controllers are (for now) :

  1. BDV (Soclib Block Device)
  2. HBA
  3. SPI (SDCARD - SPI controller)
  • All functions of IOC controllers drivers respect the same interface.
  • To specify the used IOC controller of the platform, a subtype field has been introduced on the map.xml file. This subtype field must be declared on the IOC periph instantiation. Available subtypes (for now) : BDV, HBA or SPI.
Location:
soft/giet_vm/mappings
Files:
5 edited

Legend:

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

    r287 r289  
    5353            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "4"  />
    5454            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
    55             <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" />
     55            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" subtype = "BDV" />
    5656            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "8"  />
    5757            <periph type = "NIC"  psegname = "PSEG_NIC"  channels = "2"  />
  • soft/giet_vm/mappings/4c_1p_iob_four.xml

    r287 r289  
    7272            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "1"  />
    7373            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
    74             <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" />
     74            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" subtype = "BDV" />
    7575            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "8"  />
    7676            <periph type = "NIC"  psegname = "PSEG_NIC"  channels = "2"  />
  • soft/giet_vm/mappings/4c_1p_iob_sort.xml

    r287 r289  
    7272            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "1"  />
    7373            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
    74             <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  />
    75             <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "5" />
     74            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  subtype = "BDV" />
     75            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "5"  />
    7676            <periph type = "NIC"  psegname = "PSEG_NIC"  channels = "2"  />
    7777            <periph type = "CMA"  psegname = "PSEG_CMA"  channels = "4"  />
  • soft/giet_vm/mappings/4c_1p_sort.xml

    r287 r289  
    5050            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "1"  />
    5151            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
    52             <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  />
    53             <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "5" />
     52            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  subtype = "BDV" />
     53            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "9" />
    5454            <periph type = "NIC"  psegname = "PSEG_NIC"  channels = "2"  />
    5555            <periph type = "CMA"  psegname = "PSEG_CMA"  channels = "4"  />
     
    126126        </vseg>
    127127        <vseg name = "seg_boot_buffer"    vbase = "0x00040000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
    128             <vobj name = "boot_buffer"    type = "BUFFER" length = "0x00020000" />
    129         </vseg>
    130         <vseg name = "seg_boot_stack"     vbase = "0x00060000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
     128            <vobj name = "boot_buffer"    type = "BUFFER" length = "0x00080000" />
     129        </vseg>
     130        <vseg name = "seg_boot_stack"     vbase = "0x000C0000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
    131131            <vobj name = "boot_stack"     type = "BUFFER" length = "0x00090000" />
    132132        </vseg>
  • soft/giet_vm/mappings/4c_1p_sort_chiplet.xml

    r287 r289  
    3838            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "4"  />
    3939            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
    40             <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" />
     40            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1" subtype = "SPI" />
    4141            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "1" />
    4242            <periph type = "ROM"  psegname = "PSEG_ROM"  channels = "1"  />
Note: See TracChangeset for help on using the changeset viewer.