Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems

sopc2dts Errors

greenlantern01
New Contributor I
1,012 Views

These are the errors showing when I run the sopc2dts command. 

 

I am using DE10 Standard FPGA. I have stored dtb files earlier with the image file on an sdcard and the FPGA loads well. However, the dtb generated with this doesn't work with the image file. 

 

Kindly help resolve these.

 

$ sopc2dts --input hps_ethernet.sopcinfo --output socfpga.dtb --type dtb --board soc_system_board_info.xml --board hps_common_board_info.xml --bridge-removal all --clocks
Component System_PLL of class altera_up_avalon_sys_sdram_pll is unknown
Component System_PLL of class altera_up_avalon_sys_sdram_pll is unknown
Component System_PLL of class altera_up_avalon_sys_sdram_pll is unknown
Component System_PLL of class altera_up_avalon_sys_sdram_pll is unknown
Point of view: 'hps_0_arm_a9_0' could not be found. Trying to find another one.
DTAppend: Unable to find parent, null, for n25q512a@0. Adding to root
DTAppend: Unable to find parent, null, for next-level-cache. Adding to root
DTAppend: Unable to find parent, null, for next-level-cache. Adding to root
DTAppend: Unable to find parent, null, for cache-unified. Adding to root
DTAppend: Unable to find parent, null, for arm,tag-latency. Adding to root
DTAppend: Unable to find parent, null, for arm,data-latency. Adding to root
DTAppend: Unable to find parent, null, for status. Adding to root
DTAppend: Unable to find parent, null, for reset-names. Adding to root
DTAppend: Unable to find parent, null, for resets. Adding to root
DTAppend: Unable to find parent, null, for phy-mode. Adding to root
DTAppend: Unable to find parent, null, for snps,phy-addr. Adding to root
DTAppend: Unable to find parent, null, for phy-addr. Adding to root
DTAppend: Unable to find parent, null, for txc-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for rxc-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for txen-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for rxdv-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for rxd0-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for rxd1-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for rxd2-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for rxd3-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for txd0-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for txd1-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for txd2-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for txd3-skew-ps. Adding to root
DTAppend: Unable to find parent, null, for max-frame-size. Adding to root
DTAppend: Unable to find parent, null, for altr,sysmgr-syscon. Adding to root
DTAppend: Unable to find parent, null, for reset-names. Adding to root
DTAppend: Unable to find parent, null, for resets. Adding to root
DTAppend: Unable to find parent, null, for reset-names. Adding to root
DTAppend: Unable to find parent, null, for #reset-cells. Adding to root
DTAppend: Unable to find parent, null, for speed-mode. Adding to root
DTAppend: Unable to find parent, null, for clock-frequency. Adding to root
DTAppend: Unable to find parent, null, for i2c-sda-falling-time-ns. Adding to root
DTAppend: Unable to find parent, null, for i2c-scl-falling-time-ns. Adding to root
DTAppend: Unable to find parent, null, for lcd@0. Adding to root
DTAppend: Unable to find parent, null, for sdmmc_clk_divided. Adding to root
DTAppend: Unable to find parent, null, for clocks. Adding to root
DTAppend: Unable to find parent, null, for #address-cells. Adding to root
DTAppend: Unable to find parent, null, for #size-cells. Adding to root
DTAppend: Unable to find parent, null, for broken-cd. Adding to root
DTAppend: Unable to find parent, null, for cap-mmc-highspeed. Adding to root
DTAppend: Unable to find parent, null, for cap-sd-highspeed. Adding to root
DTAppend: Unable to find parent, null, for bus-width. Adding to root
DTAppend: Unable to find parent, null, for device-width. Adding to root
DTAppend: Unable to find parent, null, for bank-width. Adding to root
DTAppend: Unable to find parent, null, for compatible. Adding to root
DTAppend: Unable to find parent, null, for altr,dw-mshc-ciu-div. Adding to root
DTAppend: Unable to find parent, null, for altr,dw-mshc-sdr-timing. Adding to root
DTAppend: Unable to find parent, null, for supports-highspeed. Adding to root
DTAppend: Unable to find parent, null, for slot@0. Adding to root
DTAppend: Unable to find parent, null, for cd. Adding to root
DTAppend: Unable to find parent, null, for cd-gpios. Adding to root
DTAppend: Unable to find parent, null, for vmmc-supply. Adding to root
DTAppend: Unable to find parent, null, for vqmmc-supply. Adding to root
DTAppend: Unable to find parent, null, for #address-cells. Adding to root
DTAppend: Unable to find parent, null, for #size-cells. Adding to root
DTAppend: Unable to find parent, null, for master-ref-clk. Adding to root
DTAppend: Unable to find parent, null, for ext-decoder. Adding to root
DTAppend: Unable to find parent, null, for spidev@0. Adding to root
DTAppend: Unable to find parent, null, for snps,nr-gpios. Adding to root
DTAppend: Unable to find parent, null, for snps,nr-gpios. Adding to root
DTAppend: Unable to find parent, null, for phys. Adding to root

 

 

