UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
462 Views
Registered: ‎08-21-2012

DTB Entry for RFDC IP Core

Hi,

I'm seeking information about the RFDC DTB entry for Linux, specifically the 'param-list' field.

Is there any documentation on the param-list values, what they are and how they are derived?

Here is an example entry:

usp_rf_data_converter_0_i: usp_rf_data_converter@b0080000 {
                    clock-names = "s_axi_aclk", "m0_axis_aclk", "s0_axis_aclk";
                    clocks = <&clk 71>, <&misc_clk_0>, <&misc_clk_0>;
                    compatible = "xlnx,usp-rf-data-converter-2.1";
                    num-insts = <0x1>;
                    param-list = [ 00 00 00 <SNIP NUMEROUS RAW DATA VALUES> ];

                    reg = <0x0 0xb0080000 0x0 0x40000>;
};

 

Thanks,

Joe

0 Kudos
3 Replies
Moderator
Moderator
432 Views
Registered: ‎09-12-2007

Re: DTB Entry for RFDC IP Core

These are the configuration settings of the rfdc up made in vivado, and exported to ask to create hdf

There is a TCL file in the data folder for the rfdc driver in the device tree generator that extracts this info from the hdf using hsi api

Is there any specific questions here?

 

0 Kudos
Contributor
Contributor
408 Views
Registered: ‎08-21-2012

Re: DTB Entry for RFDC IP Core

Thank you, this is helpful.

At least now I understand where the "magic numbers" in the DTB come from.

I'm not familair with tcl.

Is there a way to "manually" run that tcl script to generate the DTB entry or must it be done using Petalinux?

We use OSL flow  (simple 'menuconfig/make' for u-boot, Linux and the DTBs, buildroot for the filesystem) for all our projects rather than Petalinux.

I am just investigating if we will be required to use Petalinux to create some of the RFDC-related software pieces, like the DTB entry and sysroots.

Thanks.

0 Kudos
Moderator
Moderator
404 Views
Registered: ‎09-12-2007

Re: DTB Entry for RFDC IP Core

The rfdc driver is delivered in the rootfs as a so file. There is a recipe for yocto/petalinux to compile and place this in the sysroot. So if you are using the osl flow you will need to do this manually

For the device tree, you don't need to do anything different

I created a wiki a long while back that shows the osl flow. However, this is for zcu102

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841722/ZCU102+Image+creation+in+OSL+flow

 

0 Kudos