Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

DTB (Device Tree Blob Files) Step by Step Guide DE1-SoC ** HELP ! ** GPIO Q14.0

I am developing a design on the DE1-SoC. I wanted to be able to drive some more GPIO from the HPS. The pins that were already GPIO in the GHRD work fine. After clicking the button in the HPS tab in QSYS, resolving the conflicts, I expected the new GPIO to be under HPS control. But no matter what I cannot drive them from the HPS.

I suspect (is this right?) that the GPIOs aren't working because I need a new device tree blob file. This is where things start getting difficult. The socfpga.dtb that is on the SD card image works. But it does not match the what is present in the GHRD, indeed when I swap the file on the card with the file in the GHRD, the ethernet port stopped working and there were some complaints on boot up about missing I²C.

What is really, really frustrating is that it appears there is no way I can build the *.dtb file from any of the files supplied with the GHRD.

There seems to be much conflicting information on this subject. For example it seems a clock.xml (Q13.1) file was needed but now isn't.

  • How do I create a suitable board.xml file?

Failing this it would helpful if I could replicate the process that built the socfpga.dtb that is already present on the SD card.

I hope some-one can help!

5 Replies