Skip to content

Commit 20ba3ef

Browse files
committed
conf/evalsoc : support kvm and 9p filesystem, add hypervisor,vector extension in dts.
Signed-off-by: guibing <guibing@nucleisys.com>
1 parent 849b0d1 commit 20ba3ef

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

conf/evalsoc/buildroot_initramfs_rv64imafdc_config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ BR2_PACKAGE_MINICOM=y
4545
BR2_PACKAGE_HAVEGED=y
4646
BR2_PACKAGE_ETHTOOL=y
4747
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
48+
BR2_PACKAGE_OPENSSH=y

conf/evalsoc/linux_rv64imafdc_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ CONFIG_HZ_100=y
1818
CONFIG_RISCV_SBI_V01=y
1919
# CONFIG_RISCV_BOOT_SPINWAIT is not set
2020
CONFIG_CMDLINE="earlyprintk"
21+
CONFIG_VIRTUALIZATION=y
22+
CONFIG_KVM=y
2123
CONFIG_MODULES=y
2224
CONFIG_MODULE_UNLOAD=y
2325
CONFIG_MODVERSIONS=y
@@ -31,6 +33,9 @@ CONFIG_INET=y
3133
CONFIG_NETFILTER=y
3234
CONFIG_NETLINK_DIAG=y
3335
# CONFIG_WIRELESS is not set
36+
CONFIG_NET_9P=y
37+
# CONFIG_NET_9P_FD is not set
38+
CONFIG_NET_9P_DEBUG=y
3439
CONFIG_FAILOVER=y
3540
CONFIG_DEVTMPFS=y
3641
CONFIG_DEVTMPFS_MOUNT=y
@@ -120,6 +125,7 @@ CONFIG_EXFAT_FS=y
120125
CONFIG_TMPFS=y
121126
CONFIG_TMPFS_POSIX_ACL=y
122127
CONFIG_EFIVAR_FS=y
128+
CONFIG_9P_FS=y
123129
CONFIG_NLS_CODEPAGE_437=y
124130
CONFIG_NLS_ISO8859_1=y
125131
CONFIG_CRYPTO_USER=y

conf/evalsoc/nuclei_rv64imafdc.dts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
reg = <0>;
5050
status = "okay";
5151
compatible = "riscv";
52-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
52+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
5353
riscv,cbom-block-size =<64>;
5454
mmu-type = "riscv,sv39";
5555
clock-frequency = <CPUCLK_FREQ>;
@@ -64,7 +64,7 @@
6464
reg = <1>;
6565
status = "okay";
6666
compatible = "riscv";
67-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
67+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
6868
riscv,cbom-block-size =<64>;
6969
mmu-type = "riscv,sv39";
7070
clock-frequency = <CPUCLK_FREQ>;
@@ -79,7 +79,7 @@
7979
reg = <2>;
8080
status = "okay";
8181
compatible = "riscv";
82-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
82+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
8383
riscv,cbom-block-size =<64>;
8484
mmu-type = "riscv,sv39";
8585
clock-frequency = <CPUCLK_FREQ>;
@@ -94,7 +94,7 @@
9494
reg = <3>;
9595
status = "okay";
9696
compatible = "riscv";
97-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
97+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
9898
riscv,cbom-block-size =<64>;
9999
mmu-type = "riscv,sv39";
100100
clock-frequency = <CPUCLK_FREQ>;
@@ -109,7 +109,7 @@
109109
reg = <4>;
110110
status = "okay";
111111
compatible = "riscv";
112-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
112+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
113113
riscv,cbom-block-size =<64>;
114114
mmu-type = "riscv,sv39";
115115
clock-frequency = <CPUCLK_FREQ>;
@@ -124,7 +124,7 @@
124124
reg = <5>;
125125
status = "okay";
126126
compatible = "riscv";
127-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
127+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
128128
riscv,cbom-block-size =<64>;
129129
mmu-type = "riscv,sv39";
130130
clock-frequency = <CPUCLK_FREQ>;
@@ -139,7 +139,7 @@
139139
reg = <6>;
140140
status = "okay";
141141
compatible = "riscv";
142-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
142+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
143143
riscv,cbom-block-size =<64>;
144144
mmu-type = "riscv,sv39";
145145
clock-frequency = <CPUCLK_FREQ>;
@@ -154,7 +154,7 @@
154154
reg = <7>;
155155
status = "okay";
156156
compatible = "riscv";
157-
riscv,isa = "rv64imafdc_zicbom_svpbmt_sstc";
157+
riscv,isa = "rv64imafdcvh_zicbom_svpbmt_sstc";
158158
riscv,cbom-block-size =<64>;
159159
mmu-type = "riscv,sv39";
160160
clock-frequency = <CPUCLK_FREQ>;
@@ -399,7 +399,7 @@
399399
phy-handle = <&rtl8211f>;
400400
phy-mode = "rgmii";
401401

402-
status = "disabled";
402+
status = "okay";
403403
mdio {
404404
compatible = "snps,dwmac-mdio";
405405
#address-cells = <1>;

0 commit comments

Comments
 (0)