All of lore.kernel.org
 help / color / mirror / Atom feed
* Xilinx clock wizard driver
@ 2017-10-09 17:16 Merin Santhosh
  2017-10-09 21:46 ` Tobin C. Harding
  0 siblings, 1 reply; 7+ messages in thread
From: Merin Santhosh @ 2017-10-09 17:16 UTC (permalink / raw)
  To: kernelnewbies

Hi All,

I'm Merin, I'm a masters student at the University of Florida. I was doing
through the Linux Kernel, hoping to contribute to something of relevance.
Since I have a background in systems, I was hoping to get started with the
Xilinx clocking wizard(link)
<https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/clocking-wizard/TODO>
.

I wanted to know how is it that the modified driver is tested once coded.
Can someone explain to me how this is done?

Thanks,
Merin
Merin Santhosh
+1 (352) 214-3796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171009/6436bfc5/attachment.html 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Xilinx clock wizard driver
@ 2017-10-25  0:51 Elias Kouskoumvekakis
  0 siblings, 0 replies; 7+ messages in thread
From: Elias Kouskoumvekakis @ 2017-10-25  0:51 UTC (permalink / raw)
  To: kernelnewbies

>From a quick look the driver reads / writes the clock wizard IP core's
registers and uses device tree bindings to access that part of AXI4 mapped
memory. All this implies that you need an hard/soft cpu core inside the
FPGA that will run Linux and this driver. The clock wizard IP core will
need to be properly instantiated and mapped on the hard / soft cpu's AXI4
interconnect so that the driver can access its registers.

To test the driver I suggest that you buy the cheapest Zynq board that you
can find and just build a simple block design in Vivado. The cpu on the
FPGA that will run Linux will be the Zynq PS hard cpu core and thus you
just need to create a simple block design with the Zynq PS and the clocking
wizard IP core. Of-course actually running this involves the preparation of
ROM that will contain your FPGA bitsteam with your design and the bootable
image of the kernel, i.e you must be familiar with the whole Vivado/SDK
flow for embedded designs.

Xilinx provides a lot of documentation material on these, it's just a
matter of time to read through them and follow the relative simple steps.
An alternative is the Zynq Book which covers all these in a very simple
fashion that I don't really like but it could be of use by someone
inexperienced with FPGAs and particularly the Zynq FPGA devices.
http://www.zynqbook.com

And for Zynq development boards I recommend the Parallella board which can
be bought for ~$125-$250 or the SnickerDoodle board for ~$145-$195. The
former is a bit old and besides the FPGA it contains a parallel chip called
Epiphany to experiment with parallel programming alongside the Zynq FPGA.
The latter is more recent and has a lot of I/O pins if you need them.
https://www.parallella.org/buy/
https://www.crowdsupply.com/krtkl/snickerdoodle

Elias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171025/1ed62f3f/attachment.html 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-25  0:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 17:16 Xilinx clock wizard driver Merin Santhosh
2017-10-09 21:46 ` Tobin C. Harding
2017-10-10  0:42   ` Merin Santhosh
2017-10-10  4:00     ` Tobin C. Harding
2017-10-10  4:20       ` Merin Santhosh
2017-10-10  4:50     ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2017-10-25  0:51 Elias Kouskoumvekakis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.