benwei / bos Goto Github PK
View Code? Open in Web Editor NEWA self-made Operation System in X86, Just for Fun Learning
Home Page: https://www.juluos.org/article-collections/projects
License: Other
A self-made Operation System in X86, Just for Fun Learning
Home Page: https://www.juluos.org/article-collections/projects
License: Other
I just try to make run on my MAC OS X 10.6.8, and output as following
make -C test IMG_NAME="../bos.img" QEMUEXTRA=
qemu -M pc -fda "../bos.img" -net user -net nic,model=i82559er -redir tcp:4080::80
/bin/sh: qemu: command not found
make[1]: *** [run] Error 127
make: *** [run] Error 2
It might because of qemu which is installed from brew doesn't have default qemu,
it has to specify the model, so I add QEMUMODEL in Makefile
diff --git a/Makefile b/Makefile
index 0c9b00c..5fcb017 100755
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,8 @@ package:
run: package
@#only support in well-setup Ubuntu and OSX(only tried 10.6.8)
make -C test IMG_NAME="../$(IMG_NAME)" QEMUEXTRA=$(QEMUEXTRA)
make -C test IMG_NAME="../$(IMG_NAME)" QEMUEXTRA=$(QEMUEXTRA) \
QEMUMODEL=$(QEMUMODEL)
update: $(SYSBIN)
mcopy -n -o -i "$(IMG_NAME)" "$(SYSBIN)" ::
diff --git a/test/Makefile b/test/Makefile
index 8ee4616..b767e4a 100755
--- a/test/Makefile
+++ b/test/Makefile
@@ -31,9 +31,9 @@ run:
exit 1 ;
fi
ifeq (
$(QEMU) -fda "$(IMG_NAME)" $(NET_OPT)
$(QEMU)$(QEMUMODEL) -fda "$(IMG_NAME)" $(NET_OPT)
else
$(QEMU) -M $(MACHINE) -fda "$(IMG_NAME)" $(NET_OPT)
$(QEMU)$(QEMUMODEL) -M $(MACHINE) -fda "$(IMG_NAME)" $(NET_OPT)
endif
check:
So that I can give mode when I make run
$ make run QEMUMODEL=-system-x86_64
Hope that will help improve the capability
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.