can't give you a comprehensive tutorial here. your can google spidev stuff, have a look how other's git diff have done it (DTS or board file diff). read: http://linux-sunxi.org/SPIdev
BTW Can't you use a usb ethernet? On Fri, Mar 22, 2019 at 5:26 PM <[email protected]> wrote: > Hello, > I want to interface ENC28j60 ethernet module with beaglebone green. Is > there any user level library or example for it? > I have worked with SPI on linux before, while googling I found driver for > the same > https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/microchip/enc28j60.c > but I don't have any idea about how to use it,can you please guide me > through this?or is there any other way to do the same?any userlevel library > reference,which will not make me to do changes in kernel module.I am > looking for c references. > following are the details of my beaglebone > > cat /etc/dogtag > BeagleBoard.org Debian Image 2018-10-07 > cat /etc/debian_version > 9.7 > uname -a > Linux beaglebone 4.14.71-ti-r80 #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018 > armv7l GNU/Linux > > any kind of help is highly appreciated > > Thanks & Regards > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/db5ab55d-b3cb-4d44-bff2-70eb81b57b05%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/db5ab55d-b3cb-4d44-bff2-70eb81b57b05%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Yiling Cao http://ariaboard.com/ http://shanghainovotech.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAMMUdpJGyGoeVjugXMcFqLrku_Me%3DzPb6DYviFa%3DcJAt8VzNgA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
