OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [Makefile.run] - Blame information for rev 174

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 hellwig
#
2
# Makefile to build a bootable disk, and either start the
3
# ECO32 simulator with a ROM monitor (goal: run an OS within
4
# the simulator) or start the serial line disk server (goal:
5
# run an OS on an FPGA board).
6
#
7 99 hellwig
# NOTE: Please set SER_DEV to the serial line device on which
8
#       the disk server should wait for commands!
9
#
10 17 hellwig
 
11
BUILD = ..
12
 
13 99 hellwig
SER_DEV = /dev/tty01
14
DSK_IMG = disk.img
15
RUN_LOG = run.log
16 17 hellwig
 
17 99 hellwig
all:            $(DSK_IMG)
18
 
19
run-sim:        $(DSK_IMG)
20 159 hellwig
                $(BUILD)/bin/sim -i -m 16 -c -t 2 \
21 73 hellwig
                  -r $(BUILD)/monitor/xsa-xst-3/monitor.bin \
22 99 hellwig
                  -d $(DSK_IMG) -o $(RUN_LOG)
23 17 hellwig
 
24 99 hellwig
run-server:     $(DSK_IMG)
25
                $(BUILD)/bin/diskserv $(SER_DEV) $(DSK_IMG)
26 17 hellwig
 
27 99 hellwig
$(DSK_IMG):
28
                $(BUILD)/bin/mkdisk $(DSK_IMG) 100M
29
                $(BUILD)/bin/mkpart $(DSK_IMG) disk.part
30 17 hellwig
                $(MAKE) -C fs-EOS32 all
31
                $(MAKE) -C fs-NetBSD all
32
 
33
clean:
34
                $(MAKE) -C fs-EOS32 clean
35
                $(MAKE) -C fs-NetBSD clean
36 99 hellwig
                rm -f *~ $(DSK_IMG) $(RUN_LOG)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.