cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kganesh90
Visitor
Visitor
2,764 Views
Registered: ‎02-28-2017

FPGA not programmed correctly on boot up

Hi,

 

I'm having a weird problem. Using Xilinx Zynq board, I program the FPGA with bitfile included in my BOOT.bin. The FSBL programs my FPGA and linux boots up. I start my application. But some aspects of the FPGA like some FIFOs, interrupts do not work at this point. Some FIFOs are functional and work as expected. The weird part is that, if I program the FPGA manually by typing in "cat /path/to/bit.bin > /dev/xdevcfg " on the linux, everything works fine.

The same issue of partially programmed FPGA is observed if I put "cat /path/to/bit.bin > /dev/xdevcfg " in rc.local file. Not able to figure out if it is a FPGA issue or linux issue. Any help would be appreciated. Thanks. 

0 Kudos
1 Reply
trigger
Voyager
Voyager
2,602 Views
Registered: ‎09-14-2016

Hi,

 

You can try to load the bitsream from u-boot with fpga cmd in order to know if linux didn't correctly the job.

 

Maybe there is an issue in your device-tree ?

 

Regards,

Trigger

 

 

 

0 Kudos