ENC28J60 Kernel Module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ENC28J60 Kernel Module

跳至解决方案
1,464 次查看
ajmorris
Contributor II

Hi there,

I am trying to interface to the ENC28J60 ethernet card on my i.mx23 evk board. I don't want to do nfs booting, just use the card for TCP/IP communication, however, when i try to load the kernel module it errors out without a helpful error. The error it gives is:

$ insmod enc28j60.ko debug ffff

enc28j60: module is already loaded

insmod: error inserting 'enc28j60.ko': -1 Invalid parameters

The module is not loaded as it gets an invalid argument error on boot (the error without debug).

I can't figure out why this is happening, i'm unable to find a bug on the internet where this was rectified with a patch, so i assume i have done something wrong in my compile. I tried to use the pre-compiled sdk images to verify the integrity of the error in the driver, but they do not boot when flashed to my SD card, also with no errors saved to syslog or output to the terminal, it seems to just stop without providing a tty login, so im stuck with my compiled freescale ltib on 2.6.31 imx kernel. Currently, i can't determine whether i am getting an error in parameters parsed externally to the driver, or if it is internally in the driver. Any help would be appreciated!

Thanks,

Andrew

标签 (2)
0 项奖励
1 解答
924 次查看
jimmychan
NXP TechSupport
NXP TechSupport

SD card and ENC28J60 cannot work simultaneously with imx233 as they share the same ssp1 pins on EVK. To make them work simultaneously, you will need to connect either SD or ENC28J60 to ssp2 by hacking on PCB. imx233 does not have 5V output. You need to provide 5V to the USB device by external regulator or power supply.

在原帖中查看解决方案

0 项奖励
1 回复
925 次查看
jimmychan
NXP TechSupport
NXP TechSupport

SD card and ENC28J60 cannot work simultaneously with imx233 as they share the same ssp1 pins on EVK. To make them work simultaneously, you will need to connect either SD or ENC28J60 to ssp2 by hacking on PCB. imx233 does not have 5V output. You need to provide 5V to the USB device by external regulator or power supply.

0 项奖励