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

Fix issues with device tree overlay generation for interrupt controller. #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

IvoBrandao
Copy link

📋 Fix issues with device tree overlay generation for interrupt controller.

📌 Description

Fixes the device tree overlay generation issues in the interrupt controller

  • Type of Change: Bugfix

🚀 What Has Been Done?

  • In the file common_proc.tcl a semi-collon was mission in the device tree version marker
  • In the in file intc/data/intc.tcl the argument order for the set_drv_prop function is not correct.

🧪 Testing

I just executed the generation for the device tree I needed. I could not find the tests in this repo. If they exist I can run them.

I used the following configuration

---
dict_devicetree:
    kernel_ver: 2024.1
    mainline_kernel: none 
    board_dts: zynqmp-smk-k26-reva
    dt_overlay: true
    output_dir: build
    dt_zocl: true
---

There where two errors generated:

  1. for the device tree version marker
pl.dtsi:2.1-9 syntax error
FATAL ERROR: Unable to parse input tree
  1. another one for the interrupt controller
pl.dtsi:40.33-34 syntax error
FATAL ERROR: Unable to parse input tree

line 40 contains the following.

xlnx,num-intr-inputs = <32> <0x20>;

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

Successfully merging this pull request may close these issues.

1 participant