Run Hellox Kernel on the virtual machine

Source: Internet
Author: User

Hellox OS is the IoT operating system developed by a domestic Daniel (I Singo).

This is the source code on GitHub.

We have Hellox kernel running on the Bochs and QEMU simulators (virtual machines).

After downloading the source code, go to the kernel directory and use vs to open the project file Master.sln.

Rebuild the solution, and then run batch.bat under Kernel/bin

You will see the latest generation of a vfloppy.vfd floppy image file.

We then set up a BOCSH.BXRC in the current directory with the following:

Romimage:file= $BXSHARE/bios-bochs-Latest Cpu:count=1, ips=50000000, reset_on_triple_fault=1, ignore_bad_msrs=1, msrs="Msrs.def"cpu:cpuid_limit_winnt=0memory:guest= the, host= -Vgaromimage:file= $BXSHARE/vgabios-lgpl-latestata0:enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq= -ata1:enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq= theata2:enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq= Oneata3:enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9floppya:1_44=vfloppy. VFD, status=Insertedboot:floppyclock:Sync=realtime, time0=localfloppy_bootsig_check:disabled=0#log: bochsout.txtmagic_break:enabled=1panic:action=askerror:action= ReportInfo: action=reportdebug:action=reportdebugger_log:debugger.outparport1:enabled=1,file="Parport.out"pci:enabled=1, CHIPSET=I440FX

If you have Bochs installed on your computer, double-click the profile to run it.
We will then create a qemu.bat under the current folder with the following contents:

256

If the path to Qemu is correct, then you can run Hellox Kernel.
The above after my actual test , the diagram will not be released.

Run Hellox Kernel on the virtual machine

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.