Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KKomp
Beginner
1,012 Views

Device tree board.xml file - VGA and AUDIO cores

Hello,

 

we have succesfully compiled Linux root, kernel, uboot and preloader (for our custom board) according to the instructions here:

 

https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide#

 

It works, but there is a question about preparing appropriate board.xml file for the device tree. We have configured it according to the instructions here:

 

https://rocketboards.org/foswiki/Documentation/DeviceTreeGenerator140

 

but we can't find information about defining the XML description for the VGA and AUDIO IP cores from the Intel library. This generates following sopc2dts errors:

 

Component audio_0 of class altera_up_avalon_audio is unknown

Component pll_video of class altera_pll is unknown

Component video_pixel_buffer_dma_0 of class altera_up_avalon_video_pixel_buffer_dma is unknown

Component video_rgb_resampler_0 of class altera_up_avalon_video_rgb_resampler is unknown

Component video_vga_controller_0 of class altera_up_avalon_video_vga_controller is unknown

 

How to define these components in the board.xml?

 

Are there any examples how to use these components in the Linux?

 

Regards

K

 

 

 

0 Kudos
4 Replies
Nooraini_Y_Intel
Employee
111 Views

Hi,

 

Currently I am reviewing the forum for any open questions and found this thread. I apologize that no one seems to answer this question that you posted. Since it has been a while you posted this question, I'm wondering if you have found the answer? If not, please let me know, I will try to assign/find someone to assist you. Thank you.

 

Regards,

Nooraini

 

Ahmed_H_Intel1
Employee
111 Views

Hi K,

I am working on this now, It is a very deep question which requires time to find the accurate answer.

Regards.

KKomp
Beginner
111 Views

Thank you for the answer. At the moment we did some other work on this board and left VGA/AUDIO subject open for a while. If there will be no examples, etc., we will just connect the Linux framebuffer to a custom core, as other custom functions. But this will take some time, so if you can assist us with some examples it would be helpful.

 

Regards,

K

Ahmed_H_Intel1
Employee
111 Views

I see this error has been resolved before. This doesn't require workaround necessarily. You can safely disregard the warning messages and proceed to compile your device tree sources normally.

 

See this KDB:

*******************

Spurious Error Messages from sopc2dts

Description

When you are generating the device-tree source file (.dts) for an SoC HPS hardware design, you might see a large number of spurious error messages. The following list shows some of messages produced by sopc2dts:

sopc2dts --input soc_system.sopcinfo --output soc_system.dts --board

soc_system_board_info.xml

Failed to find h2f_lw_reset

Failed to find f2h_reset

Component hps_0 of class altera_hps is unknown

Component hps_0_fpga_interfaces of class altera_interface_generator is unknown

Component hps_0_hps_io of class altera_hps_io is unknown

Component hps_0_clk_0 of class hps_clk_src is unknown

Component hps_0 of class altera_hps is unknown

Component hps_0_fpga_interfaces of class altera_interface_generator is unknown

.

.

.

DTAppend: Unable to find parent for compatible. Adding to root

DTAppend: Unable to find parent for leds. Adding to root

DTAppend: Unable to find parent for pmu0. Adding to root

Workaround/Fix

No workaround is necessary. You can safely disregard the warning messages and proceed to compile your device tree sources normally.

***********************

 

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

 

Please let me know if this answers your question.

 

Regards.

 

Reply