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: 
Highlighted
Observer mit_brooks
Observer
6,088 Views
Registered: ‎01-29-2008

XAPP1052 on fedora 12

Has anyone tried XAPP1052 on fedora 12?

 

I've implemented XAPP1052 on my SP605 dev kit.

 

I've tried it in windows and it works but in fedora, after having installed all the bits I think I need and actually generating the driver and runing the gui app I get errors. 

I've attached a Zip file with various outputs and screeshots.

 

First thing to note is that when I run the script that builds the driver and gui (./run_bmd.csh), I gets some warnings - the documentation shows no warning messages. The output of running this script is in run_bmd.csh output.html

 

second thing of note is that when I read the xdmb registers, some of them are 0xFFFFFFFF... not usually a good sign...

 

Anybody got any ideas?

 

Thanks!

Tim

Tags (3)
0 Kudos
3 Replies
Visitor kengwee
Visitor
6,065 Views
Registered: ‎04-10-2008

Re: XAPP1052 on fedora 12

Hi,

 

xapp1052 design for SP605 dev kit got bug. Data not correct when transfering from PC to board by DMA.

I had tried in Ubuntu 8.04 by using this example. However, this Linux driver is transfering by PIO method and xapp1052 BMD design for this current driver is not so applicable to the HW.

 

I think u better use the Windriver to generate the driver.

 

Thanks

Keng Wee

0 Kudos
Visitor kengwee
Visitor
6,064 Views
Registered: ‎04-10-2008

Re: XAPP1052 on fedora 12

small bug in BMD_32_TX_ENGINE.v file

 

change to this:

 

`BMD_32_TX_MRD_QW2 :
                begin
                    if ((!trn_tdst_rdy_n) && (trn_tdst_dsc_n))
                    begin
                        trn_tsof_n       <= 1'b1;
                        trn_teof_n       <= 1'b0;
                        trn_tsrc_rdy_n   <= 1'b0;
                       
                        if (cur_rd_count == 1)
                        begin
                            tmrd_addr = mrd_addr;
                        end
                        else
                        begin
                            tmrd_addr = pmrd_addr + mrd_len_byte;
                        end

                        pmrd_addr <= tmrd_addr;
                        trn_td    <= {tmrd_addr[31:2], 2'b00};

.........

 

Regards,

Keng Wee

Observer mit_brooks
Observer
6,056 Views
Registered: ‎01-29-2008

Re: XAPP1052 on fedora 12

Thanks for that Keng Wee

I've implemented the suggested change and loaded the new firmware.

 

If the Linux driver provided is PIO mode then I'm not surprised at the strange things that are happening in Linux. I would prefer not to resort to paying Jungo for our driver... Has anyone had a go at implementing an interrupt version of this driver?

 

Maybe we should just save ourselves a lot of time by getting the Connectivity kit based around SP605... Has anyone used this yet?

 

Tim

0 Kudos