Jump to content

user_357

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Interests
    My board: Orange Pi plus 2
    Linux kernel,driver.
    I'm writing drivers... etc.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you very much. It works =) YEEEEE For all Orange pi h2&h3 Step: 1) Download nightly image!!! 2) Connect PC0(GPIO Orange PI) MOSI - (MCP2515<->CAN) SI PC1(GPIO Orange PI) MISO - (MCP2515<->CAN) SO PC2(GPIO Orange PI) CLK - (MCP2515<->CAN) SCK PC3(GPIO Orange PI) CS - (MCP2515<->CAN) CS PA7(GPIO Orange PI) INT - (MCP2515<->CAN) INT 3) Download overlay (zipped): sun8i-h3-spi0-mcp2515.zip (read up) 4) connect for orange pi, and command: armbian-config Chose: System->Hardware-> spi0-mcp2515 and spi-spidev. 5) reboot 6) next login and modprobe can modprobe can-dev # set bitrate 125kbit ip link set can0 type can bitrate 125000 triple-sampling on ifconfig can0 up 7) Testing apt-get install can-utils cangen can0 -I 5 -L 8 -D 11223344AABBCCDD
  2. And where to get the kernel that is used in the night assemblies?
  3. ARMBIAN 5.27.170416 nightly Debian GNU/Linux 8 (jessie) 4.10.3-sun8
  4. Download image: https://www.armbian.com/orange-pi-plus-2/ . Next: sed -i "s/apt/beta/" /etc/apt/sources.list.d/armbian.list apt-get update apt-get upgrade Next: To make sure you won’t run into conflicts within newly installed packages, remove them all before upgrade: 1 2 aptitude remove ~nlinux-dtb ~nlinux-u-boot ~nlinux-image ~nlinux-headers aptitude remove ~nlinux-firmware ~narmbian-firmware ~nlinux-$(lsb_release -cs)-root Proceed with install: 1 2 3 4 apt-get install linux-image-dev-sun8i linux-dtb-dev-sun8i linux-headers-dev-sun8i apt-get install linux-u-boot-orangepiplus-dev linux-$(lsb_release -cs)-root-dev-orangepiplus apt-get install armbian-firmware sunxi-tools swconfig a10disp reboot =================== I do not know from where else you can download
  5. Yes. armbianEnv.txt 3 version: 1) 2) 3) version 2, not working, no error,no drivers mcp2515 version 1 and 2: [ 10.378603] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring? [ 10.388743] mcp251x spi0.0: Probe failed, err=19
  6. Hello. I tried to do the same with mcp2515. Distr : Armbian 5.27.170416 nightly Kernel : 4.10.3-sun8i My board: Orange Pi plus 2. Error: [ 11.874772] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring? [ 11.885334] mcp251x spi0.0: Probe failed, err=19 Pin connect: I tried that too VCC = 5 V MCP2515<->SPI
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines