
qemu
文章平均质量分 60
alex_mianmian
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
QEMU/KVM/Virsh Tips
Basic concepts:https://blog.csdn.net/qq_34018840/article/details/1011945711. Virtlib xml to QEMU command line:virsh domxml-to-native qemu-argv my-virtual-machine.xmlAs:2. QEMU command line to XML3. Virtual machine boot error of libvirt unab...原创 2021-08-15 11:54:19 · 4255 阅读 · 0 评论 -
GDB can‘t stop start_kernel on QEMU ARM64 model
Found a strange issue when use GDB debug Linux Kernel on QEMU ARM64 virtual machine. The issue is GDB can't stop the kernel as following.The reason is ARM64 kernel enabled a new feature KASLR(Kernel address space layout randomization). To disable it.原创 2021-08-09 20:19:50 · 214 阅读 · 0 评论 -
QEMU ARM interrupt system architecture
QEMU interrupt system use GPIO to implement interruptsystem. We can understand it by asimple model:Device.[GPIO_OUT] ->[GPIO_IN].GIC.[GPIO_OUT]->[GPIO_IN].coreGPIO_IN IRQ is created by...原创 2019-08-02 11:19:41 · 1059 阅读 · 0 评论 -
QEMU ARM interrupt system architecture 2
I'd like to list the log here to help the understand of the process.GPIO_IN initialize API is :void qdev_init_gpio_in(DeviceState *dev, qemu_irq_handler handler, int n){ qdev_init_gpio_in_na...原创 2019-08-05 12:20:32 · 517 阅读 · 0 评论 -
QEMU monitor
QEMU monitor is the controller of the simulation model. To start it, we need add parameter '-monitor xxx' in the command line when we start the QEMU.Here is the example:chunxie@chunxie-VirtualBox...原创 2019-05-13 09:31:07 · 800 阅读 · 0 评论 -
Do the same thing--add 'edu' on 'virt' and run u-boot -- on WSL ubuntu
WSL ubuntu is 18.04, the gcc and arm-linux-gnueabihf-gcc are all from APT and are all 7.4. So u-boot build won't report gcc version issue.chunxie@xixi:~$ gcc --versiongcc (Ubuntu 7.4.0-1ubuntu1~18...原创 2019-05-15 22:11:16 · 217 阅读 · 0 评论 -
Debug uboot on QEMU ARM model with GDB
u-boot runs on QEMU ARM model , we can start GDB server on QEMU with command line parameters '-s -S' as following:chunxie@chunxie-VirtualBox:~/uboot-mainline/u-boot$ qemu-system-arm -M vexpress-a9 ...原创 2019-05-10 15:14:49 · 464 阅读 · 1 评论 -
develop PCI device by python on QEMU ARM model
QEMU devices are developed by C. I hope to develop a PCI device by python. So PCI device is half C and half python. C part is interface to QEMU, python part is device self. And we need call python fun...原创 2019-05-21 12:55:30 · 550 阅读 · 0 评论 -
How to Build QEMU on Ubuntu and on WSL
To Build QEMU on Ubuntu 14.041. Where to get QEMU?GITHUB repository is https://github.com/qemu/qemu.git2. QEMU needs GLIB, where to get it? Following is the link.ftp://ftp.gtk.org/pub/glib ...原创 2019-05-08 11:33:47 · 657 阅读 · 0 评论 -
Add PCI device 'edu' to ARM model virt on QEMU and run u-boot on the model
This title is a little complex.First QEMU has a ARM model -- virt.Second 'edu' is a PCI device already in QEMU.You can think that 'virt' is a SoC/board and 'edu' is a device on SoC/board. But 'v...原创 2019-05-15 10:41:25 · 650 阅读 · 0 评论 -
how to get SoCs and devices information in QEMU
When I plan to use QEMU runs a model, how do I know what SoC model is supported by QEMU?Here is the command:>qemu-system-xxx -M ?chunxie@xixi:~$ qemu-system-arm -M ?Supported machines are:...原创 2019-05-13 21:04:32 · 568 阅读 · 0 评论 -
u-boot on QEMU ARM in WSL Ubuntu
The title is not simple. The relations are:WSL-->Ubuntu-->QEMU-->ARM-->ubootWSL -- Windows subsystem Linux, looks like cygwin. It works on Windows10. And it is in Microsoft Software S...原创 2019-05-08 22:54:33 · 852 阅读 · 0 评论 -
QEMU simulates ARM and run uboot
Where to get u-boot?git://git.denx.de/u-boot.gitWhich platform to use in u-boot?vexpress_ca9x4Build uboot:>make CROSS_COMPILE="your cross compile tool chain path" vexpress_ca9x4_def...原创 2019-05-08 12:33:06 · 169 阅读 · 0 评论