Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
G

GreenSystemes

@GreenSystemes
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can't build librf24-bcm on Banana Pi
    G GreenSystemes

    okay thank you for your help,
    i'm trying an other way to run mysensors, i'll post a fix when it works.

    Troubleshooting

  • Can't build librf24-bcm on Banana Pi
    G GreenSystemes

    the result of lsmod :

    Module                  Size  Used by
    spidev                  6217  12 
    spi_sun7i              17802  0 
    mali_drm                2608  0 
    drm                   209226  1 mali_drm
    mali                  111427  0 
    ump                    52415  1 mali
    
    Troubleshooting

  • Can't build librf24-bcm on Banana Pi
    G GreenSystemes

    I'll try the second SPI bus but it seems be the good bus.
    After add spi-sun7i in /etc/modules, what i'm supposed to do ? reboot ? just try to run PiGateway ?

    Troubleshooting

  • Can't build librf24-bcm on Banana Pi
    G GreenSystemes

    To enable SPI, I run :

    sudo modprobe spi-sun7i
    
    sudo raspi-config
    

    I got :

    FATAL: Module spi-bcm2708 not found
    

    But when I check in /dev/ SPI seems enabled

    ls /dev/spi*
    /dev/spidev0.0  /dev/spidev0.1
    

    Now, when I execute PiGatewaySerial, I have a "check wires" message. But it can still be the drivers, or maybe I plugged the NRF on the wrong SPI port ?

    Troubleshooting

  • Can't build librf24-bcm on Banana Pi
    G GreenSystemes

    @Jan-Gatzke said:

    I think the problem is, that the banana pi uses another cpu and needs another spi driver. As the Raspberry master seems to compile against the broadcom driver there will be no easy fix for this.

    Agreed ! But if I do :

    sudo raspi-config
    

    It should work ... but here, there is an error :

    FATAL: Module spi-bcm2708 not found.
    

    Now, I merged these files : https://github.com/LeMaker/bcm2835_BP with mysensors Lib and it partially works. I can compile but PiGateway doesn't work ...
    Nobody used a Banana Pi with mySensors before ?

    Troubleshooting

  • Can't build librf24-bcm on Banana Pi
    G GreenSystemes

    Hi !

    I'm here because I have some problems with my Banana Pi.

    I downloaded the Zip file on : https://github.com/mysensors/Raspberry
    Read the README file and do the following step :

    sudo apt-get update
    sudo apt-get upgrade
    
    raspi-config
    

    and then enabled SPI module.
    At the end of the config, an error appeared

    FATAL: Module spi-bcm2708 not found.
    

    I ignored this error and tried to build librf24-bcm.

    cd Raspberry-Master/librf24-bcm
    make all
    

    the result is

    g++ -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s -march=armv6zk -D BCM2835_PERI_BASE=0x -c RF24.cpp
    gcc -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s -march=armv6zk -D BCM2835_PERI_BASE=0x -c bcm2835.c
    bcm2835.c: In function ‘bcm2835_init’:
    bcm2835.c:1207:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1208:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1209:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1210:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1211:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1212:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1213:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1214:28: error: invalid suffix "x" on integer constant
    bcm2835.c:1228:83: error: invalid suffix "x" on integer constant
    bcm2835.c:1232:81: error: invalid suffix "x" on integer constant
    bcm2835.c:1236:81: error: invalid suffix "x" on integer constant
    bcm2835.c:1239:83: error: invalid suffix "x" on integer constant
    bcm2835.c:1242:83: error: invalid suffix "x" on integer constant
    bcm2835.c:1246:83: error: invalid suffix "x" on integer constant
    bcm2835.c:1249:83: error: invalid suffix "x" on integer constant
    bcm2835.c:1253:79: error: invalid suffix "x" on integer constant
    Makefile:52: recipe for target 'bcm2835.o' failed
    make: *** [bcm2835.o] Error 1
    

    someone has an idea ?

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular