代码拉取完成,页面将自动刷新
同步操作将从 bbingo/qboot 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
A simple x86 firmware that can boot Linux.
Most of QEMU's startup time is spent:
* in the dynamic linker. This can be reduced by 150 ms simply by
compiling a stripped down QEMU:
./configure --disable-libssh2 --disable-tcmalloc --disable-glusterfs \
--disable-seccomp --disable-{bzip2,snappy,lzo} --disable-usb-redir \
--disable-libusb --disable-smartcard-nss --disable-libnfs \
--disable-libiscsi --disable-rbd --disable-spice --disable-attr \
--disable-cap-ng --disable-linux-aio --disable-brlapi \
--disable-vnc-{jpeg,tls,sasl,png,ws} --disable-rdma --disable-bluez \
--disable-fdt --disable-curl --disable-curses --disable-sdl \
--disable-gtk --disable-tpm --disable-vte --disable-vnc \
--disable-xen --disable-opengl --target-list=x86_64-softmmu
* in the BIOS. qboot saves another 150 ms.
* until QEMU 2.7+, in fw_cfg. qboot uses the DMA interface which is pretty
much instantaneous.
Compile qboot
=============
Clone the source:
$ git clone https://github.com/bonzini/qboot.git
Compile the qboot firmware (you may need to install the relevant build
time dependancies):
$ meson build && ninja -C build
The result will be a 64K file named bios.bin under the build/ directory.
Usage
=====
$ qemu-kvm -bios bios.bin \
-kernel /boot/vmlinuz-4.0.3-300.fc22.x86_64 \
-serial mon:stdio -append 'console=ttyS0,115200,8n1'
TODO
====
* Add the possibility to configure out PIC and PCI bridge initialization
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。