Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build #328

Open
wklam296 opened this issue Mar 4, 2023 · 1 comment
Open

Fail to build #328

wklam296 opened this issue Mar 4, 2023 · 1 comment

Comments

@wklam296
Copy link

wklam296 commented Mar 4, 2023

build/icesugar_pro/icesugar_pro.dts:86.13-130.11: ERROR (phandle_references): /soc: Reference to non-existent node or label "intc0"

ERROR: Input tree has errors, aborting (use -f to force output) Traceback (most recent call last): File "/linux-on-litex-vexriscv/./make.py", line 945, in <module> main() File "/linux-on-litex-vexriscv/./make.py", line 922, in main soc.compile_dts(board_name, args.fdtoverlays) File "/linux-on-litex-vexriscv/soc_linux.py", line 140, in compile_dts subprocess.check_call( File "/usr/local/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'dtc -O dtb -o build/icesugar_pro/icesugar_pro.dtb build/icesugar_pro/icesugar_pro.dts' returned non-zero exit status 2.

I don't know why this error occurs. Please help if possible thanks.

@OrkunAliOzkan
Copy link

Hi, if I had to assume, this error is likely similar to enjoy-digital/litex#1615 and may be worth looking into. TLDR: intc0 label may be mislabelled by another stage/process, you gotta find out what aspect of the device that label represents and try determine what node with the valid label, from there just replace the label and it may work. Apologies if this isn't too much of help, but its worth looking into the url above!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants