ACRN是Linux基金会下的开源嵌入式虚拟机项目。它是一个专门为嵌入式系统设计的、灵活的、轻量级嵌入式虚拟机。
介绍
ACRN hypervisor 是一个 Type-I 的 hypervisor,可以直接运行在物理硬件上,适用于各种物联网和嵌入式设备解决方案,并为实时性和安全性进行了特殊设计和优化。
- ACRN hypervisor 和 ACRN Device Model 软件采用的都是自由许可证的BSD-3-Clause
- 案例:软件定义驾驶舱(SDC)或者车载娱乐系统(IVE)
安装
sudo apt update
sudo apt install -y gcc git make vim libssl-dev libpciaccess-dev uuid-dev \
libsystemd-dev libevent-dev libxml2-dev libxml2-utils libusb-1.0-0-dev \
python3 python3-pip libblkid-dev e2fslibs-dev \
pkg-config libnuma-dev libcjson-dev liblz4-tool flex bison \
xsltproc clang-format bc libpixman-1-dev libsdl2-dev libegl-dev \
libgles-dev libdrm-dev gnu-efi libelf-dev \
build-essential git-buildpackage devscripts dpkg-dev equivs lintian \
apt-utils pristine-tar dh-python python3-lxml python3-defusedxml \
python3-tqdm python3-xmlschema python3-elementpath acpica-tools
- Get the ACRN hypervisor and ACRN kernel source code
cd ~/acrn-work
git clone https://github.com/projectacrn/acrn-hypervisor.git
cd acrn-hypervisor
git checkout release_3.2
cd ..
git clone https://github.com/projectacrn/acrn-kernel.git
cd acrn-kernel
git checkout release_3.2