Changeset 364
- Timestamp:
- Jul 23, 2014, 11:02:57 AM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r356 r364 8 8 9 9 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 10 X ?= 411 Y ?= 412 P ?= 410 X ?= 2 11 Y ?= 2 12 P ?= 2 13 13 APP ?= convol 14 14 … … 119 119 build/libs/barrier.o 120 120 121 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g 121 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 122 122 123 123 GIET_INCLUDE = -Igiet_boot \ … … 136 136 DISK_IMAGE := hdd/virt_hdd.dmg 137 137 138 ### Copy executable and miscellaneous files into disk image139 ### Copy bootloader into sector 2 of disk image140 138 all: map.bin \ 141 139 hard_config.h \ … … 154 152 $(DISK_IMAGE) 155 153 154 ### Copy always all files into disk image 156 155 mcopy -o -i $(DISK_IMAGE) build/kernel/kernel.elf ::/build/kernel 157 156 mcopy -o -i $(DISK_IMAGE) build/display/display.elf ::/build/display … … 167 166 mcopy -o -i $(DISK_IMAGE) convol/philips_image.raw ::/misc 168 167 mcopy -o -i $(DISK_IMAGE) map.bin ::/ 168 ### Copy bootloader into sector 2 of disk image 169 169 dd if=build/boot/boot.elf of=$(DISK_IMAGE) seek=2 conv=notrunc 170 171 ### Disk image generation 170 ### Checking root directory 171 mdir -i $(DISK_IMAGE) ::/ 172 173 ### Disk image generation (no files in this step) 172 174 ### This requires the generic LINUX/MacOS script "create_dmg" script 173 175 ### written by C.Fuguet. (should be installed in GIET-VM root directory). … … 476 478 477 479 build/convol/main.o: convol/main.c 478 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $<480 $(CC) $(USER_INCLUDE) $(CFLAGS) -O0 -c -o $@ $< 479 481 480 482 ### clean … … 498 500 rm -rf build/transpose/* 499 501 rm -rf build/convol/* 500 501 distclean: clean502 502 rm -rf hdd/virt_hdd.dmg -
soft/giet_vm/create_dmg
r302 r364 6 6 sector_size=512 7 7 sectors_per_cluster=8 8 reserved_sectors= 5128 reserved_sectors=2048 9 9 10 10 # FAT32 SPEC: The first two clusters are not present in the data region but -
soft/giet_vm/giet_config.h
r314 r364 15 15 /* Debug parameters */ 16 16 17 #define BOOT_DEBUG_MAPPING 0 18 #define BOOT_DEBUG_PT 0 19 #define BOOT_DEBUG_VOBJS 0 20 #define BOOT_DEBUG_SCHED 0 21 #define BOOT_DEBUG_PERI 0 17 #define BOOT_DEBUG_MAPPING 0 /* trace map_info checking */ 18 #define BOOT_DEBUG_PT 0 /* trace page tables initialisation */ 19 #define BOOT_DEBUG_VOBJS 0 /* trace vobjs initialisation */ 20 #define BOOT_DEBUG_SCHED 0 /* trace schedulers initialisation */ 21 #define BOOT_DEBUG_PERI 0 /* trace peripherals initialisation */ 22 22 #define BOOT_DEBUG_ELF 0 /* trace .elf files loading */ 23 23 24 #define GIET_DEBUG_INIT 0 25 #define GIET_DEBUG_FAT 0/* trace fat accesses */26 #define GIET_DEBUG_SWITCH 0 27 #define GIET_DEBUG_IRQS 0 24 #define GIET_DEBUG_INIT 0 /* trace kernel initialisation */ 25 #define GIET_DEBUG_FAT 2 /* trace fat accesses */ 26 #define GIET_DEBUG_SWITCH 0 /* trace context switchs */ 27 #define GIET_DEBUG_IRQS 0 /* trace interrupts */ 28 28 #define GIET_DEBUG_IOC_DRIVER 0 /* trace IOC accesses */ 29 29 #define GIET_DEBUG_TTY_DRIVER 0 /* trace TTY accesses */ … … 35 35 /* software parameters */ 36 36 37 #define GIET_ELF_BUFFER_SIZE 0x60000 /* Temporary buffer for .elf files */ 37 38 #define GIET_IDLE_TASK_PERIOD 0xFFFFFFFF /* Idle Task message period */ 38 39 #define GIET_MAX_ELF_FILES 20 /* max .elf files loaded by boot-loader */ 39 40 #define GIET_OPEN_FILES_MAX 16 /* max simultaneously open files */ 40 #define GIET_NB_VSPACE_MAX 64 41 #define GIET_NB_VSPACE_MAX 64 /* max number of virtual spaces */ 41 42 #define GIET_TICK_VALUE 0x00008000 /* context switch period (number of cycles) */ 42 43 #define GIET_USE_IOMMU 0 /* IOMMU activated when non zero */
Note: See TracChangeset
for help on using the changeset viewer.