File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 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
4649cd linux
4750make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- defconfig
4851make 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
6064cd nuclei-linux-sdk
61- git checkout guibing/dev_nuclei_6.6_v3_hypervisor
6265git submodule init
6366git submodule update --depth 1
6467make SOC=evalsoc CORE=ux900fd freeloader -j4
@@ -643,4 +646,4 @@ PING www.baidu.com (183.2.172.177): 56 data bytes
643646round-trip min/avg/max = 4.638/12.382/34.637 ms
644647sh-5.2#
645648
646- ```
649+ ```
You can’t perform that action at this time.
0 commit comments