Changeset 295 for soft/giet_vm/Makefile


Ignore:
Timestamp:
Mar 26, 2014, 6:44:44 PM (11 years ago)
Author:
alain
Message:

Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014

This new release has been tested on the tsar_generic_leti platform
for the following mappings:

  • 4c_4p_sort_leti
  • 4c_4p_sort_leti_ext
  • 4c_4p_transpose_leti
  • 4c_4p_transpose_leti_ext
  • 4c_1p_four_leti_ext
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r289 r295  
    1111### partition sectors    = 524832
    1212
    13 MAP_XML      = mappings/4c_1p_iob_four.xml
     13MAP_XML      = mappings/4c_4p_sort_leti_ext.xml
    1414
    1515### Objects to be linked for kernel.elf
     
    1818               build/fat32/fat32.o        \
    1919               build/drivers/dma_driver.o \
     20               build/drivers/cma_driver.o \
    2021               build/drivers/fbf_driver.o \
    2122               build/drivers/xcu_driver.o \
     
    2627               build/drivers/sdc_driver.o \
    2728               build/drivers/spi_driver.o \
     29               build/drivers/rdk_driver.o \
    2830               build/drivers/iob_driver.o \
    2931               build/drivers/mmc_driver.o \
     
    3234               build/drivers/tim_driver.o \
    3335               build/drivers/tty_driver.o \
     36               build/drivers/pic_driver.o \
    3437               build/kernel/giet.o        \
    3538               build/kernel/switch.o      \
     
    4447               build/common/vmem.o        \
    4548               build/fat32/fat32.o        \
     49               build/drivers/dma_driver.o \
    4650               build/drivers/tty_driver.o \
     51               build/drivers/pic_driver.o \
    4752               build/drivers/xcu_driver.o \
    48                build/drivers/dma_driver.o \
    49                build/drivers/mwr_driver.o \
    5053               build/drivers/ioc_driver.o \
    5154               build/drivers/bdv_driver.o \
    52                build/drivers/hba_driver.o \
    5355               build/drivers/sdc_driver.o \
    5456               build/drivers/spi_driver.o \
    55                build/drivers/nic_driver.o \
     57               build/drivers/rdk_driver.o \
    5658               build/drivers/mmc_driver.o \
     59               build/drivers/mwr_driver.o \
    5760               build/kernel/ctx_handler.o \
    5861               build/kernel/switch.o      \
     
    9699              build/libs/barrier.o
    97100
     101### Objects to be linked for transpose.elf
     102TRANSPOSE_OBJS = build/transpose/main.o  \
     103                 build/libs/stdio.o      \
     104                 build/libs/malloc.o     \
     105                 build/libs/spin_lock.o  \
     106                 build/libs/barrier.o
    98107
    99108CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32
     
    123132     build/gameoflife/gameoflife.elf \
    124133     build/sort/sort.elf             \
     134     build/transpose/transpose.elf   \
    125135     hdd/virt_hdd.dmg
    126136
     
    128138### This requires the generic LINUX/MacOS script "create_dmg" script
    129139### written by C.Fuguet. (should be installed in GIET-VM root directory).
    130 hdd/virt_hdd.dmg: map.bin                   \
    131          build/boot/boot.elf            \
    132          build/kernel/kernel.elf        \
    133          build/display/display.elf      \
    134          build/hello/hello.elf          \
    135          build/pgcd/pgcd.elf            \
    136          build/router/router.elf        \
    137          build/dhrystone/dhrystone.elf  \
    138          build/gameoflife/gameoflife.elf
     140hdd/virt_hdd.dmg: map.bin                \
     141         build/boot/boot.elf             \
     142         build/kernel/kernel.elf         \
     143         build/display/display.elf       \
     144         build/hello/hello.elf           \
     145         build/pgcd/pgcd.elf             \
     146         build/router/router.elf         \
     147         build/dhrystone/dhrystone.elf   \
     148         build/gameoflife/gameoflife.elf \
     149         build/sort/sort.elf             \
     150         build/transpose/transpose.elf
     151
    139152### remove all content of virtual disk virt_hdd
    140153        rm -rf hdd/virt_hdd/*
     
    162175
    163176### drivers compilation
     177build/drivers/cma_driver.o: giet_drivers/cma_driver.c  \
     178                            giet_drivers/cma_driver.h  \
     179                            giet_config.h              \
     180                            $(MAP_XML)
     181        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     182
    164183build/drivers/dma_driver.o: giet_drivers/dma_driver.c  \
    165184                            giet_drivers/dma_driver.h  \
     
    216235        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
    217236
     237build/drivers/rdk_driver.o: giet_drivers/rdk_driver.c  \
     238                            giet_drivers/rdk_driver.h  \
     239                            giet_config.h              \
     240                            $(MAP_XML)
     241        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     242
    218243build/drivers/iob_driver.o: giet_drivers/iob_driver.c  \
    219244                            giet_drivers/iob_driver.h  \
     
    248273build/drivers/tty_driver.o: giet_drivers/tty_driver.c  \
    249274                            giet_drivers/tty_driver.h  \
     275                            giet_config.h              \
     276                            $(MAP_XML)
     277        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     278
     279build/drivers/pic_driver.o: giet_drivers/pic_driver.c  \
     280                            giet_drivers/pic_driver.h  \
    250281                            giet_config.h              \
    251282                            $(MAP_XML)
     
    399430
    400431build/sort/main.o: sort/main.c
     432        $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $<
     433
     434### transpose compilation
     435build/transpose/transpose.elf: $(TRANSPOSE_OBJS) transpose/transpose.ld
     436        $(LD) -o $@ -T transpose/transpose.ld $(TRANSPOSE_OBJS)
     437        $(DU) -D $@ > $@.txt
     438
     439build/transpose/main.o: transpose/main.c
    401440        $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $<
    402441
     
    419458        rm -rf build/dhrystone/*
    420459        rm -rf build/sort/*
     460        rm -rf build/transpose/*
    421461        rm -rf build/map.bin
    422462        rm -rf hdd/virt_hdd/*
Note: See TracChangeset for help on using the changeset viewer.