- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not familiar with that particular board but I can tell you how it works for the Altera Cyclone V Development Kit.
There are separate GSRD (Golden System Reference Designs) releases for each tool versions (13.1, 14.0 and 14.0.1). Each has its own version of GHRD (Golden Hardware Reference Design), including the required XML files. There are also instructions on how to generate the DTB for each version. See http://rocketboards.org/foswiki/documentation/gsrd- http://rocketboards.org/foswiki/documentation/gsrd131
- http://rocketboards.org/foswiki/documentation/gsrd131devicetreegenerator
- http://rocketboards.org/foswiki/documentation/gsrd140
- http://rocketboards.org/foswiki/documentation/gsrd140devicetreegenerator
- http://rocketboards.org/foswiki/documentation/gsrd1401
- http://rocketboards.org/foswiki/documentation/gsrd1401devicetreegenerator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply. The above doesn't really help, because although the SOPC info file is readily available I don't know what is contained or should be contained in the two xml files:-
board ghrd_5astfd5k3_board_info.xml board hps_common_board_info.xml I can't find any literature on these xmls files to date! Any suggestions on this people? I can't even re-create the dtb file that is found on the DE1-SoC Linux image!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I looked around and have only managed to locate the following resources:
- Terasic Page for DE-1 SoC Board: http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=165&no=836&partno=4
- Rocketboards resource page for DE-1 SoC Board: http://rocketboards.org/foswiki/documentation/terasicde1socdevelopmentandeducationboard#a_42resources_42
- Request from support@terasic.com all the files required to rebuild the image for their board from scratch
- Rebuild their system and see it working
- Modify the system according to your needs, including the DeviceTree Generator XML files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well I was wrong to think I needed a new device tree blob. Actually I needed to recompile the preloader, which was much more straightforward.
To cut a long story short, my HPS GPIO is now working as I set it up in QSYS! :)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I am not familiar with that particular board but I can tell you how it works for the Altera Cyclone V Development Kit. There are separate GSRD (Golden System Reference Designs) releases for each tool versions (13.1, 14.0 and 14.0.1). Each has its own version of GHRD (Golden Hardware Reference Design), including the required XML files. There are also instructions on how to generate the DTB for each version. See http://rocketboards.org/foswiki/documentation/gsrd
- http://rocketboards.org/foswiki/documentation/gsrd131
- http://rocketboards.org/foswiki/documentation/gsrd131devicetreegenerator
- http://rocketboards.org/foswiki/documentation/gsrd140
- http://rocketboards.org/foswiki/documentation/gsrd140devicetreegenerator
- http://rocketboards.org/foswiki/documentation/gsrd1401
- http://rocketboards.org/foswiki/documentation/gsrd1401devicetreegenerator

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page