dgschwend / zynqnet

Master Thesis "ZynqNet: An FPGA-Accelerated Embedded Convolutional Neural Network"
GNU General Public License v3.0
743 stars 297 forks source link

About the Linux Operating System on board #47

Closed JackChenofNCP closed 6 years ago

JackChenofNCP commented 6 years ago

Hi David, I read something about the Linux Operating System on Board in your report which I can't understand well. Quoting : "However, the Zynqbox already runs a fully working and properly tested Linux installation and includes tools to load new bitstreams into the programmable logic. Due to lack of time, we strongly favored reusing this existing installation." I am wondering how you "load new bitstreams into the PL" because I build a new linux system with a new boot.bin for reconfiguring PL every time to test a new bitstream after making some change and that didn't go well. So if you have some way to configure PL directly in the linux on board, dose that mean any working linux system can easily test the Accelerator by a simple command like "load bitstram"? Can you please explain to me how to that? Thanks a lot.

dgschwend commented 6 years ago

That‘s completely right. There are methods for loading new bitstreams from a running Linux (you can search the Internet for details). The Zynqbox (https://www.scs.ch/en/fpgabox.html) includes a command „load_bit“ which does exactly that. No need to rebuild Linux, no need to reboot.

JackChenofNCP commented 6 years ago

Thanks, I have found the way to do that. It helps a lot.