Comments (5)
出错信息显示是 dtc 在编译设备树的时候产生了问题,但我这边无法复现。请运行一下 dtc -O dtb -I dts -o build/system.dtb dts/system.dts
看看是否仍然有同样的问题。另外,麻烦提供一下 dtc 的版本
from xiangshan.
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/riscv-pk# dtc -v
Version: DTC 1.4.0
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/riscv-pk# dtc -O dtb -I dts -o build/system.dtb dts/system.dts
Error: dts/platform.dtsi:1.1-9 syntax error
FATAL ERROR: Unable to parse input tree
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/riscv-pk#
from xiangshan.
root:/XiangShan/riscv-pk# cat dts/platform.dtsi
/dts-v1/;
/ {
L18: soc {
L2: clint@2000000 {
compatible = "riscv,clint0";
interrupts-extended = <&L4 3 &L4 7>;
reg = <0x0 0x38000000 0x0 0x10000>;
reg-names = "control";
clock-frequency-mhz = <500>;
};
L14: serial@60000000 {
compatible = "xilinx,uartlite";
//interrupt-parent = <&L1>;
interrupts = <3>;
reg = <0x0 0x40600000 0x0 0x1000>;
reg-names = "control";
};
sdhci: mmc {
compatible = "nemu-sdhost";
reg = <0x0 0x40002000 0x0 0x1000>;
};
};
chosen {
bootargs = "root=/dev/mmcblk0 rootfstype=ext4 ro rootwait earlycon";
};
L11: memory@100000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x2000000>;
};
};
from xiangshan.
怀疑是 dtc 的版本问题,请使用 1.5.0 版本的 dtc 试一下
from xiangshan.
dtc版本为1.5.0后就正常了。这块建议在代码中约束一下dtc版本依赖。
from xiangshan.
Related Issues (20)
- Ensuring RVWMO Compliance for XS: Missing aq/rl Annotation Implementations? HOT 4
- suffix missing in python code HOT 5
- Incorrect Rounding Mode Handling for Specific Cases HOT 2
- Correct NEMU version for nanhu branch of XiangShan HOT 4
- Assertion failed when running EMU on nanhu-G branch HOT 8
- make emu error - Exception in thread "main" java.util.NoSuchElementException: NOOP_HOME HOT 1
- the logic of tlbBundle privilege in dmode HOT 3
- How to use profile function of verilator in XiangShan environment HOT 6
- Using XiangShan to reproduce the example code in RISC-V Architecture Programming and Practice. HOT 6
- Simulation hangs for longer running functions using the vector extension HOT 8
- How are the uncacheable and non-indempotent stores are handled? HOT 4
- How can projects using Chisel 3 and Chisel 5/6 be integrated together? HOT 1
- Is there any interface to flush L2 Cache data HOT 2
- Solution to make FIR elaboration faster
- Can not generate RTL when NUM_CORES >= 3
- 使用命令时遇到错误“已放弃(核心已转储) ” HOT 1
- Eeception while compile using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config" HOT 1
- Compile Exception while using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config", HOT 5
- Difftest failed on a RISC-V Vector memcpy workload with misaligned(in vlen granularity, not element) unit stride load HOT 1
- Assertion failed at UserYanker.scala:63 assert (!out.r.valid || r_valid) // Q must be ready faster than the response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiangshan.