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

New project #8

Open
jmlarbaig opened this issue Oct 21, 2019 · 3 comments
Open

New project #8

jmlarbaig opened this issue Oct 21, 2019 · 3 comments

Comments

@jmlarbaig
Copy link

Hello KAWAZOME Ichiro,
I want to work with my project that i developped on quartus but, when I want to change .dts and .rbf, kernel doesn't work. I think i have to work with dtbocfg-ctrl but I don't konw how can I do this modification, do you any explaination ?

Thank you

@ikwzm
Copy link
Owner

ikwzm commented Oct 21, 2019

Hello

Examples of DE10-Nano and Quartus can be found at the following URL. Please refer to this.

https://github.com/ikwzm/FPGA-SoC-Linux-Example-1-DE10-Nano

@jmlarbaig
Copy link
Author

Thank you for your answer but, when i try to launch "sudo rake install" with this example, i have this issue :

:3.17-32.5: Warning (avoid_unnecessary_addr_size): /uio-irq-test@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
:14.22-18.20: Warning (interrupts_property): /uio-irq-test@0/overlay/pump-uio@43c10000: Missing interrupt-parent
can not udmabuf installed.

did you have already the same problem ? Do you have any solution ?

@ikwzm
Copy link
Owner

ikwzm commented Oct 21, 2019

I'm sorry. I also checked here. The first rake install immediately after booting may fail. If that fails, try rake uninstall and then rake install again.

fpga@debian-fpga:~$ cd examples/FPGA-SoC-Linux-Example-1-DE10-Nano/
fpga@debian-fpga:~/examples/FPGA-SoC-Linux-Example-1-DE10-Nano$ sudo rake install
dtbocfg.rb --install uio_irq_sample --dts uio_irq_sample.dts
<stdin>:9.13-36.5: Warning (avoid_unnecessary_addr_size): /fragment@1: unnecessa[ry #address-cells/#size-cells without "ranges" or child "reg" property   31.884696] fpga_manager fpga0: writing pump_axi4.rbf to Altera SOCFPGA FPGA Manager

[   32.192446] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/fpga-region0/firmware-name
can not udmabuf installed.
[   32.259336] udmabuf udmabuf4: driver version = 1.4.2
[   32.264499] udmabuf udmabuf4: major number   = 244
[   32.269288] udmabuf udmabuf4: minor number   = 0
[   32.275020] udmabuf udmabuf4: phys address   = 0x30100000
[   32.280432] udmabuf udmabuf4: buffer size    = 4194304
[   32.286170] udmabuf udmabuf4: dma coherent   = 0
[   32.290800] udmabuf soc:amba:pump-udmabuf4: driver installed.
[   32.312931] udmabuf udmabuf5: driver version = 1.4.2
[   32.322365] udmabuf udmabuf5: major number   = 244
[   32.327147] udmabuf udmabuf5: minor number   = 1
[   32.331750] udmabuf udmabuf5: phys address   = 0x30500000
[   32.337180] udmabuf udmabuf5: buffer size    = 4194304
[   32.342374] udmabuf udmabuf5: dma coherent   = 0
[   32.346980] udmabuf soc:amba:pump-udmabuf5: driver installed.
fpga@debian-fpga:~/examples/FPGA-SoC-Linux-Example-1-DE10-Nano$
fpga@debian-fpga:~/examples/FPGA-SoC-Linux-Example-1-DE10-Nano$ sudo rake uninstall
dtbocfg.rb --remove uio_irq_sample
[   51.381042] udmabuf soc:amba:pump-udmabuf5: driver removed.
[   51.388179] udmabuf soc:amba:pump-udmabuf4: driver removed.
fpga@debian-fpga:~/examples/FPGA-SoC-Linux-Example-1-DE10-Nano$ sudo rake install
dtbocfg.rb --install uio_irq_sample --dts uio_irq_sample.dts
<stdin>:9.13-36.5: Warning (avoid_unnecessary_addr_size): /fragment@1: unnecessary #address-cell[s/#size-cells without "ranges" or child "reg" pr operty  57.144952] fpga_manager fpga0: writing pump_axi4.rbf to Altera SOCFPGA FPGA Manager

[   57.352444] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/fpga-region0/firmware-name
[   57.387980] udmabuf udmabuf4: driver version = 1.4.2
[   57.392979] udmabuf udmabuf4: major number   = 244
[   57.397754] udmabuf udmabuf4: minor number   = 0
[   57.402409] udmabuf udmabuf4: phys address   = 0x30100000
[   57.407793] udmabuf udmabuf4: buffer size    = 4194304
[   57.412974] udmabuf udmabuf4: dma coherent   = 0
[   57.417583] udmabuf soc:amba:pump-udmabuf4: driver installed.
[   57.438435] udmabuf udmabuf5: driver version = 1.4.2
[   57.443429] udmabuf udmabuf5: major number   = 244
[   57.448205] udmabuf udmabuf5: minor number   = 1
[   57.455540] udmabuf udmabuf5: phys address   = 0x30500000
[   57.460926] udmabuf udmabuf5: buffer size    = 4194304
[   57.467915] udmabuf udmabuf5: dma coherent   = 0
[   57.473532] udmabuf soc:amba:pump-udmabuf5: driver installed.

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

No branches or pull requests

2 participants