Altera_Forum
Honored Contributor
11 years agoModified *.dts for custom driver to *.dtb conversion
Thanks in advance.
I'm working with Quartus 14.1 and linux kernel 3.9.0 with the Altera SoC Cyclone V Dev Board and the Golden Design. I've successfully created a new project that has added a pll and a simple custom ip. I need a driver for the simple custom ip. In the olden days with the NiosII and MMU system I'd generate a *.dts and then modify the *.dts to have my driver information. So, what I've done is created a *.dts using the: sopc2dts -i filename.sopcinfo -o out.dts --type dts -b soc_system_board_info.xml -b ... (AS PER ROCKBOARD INSTRUCTIONS - don't have it in front of me) When I generate the *.dts I get that my custom IP and the pll are unknown. In the olden days of MMU NiosII I used to modify the: compatible= "unknown,unknown-1.0" in the *.dts file and then created a *.dtb from that. And, what do I do with the new pll? So, now what do I use to go from this modified *.dts to the *.dtb that I need? Or can I use an *.xlm file to define this and go straight from the *.sopcinfo to the *.dtb? Is there more than one option to generate the *.dtb I need and if so what is recommended.