Use QEMU to simulate starting uboot

For related knowledge of uboot, you can refer to: Basic concepts of uboot. 1. Environment configuration WSL: ubutu20.04 Analog development board: vexpress-a9 uboot version: u-boot-2023.10 2. Install QEMU 2.1. Install sudo apt install qemu 2.2. Check which development boards are supported qemu-system-arm -M help The results are as follows: Supported machines are: akita Sharp SL-C1000 […]

Ubuntu20.04 builds RISC-V and qemu environment

1. Preface risc-v is a very potential instruction set framework, and I have become very interested in it recently. Since I had very little knowledge in this area before, and the online tutorials were all just click-to-click, the installation process was extremely tortuous. . Fortunately, after accumulating and exploring step by step in the end, […]

qemu–use u-boot to load the kernel

In the previous article, we used qemu to start uboot. Now we test the process of booting the kernel under uboot. Test environment Host system: ubuntu 18.04 LTS Cross-compilation tool chain: arm-linux-gnueabi- uboot version: u-boot-2017.05-rc2 Kernel version: 4.4.76 Make sd card The previous kernel prompt was not found, so it stayed in uboot command line […]

Use QEMU to simulate starting uboot

Environment configuration: Physical machine: Windows7Virtual machine: Linux ubuntu 18.04Analog development board: vexpress-a9u-boot version: u-boot-2017.05-rc2.tar.bz2 2. Install QEMU 2.1 Source code installation Download and install the libraries that QEMU needs to depend on apt install zlib1g-dev apt install libglib2.0-0 libglib2.0-dev apt install libsdl1.2-dev apt install libpixman-1-dev libfdt-dev QEMU source code downloadhttps://www.qemu.org/download/Compile and install using version 2.7.0 […]

Qemu image security encryption test

Article directory Introduction 1. Introduction to the outdated encryption method that comes with qemu 1.1. Create xml of secret uuid 1.2.Generate uuid 1.3. Assign value to secret 1.4. Create a storage pool 1.5. Create a mirror in the storage pool 1.6. Use the image in a virtual machine 2. Abandon the above encryption methods 2.1. […]

Use Qemu to simulate vexpress-a9 (1) — Build a Linux kernel debugging environment

refer to: http://blog.csdn.net/linyt/article/details/42504975 Environment introduction: Win7 64 + Vmware 11 + ubuntu14.04 32 u-boot version: u-boot-2015-04 Linux kernel version: linux-3.16.y busybox version: 1_24_stable Cross-compilation tool chain: arm-linux-gnueabi- qemu version: stable-2.4 Download Linux kernel There are two ways to download the kernel. One is to use git to directly download the kernel code tree to facilitate […]

Use Qemu to simulate vexpress-a9 (3) — Implement u-boot to boot the Linux kernel

Environment introduction Win7 64 + Vmware 11 + ubuntu14.04 32 u-boot version: u-boot-2015-04 Linux kernel version: linux-3.16.y busybox version: 1_24_stable Cross-compilation tool chain: arm-linux-gnueabi- qemu version: stable-2.4 Overview The method I use here is to use network boot to start the Linux kernel. The specific methods are as follows: Enable Qemu’s network support function, start […]

Use QEMU to simulate running uboot to boot Linux from the SD card

Platform: Qemu + vexpress-a9 u-boot: u-boot-2019.10 Linux: linux-4.14.13 I have previously introduced using Qemu to simulate running uboot, and then booting linux from the network (using Qemu to simulate vexpress-a9 (3)—implementing u-boot to boot the Linux kernel). Next, we will introduce using Qemu to run uboot, and then store it in the virtual Load the […]