[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Cannot boot after adding FPGA accelerator

Cannot boot after adding FPGA accelerator

Using Zynq Programmable Logic and Xilinx tools to create custom board configurations

Cannot boot after adding FPGA accelerator

Postby jimmystone » Sun May 21, 2017 9:14 am

jimmystone
 
Posts: 48
Joined: Tue Sep 24, 2013 12:09 pm

Re: Cannot boot after adding FPGA accelerator

Postby miguel_rodrigues » Mon May 22, 2017 7:29 am

If you simply replaced the provided FPGA bitstream with your own that doesn't implement the glue logic required for ARM <-> Epiphany communication, I believe that the error is expected. Or maybe it has to do with memory zones.

What were the exact steps you followed to add your accelerator after opening the Parallella Vivado project?
miguel_rodrigues
 
Posts: 15
Joined: Thu Feb 18, 2016 3:29 pm

Re: Cannot boot after adding FPGA accelerator

Postby jimmystone » Mon May 22, 2017 2:45 pm

jimmystone
 
Posts: 48
Joined: Tue Sep 24, 2013 12:09 pm

Re: Cannot boot after adding FPGA accelerator

Postby sebraa » Tue May 23, 2017 7:23 am

Does your accelerator work if you replace the FPGA bitstream at runtime (dd if=bitstream.bit.bin of=/dev/xdevcfg)?
You need the Xilinx driver for doing so, so if you don't have it, you may need to build your own kernel.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: Cannot boot after adding FPGA accelerator

Postby jimmystone » Wed May 31, 2017 12:31 pm

jimmystone
 
Posts: 48
Joined: Tue Sep 24, 2013 12:09 pm

Re: Cannot boot after adding FPGA accelerator

Postby sebraa » Wed May 31, 2017 5:03 pm

I always boot with the original Epiphany bitstream, and then replace the FPGA logic at runtime (writing it to /dev/xdevcfg). This way, I can check (or unload) the Epiphany driver before loading my accelerator, which avoids a crash (my bitstreams do not contain the eLink interface, so the Epiphany driver must not be loaded).

Loading at runtime seems to reconfigure the FCLK clock speed, although I haven't tested this to be sure.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: Cannot boot after adding FPGA accelerator

Postby miguel_rodrigues » Thu Jun 01, 2017 7:29 am

I do also boot with the original bitstream and replace with my own at runtime. However, simply loading the bitstream won't change your FCLKs, you need to do it explicitly before replacing the bitstream with your own (like the thread you reference mentions).

To achieve what you want, I would also ask over at Xilinx forums as this is not a question specific to Parallella.

But if I were you, I would simply write a script that executed as soon as Linux finishes booting and replaces the original bitstream with your own and changes clocks accordingly. From what I gather, you would obtain equivalent functionality :)
miguel_rodrigues
 
Posts: 15
Joined: Thu Feb 18, 2016 3:29 pm

Re: Cannot boot after adding FPGA accelerator

Postby jimmystone » Sun Jun 04, 2017 4:26 am

jimmystone
 
Posts: 48
Joined: Tue Sep 24, 2013 12:09 pm

Re: Cannot boot after adding FPGA accelerator

Postby jimmystone » Wed Jun 07, 2017 3:48 pm

Hi, All

Update!
I can make my accelerator work at fclk3=35MHz, If I setting fclk3 above this freq, system will reboot.
I think there maybe power issue on Parallella.

Is there any way make a better power for Parallella?
Thanks.
jimmystone
 
Posts: 48
Joined: Tue Sep 24, 2013 12:09 pm

Re: Cannot boot after adding FPGA accelerator

Postby olajep » Tue Jun 20, 2017 3:40 pm

_start = 266470723;
olajep
 
Posts: 140
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Next

Return to FPGA Design

Who is online

Users browsing this forum: No registered users and 7 guests

cron