Tiny Core Base > Raspberry Pi

enc28j60 not working after enabling overlays

(1/3) > >>

szpsz:
Hi,

I'm trying to run raspberry pi with enc28j60 spi ethernet card. I enabled enc28j60 in overlays, but it is not working. I checked lsmod and couldn't  find enc28j60 module.

According to this http://forum.tinycorelinux.net/index.php?topic=21186.0 and this http://forum.tinycorelinux.net/index.php/topic,18858.0.html thread i should be able to somehow install this module, but o have problem with it.  I cant find matching .tcz.

I know that this internet card runs on raspbian without problems. Is there any way to run it under piCore?

Regards,

bmarkus:

--- Quote from: szpsz on June 21, 2018, 05:11:07 AM ---Hi,

I'm trying to run raspberry pi with enc28j60 spi ethernet card. I enabled enc28j60 in overlays, but it is not working. I checked lsmod and couldn't  find enc28j60 module.

According to this http://forum.tinycorelinux.net/index.php?topic=21186.0 and this http://forum.tinycorelinux.net/index.php/topic,18858.0.html thread i should be able to somehow install this module, but o have problem with it.  I cant find matching .tcz.

I know that this internet card runs on raspbian without problems. Is there any way to run it under piCore?

Regards,

--- End quote ---

If you are reporting an issue and looking for help, at least you must specify which version of piCore you are talking about and which architecture. Such "this shit doesn't work" type post is just a spam wasting time of all readers. Sorry to be rude but it is the fact.

 >:(

patrikg:
You can build your own tinycore extension (.tcz) with the driver/module.

If you download the appropriate file for the driver/module for your raspberry pi, you can do it like my old thread like this..if you running ver 9 of picore..like Bela says you have to add more information to the question.

For arm6.
Download http://tinycorelinux.net/9.x/armv6/releases/RPi/src/kernel/4.9.22-piCore_modules.tar.xz

And you have the file in this path
4.9.22-piCore_modules/lib/modules/4.9.22-piCore/kernel/drivers/net/ethernet/microchip/enc28j60.ko

For arm7.
Download http://tinycorelinux.net/9.x/armv7/releases/RPi/src/kernel/4.9.22-piCore-v7_modules.tar.xz

And you have the file in this path
4.9.22-piCore-v7_modules/lib/modules/4.9.22-piCore-v7/kernel/drivers/net/ethernet/microchip/enc28j60.ko

My old thread:

http://forum.tinycorelinux.net/index.php/topic,18858.msg129216.html#msg129216

Here some old thread how to add touchscreen driver.
http://forum.tinycorelinux.net/index.php/topic,20692.msg129171.html#msg129171

szpsz:
Sorry for not mentioning version. I'am using piCore 9.0.3. Now I'am trying to make it running on raspberry pi B (REV 1 B with 26 GPIO), but finally I want to use enc28j60 with raspberry pi zero.

Patrikg thanks for Your response, I will check it soon and  write back if I mange to make it running.

Regards,

szpsz:
Hi,

Patrikg I checked Your solution from this thread http://forum.tinycorelinux.net/index.php/topic,20692.msg129171.html#msg129171 but still without success.

First I tried to copy enc28j60.ko module file and load it with insmod command. After this I have enc28j60 listed on lsmod output but ifconfig show only eth0 and loopback interface. Of course after rebooting raspberry module was unloaded from kernel.

Then I try to make .tcz package myself. I follow Your instructions but after rebooting raspberry the enc28j60 module is not listed on lsmod output. When I tried to load module manually (tce-load -i /etc/sysconfig/tcedir/optional/enc28j60.tcz) I've got error: 'enc28j60 is already installed!'

Do i forget about something? Your guide of creating package is really simple, I don't think I made a mistake following it.

Regards,

Navigation

[0] Message Index

[#] Next page

Go to full version