Skip to content

Commit 0f7a93b

Browse files
committed
doc: update hypervisor usage doc
Signed-off-by: Huaqi Fang <[email protected]>
1 parent e93dfd7 commit 0f7a93b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

conf/evalsoc/linux_kvm_hypervisor_user_guide.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ cd ..
4242
此处以linux v6.6内核为例,其他版本内核也可参考编译
4343

4444
```shell
45-
git clone [email protected]:software/linuxdev/linux.git -b dev_nuclei_6.6.y
45+
# You can clone it from github or directly copy <linux-sdk>/linux folder to a new folder such as linux_virt
46+
# linux sdk can be clone using steps described in 3
47+
# and cd to linux_virt
48+
git clone https://github.com/Nuclei-Software/linux.git -b dev_nuclei_6.6.y
4649
cd linux
4750
make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- defconfig
4851
make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- -j4
@@ -53,12 +56,12 @@ make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- -j4
5356

5457
## 3.编译运行host linux sdk
5558

56-
获取Nuclei linux sdk 源码, 切换到hypervisor 分支guibing/dev_nuclei_6.6_v3_hypervisor
59+
获取Nuclei linux SDK 源码, 切换到hypervisor 分支 ``dev_nuclei_6.6_v3_hypervisor``
5760

5861
```shell
59-
git clone [email protected]:software/linuxdev/nuclei-linux-sdk.git
62+
# 参考 https://github.com/Nuclei-Software/nuclei-linux-sdk/issues/10 来clone代码,注意切分支
63+
git clone -b dev_nuclei_6.6_v3_hypervisor https://github.com/Nuclei-Software/nuclei-linux-sdk
6064
cd nuclei-linux-sdk
61-
git checkout guibing/dev_nuclei_6.6_v3_hypervisor
6265
git submodule init
6366
git submodule update --depth 1
6467
make SOC=evalsoc CORE=ux900fd freeloader -j4
@@ -643,4 +646,4 @@ PING www.baidu.com (183.2.172.177): 56 data bytes
643646
round-trip min/avg/max = 4.638/12.382/34.637 ms
644647
sh-5.2#
645648
646-
```
649+
```

0 commit comments

Comments
 (0)