安装OpenBMC维护的qemu
x86机器,ubuntu 22 LTS
1.
git clone https://github.com/openbmc/qemu.git
git 不下来的可以试试git clone https://github.com/openbmc/qemu
2.
cd qemu
3.
git submodule update --init dtc
4.
mkdir build
5.
cd build
6.
sudo apt-get install libslirp-dev
7.
../configure --target-list=arm-softmmu --enable-slirp
出现一些问题报错在尝试下述步骤后删除qemu重复1-6:
sudo apt-get install libsdl2-2.0-0 libsdl2-dev
sudo apt-get install build-essential zlib1g-dev pkg-config libglib2.0-dev
sudo apt-get install binutils-dev libboost-all-dev autoconf libtool libssl-dev