Xen on Hikey960
来自个人维基
2019年11月12日 (二) 10:31free6d1823(讨论 | 贡献)的版本
Reference: https://wiki.xenproject.org/wiki/HiKey960
1. Building UEFI
Reference:
https://github.com/96boards-hikey/tools-images-hikey960/blob/master/build-from-source/README-ATF-UEFI-build-from-source.md
export BUILD_PATH=~/build
fetch sources to ${BUILD_PATH}
git clone https://github.com/ARM-software/arm-trusted-firmware -b integration ==> not found git clone https://github.com/96boards-hikey/edk2 -b testing/hikey960_v2.5 git clone https://github.com/96boards-hikey/OpenPlatformPkg -b testing/hikey960_v1.3.4 git clone https://github.com/96boards-hikey/l-loader -b testing/hikey960_v1.2 git clone https://github.com/96boards-hikey/atf-fastboot
2. Building Linux
git clone https://github.com/96boards-hikey/linux.git cd linux git checkout origin/hikey960-upstream-rebase export CROSS_COMPILE=aarch64-linux-gnu- export ARCH=arm64 make defconfig
check .config, CONFIG_XEN_DOM0=y CONFIG_XEN=y
make -j8 cp -f arch/$ARCH/boot/Image ../Image cp -f arch/$ARCH/boot/dts/hisilicon/hi3660-hikey960.dtb ../Image.dtb