0 Kudos
8 Replies
EBERLAZARE_I_Intel
984 Views

Hi,


Which Quartus version are you working on?


The sopc2dts is not supported in newer version of Quartus.


For the latest bootloader build flow, please follow below (for SD card boot):

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Cyclone_V_SoC_45_Boot_from_SD_Card


0 Kudos
greenlantern01
New Contributor I
970 Views

Hello,

 

Thank you for directing to the newer version of the complete process. 

I have a few questions regarding it: 

1) How do I generate dtb/dts files for my own project?

2) The uboot used in the examples is for Intel Cyclone V SoC Development kit, can I use it for De10 Standard FPGA as well? Could you share link to the uboot for de10 standard fpga?  

3) Will this workflow work for working on de10 standard boards? 

 

I am finding it really hard to get hands over the required and most recent documents to start working. 

 

0 Kudos
greenlantern01
New Contributor I
932 Views

I tried generating dts files with this command on SoC EDS Command Shell.

This is the error it shows me:

$ dtc -O dtb -o socfpga.dtbo -b 0 -@ socfpga.dts
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/sdram_pll/ddr_dqs_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/sdram_pll/ddr_2x_dqs_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/sdram_pll/ddr_dq_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/sdram_pll/s2f_usr2_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/periph_pll/per_nand_mmc_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/periph_pll/per_base_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/periph_pll/per_qspi_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/periph_pll/s2f_usr1_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/periph_pll/emac0_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/periph_pll/emac1_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/main_pll/cfg_s2f_usr0_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/main_pll/main_qspi_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/main_pll/dbg_base_clk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/main_pll/mpuclk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/main_pll/mainclk
ERROR (duplicate_node_names): Duplicate node name /sopc@0/clkmgr@0xffd04000/clock_tree/main_pll/main_nand_sdmmc_clk
ERROR: Input tree has errors, aborting (use -f to force output)

0 Kudos
greenlantern01
New Contributor I
935 Views
0 Kudos
EBERLAZARE_I_Intel
881 Views

Hi,


For question 2: Yes, it is for the Dev Kit. But in the RBO steps:

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Cyclone_V_SoC_45_Boot_from_SD_Card


In the "U-boot" section, before running the:

make socfpga_cyclone5_qspi_defconfig


You can use the DE10's defconfig below:

https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2023.07/configs/socfpga_de10_nano_defconfig

https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2023.07/configs/socfpga_de10_standard_defconfig


For e.g, run:

make socfpga_de10_standard_defconfig


For question 3: Yes, this will use the DE10's standard U-boot config files and it's .dts:

Line 10: CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_de10_standard"


Located (Standard):

https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2023.07/arch/arm/dts/socfpga_cyclone5_de10_standard.dts


For Nano:

https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2023.07/arch/arm/dts/socfpga_cyclone5_de10_nano.dts


These directory can be found in your U-boot folder, after you Git checkout in the first step in "U-boot" section.


For question 1: You need to refer to below, but that is also referring to the Dev Kit's:

https://www.rocketboards.org/foswiki/Documentation/HOWTOCreateADevicetreeForCycloneVSoC


I hope these helps.


0 Kudos
EBERLAZARE_I_Intel
828 Views

Hi,


Can you check my previous response? Let me know your update and if you do require further help.


0 Kudos
EBERLAZARE_I_Intel
804 Views

Hi,


Do you have any update or further questions?


0 Kudos
EBERLAZARE_I_Intel
753 Views

Hi,


I hope that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Reply