“Xen on Hikey960”的版本间的差异
来自个人维基
free6d1823(讨论 | 贡献) |
free6d1823(讨论 | 贡献) |
||
第1行: | 第1行: | ||
Reference: https://wiki.xenproject.org/wiki/HiKey960 | Reference: https://wiki.xenproject.org/wiki/HiKey960 | ||
− | + | 1. Building UEFI | |
− | Building UEFI | + | |
− | Building Linux | + | 2. Building Linux |
git clone https://github.com/96boards-hikey/linux.git | git clone https://github.com/96boards-hikey/linux.git | ||
cd linux | cd linux | ||
第10行: | 第10行: | ||
export ARCH=arm64 | export ARCH=arm64 | ||
make defconfig | make defconfig | ||
+ | check .config, CONFIG_XEN_DOM0=y CONFIG_XEN=y | ||
make -j8 | make -j8 | ||
cp -f arch/$ARCH/boot/Image ../Image | cp -f arch/$ARCH/boot/Image ../Image | ||
cp -f arch/$ARCH/boot/dts/hisilicon/hi3660-hikey960.dtb ../Image.dtb | cp -f arch/$ARCH/boot/dts/hisilicon/hi3660-hikey960.dtb ../Image.dtb | ||
− | |||
− | |||
− |
2019年11月12日 (二) 10:04的版本
Reference: https://wiki.xenproject.org/wiki/HiKey960
1. Building UEFI
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