Comments (5)
Sorry about the lack of documentation at the moment. For the brave users only I suppose.
Based on the error you posted it looks like Qemu is complaining about the command line options "-serial pty". From my brief browsing of the documentation it looks like that's a Linux-only feature. Maybe try the pipe or chardev options?
from os.
@evangreen Thank you for your responding...I've spent lots of time trying to boot it up on Mac, but it's still not work...I tried the chardev option, but it won't show any message in terminal. The following is my environment, can you please give me more details on how to do that... I wish I could have something like Windows' Starter Packer, then I can play with it directly ... I love the system and the codes are beautiful and clean, so I am really trying to boot it up and to play with it.
from os.
Without any details it's challenging to figure out what your issue might be. Are you still struggling with forming a proper Qemu command line? Have you tried without any serial port options? Do you see anything, like a green screen? The chardev option looks like it required additional command line arguments, what did you supply when you tried that?
from os.
@evangreen It works now...I tried many times later, adding/removing -chardev and other options...And finally I booted it up by the simplest command: qemu-system-x86_64 pc.img...And then it shows up a green screen like in Windows, but I don't know how to turn the debugger window on...Another question is what documents/specs do you read when you write the initialization code of processor and acpi, etc... I am reading some init code...Can you give me some hints???
from os.
That's great that you're making progress. If you don't get all the way to a command line, then it sounds like some debugging needs to be done. You can either debug by adding print statements to the screen with something like KeVideoPrintString, or you can try to get the kernel debugger working, which would be much faster, but brings you back around to getting a valid serial command line.
I can't quite remember, but I think we build a command line version of the debugger for Mac. In commos.c it looks like TCP sockets are supported. So you might be able to get a qemu TCP socket for serial with something like "-chardev socket,id=myid,port=5678,host=127.0.0.1,nodelay,server -serial chardev:myid", and then a debugger command line with "-k tcp:127.0.0.1:5678". I haven't tried these out, so they may need tweaking (let me know what works).
Processor initialization specifications can be found from the Intel manuals (I want to say it's in volume 3A somewhere?). The ACPI specification can be found online. I believe they're on version 5 or 6, but most of the new stuff isn't needed, so you can use version 3 or 4 as a mostly-complete and slightly smaller reference. The folks at osdev are also a good resource. You can try googling "<some topic> osdev tutorial".
from os.
Related Issues (20)
- error.. HOT 5
- Need chgrp or equivalent HOT 3
- Add awk to the default Minoca build HOT 2
- Use LGPL v2.1 instead of v3 HOT 4
- mac toolchain problems HOT 3
- RPI1 image on website has private IP address in the 'opkg.conf' file. HOT 3
- BopEfiGetDebugDevice in dbgser.c doesn't iterate through the list of handles. HOT 1
- Udoo (iMX6 Dual/Quad) support? HOT 1
- Alignment build error on Debian HOT 2
- Chalk missing HOT 2
- Is this based on reverse engineering of Windows? HOT 1
- Minoca Debugger HOT 1
- [Deleted]
- The opkg program doesn't run. HOT 5
- Linking - testmm: Fails HOT 2
- Assertion Failure: KernelUsage->HardPageFaults <= KernelUsage->PageFaults HOT 3
- An improper locking bug on the lock NewThread->StartMutex HOT 4
- Your website is down. HOT 1
- A
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os.