WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: MCP2515 CAN interface  (Read 25430 times)

Offline johand

  • Newbie
  • *
  • Posts: 19
Re: MCP2515 CAN interface
« Reply #15 on: September 18, 2015, 11:49:35 AM »
I can see that you added iproute2 to armv6 as well, but that extension have a broken dependency. It depends on the not existing extension netfilter-4.1.6-piCore+.

Johan

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: MCP2515 CAN interface
« Reply #16 on: September 18, 2015, 12:44:33 PM »
Seems to be working perfect now! Thanks for your support!

I it possible to add these extensions to armv6 as well? I have a plan using MCP2515 with the Raspberry Pi Compute Module in near future.

Johan

piCore 7.0alpha for 4.1.7 kernel is a work in progress. There are some issues but will be available soon. There are no intention to release new kernel modules for 7.0alpha with 4.1.6 or older kernel thought.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mb300sd

  • Newbie
  • *
  • Posts: 5
Re: MCP2515 CAN interface
« Reply #17 on: January 22, 2017, 04:38:04 PM »
Can these modules be added to 8.x as well? I'm trying to use the same chip. Thanks.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 860
Re: MCP2515 CAN interface
« Reply #18 on: January 22, 2017, 05:33:22 PM »
Why not make your own extension with it...like this..
Just when the tce-load command remove the w if you get this error message.
tce-load -wil squashfs-tools.tcz
squashfs-tools is already downloaded.


Code: (bash) [Select]
cd
wget http://tinycorelinux.net/8.x/armv6/releases/RPi/src/kernel/4.4.39-piCore%2B_modules.tar.xz -O - | tar -xvJf -
mkdir /tmp/package/usr/local/lib/modules/4.4.39-piCore\+/kernel/drivers/net/can/
cp /home/tc/modules/4.4.39-piCore\+/kernel/drivers/net/can/can-dev.ko $_
mkdir /tmp/package/usr/local/lib/modules/4.4.39-piCore\+/kernel/drivers/net/can/spi/
cp /home/tc/modules/4.4.39-piCore\+/kernel/drivers/net/can/spi/mcp251x.ko $_
tce-load -wil squashfs-tools.tcz
mksquashfs package /etc/sysconfig/tcedir/optional/mcp251x.tcz
echo mcp251x.tcz >> /etc/sysconfig/tcedir/onboot.lst
sync
sudo reboot

« Last Edit: January 22, 2017, 05:36:01 PM by patrikg »

Offline mb300sd

  • Newbie
  • *
  • Posts: 5
Re: MCP2515 CAN interface
« Reply #19 on: January 22, 2017, 06:39:04 PM »
Thanks :) I'm pretty new to tinycore, that was easy enough.

Offline Benicz

  • Newbie
  • *
  • Posts: 3
Re: MCP2515 CAN interface
« Reply #20 on: Today at 04:31:39 AM »
Hey all!
I also need to use piCore for CAN access, but the can-module extension seems to be gone.
I can't use the roll-your-own-method due to changed directories...
A plain tinycore would be fine as well, but for now I preferred a picoreplayer because of the ready-to-use interfaces.

How can I make use of the MCP2515?

Urgent Thanks! ;-)

Offline mjmouse

  • Newbie
  • *
  • Posts: 15
Re: MCP2515 CAN interface
« Reply #21 on: Today at 09:43:55 AM »
Path to the modules for 17.x will be armhf/release/src/kernel/modules* or starting with aarch64 if you are on 64bit.

Start at https://mirrors.dotsrc.org/tinycorelinux/17.x/

Offline gadget42

  • Hero Member
  • *****
  • Posts: 1074
Re: MCP2515 CAN interface
« Reply #22 on: Today at 11:32:40 AM »
** WARNING: connection is not using a post-quantum key exchange algorithm
** This session may be vulnerable to "store now, decrypt later" attacks
** https://openssh.com/pq.html - https://blog.cloudflare.com/tag/post-quantum
** Where's-Your-Disconnect?  https://www.cloudflare.com/under-attack-hotline