looks like i need to find out how to
1) build the kernel and the driver as module
the good thing is the kernel source include a driver for this chip/module (net/ethernet/mikrochip/enc28j60*)
Device Drivers -> Network device support -> Ethernet driver support -> Microchip devices (ENC28J60 support)
2) connect the module to the board (arduino expansion board in my case)
2a) where to connect the interrupt pin from that module...
3) add/edit spi config files
There aren't official tutorials for doing this. But you could do it, in another thread some users discuss the possibility to do it.
Take a look at these links, it could help you in your step 1 and 3:
You will find more helpful links searching for "ENC28J60 linux" as the other thread recommends.
About 2, do you already have in mind the module that you are going to use?
unfortunately to have to use yocto/poky makes everything much more complicated
1) i was able to select enc28 based on #4 in BSP UG and would expect to find afterwards a kernel-module-enc28j60 after compilation but that is not the case...
As an alternative you could use a Usb to Ethernet adapter chip like SMSC (microcip) LAN9500 series or an Asix part such as the AX88772B. I have tried both on the Edison. The LAN9500 series needs to be enabled in the kernel, the Asix works with the standard kernel.
would you mind writing a few words about using the LAN9500 with Edison, I mean which steps are needed to enable it in kernel?
Thanks in advance.
To use the the LAN9500 family in the kernel you need to add the following entries to the kernel config, then rebuild
-> Device Drivers
- [*] Network device support --->
- USB Network Adapters --->
- <*> Multi-purpose USB Networking Framework
- <*> SMSC LAN95XX based USB 2.0 10/100 ethernet devices
Alternativly, I have my own okpk repository where I build the drivers as modules instead and add with "opkg install kernel-module-smsc95xx". I suppose you could check for(or request)the LAN95XX module in the Edison opkg package repo created created by AlexT_Intel and install it as a module yourself.