Author Topic: Install FPP on a non Raspberry Pi board  (Read 7498 times)

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #15 on: January 22, 2017, 02:20:52 PM »
I just ran "sudo ./fppd.sh --log-level excessive --log-mask all --foreground" and this is what I got. 






=========================================
FPP v1.5-stage-618-g41909e6
Branch: master
=========================================
2017-01-22 15:18:51 (2491) common.c:112:Channel Data: (16 bytes)
2017-01-22 15:18:51 (2491) common.c:161:000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
2017-01-22 15:18:51 (2491) command.c:72:Initializing Command Module
control setsockopt SO_REUSEPORT: Protocol not available





Think I might have to reading the code now.
« Last Edit: January 24, 2017, 05:42:06 PM by cpwtech »

Offline Materdaddy

  • Moderator
  • *****
  • Join Date: Jul 2013
  • Location: Oceanside, CA
  • Posts: 2,047
  • Kudos: 9
    • Christmas On Quiet Hills
Re: Install FPP on a non Raspberry Pi board
« Reply #16 on: January 24, 2017, 07:07:20 PM »
Is your Orange Pi running raspbian?  The error from the socket operation about SO_REUSEPORT protocol makes it seem like you have an incompatible socket implementation, i.e. not debian-based.

http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #17 on: January 24, 2017, 07:19:49 PM »
It's running Armbian (Debian based).  I can't seem to get the Raspbian image to work correctly for long enough.  There's some in the configuration of the boot up process that is making it freeze up.  I have yet to figure out how to do cross compiling on my Linux box (debian 8).


Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,858
  • Kudos: 140
Re: Install FPP on a non Raspberry Pi board
« Reply #18 on: January 24, 2017, 11:22:41 PM »
Was fppd already running when you tried to run that fppd.sh command?
-
Chris

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #19 on: January 26, 2017, 03:47:25 AM »
Sorry Cpt, I have already wiped the drive and have now got Raspbian installing on it.  I will attempt the process again this evening when I get off work.


Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #20 on: February 03, 2017, 08:47:53 AM »
Hello again.  Have been on vacation and just got back home.  I just reinstalled FPP on a Debian 7 mini distro for the OrangePI and got a few errors that might be causing all of the problems.



--2017-02-03 14:53:21--  http://www.bc2va.org/chris/tmp/fpp/deb/pi/debian_7/libola-dev_0.10.0-1_armhf.deb
Resolving www.bc2va.org (www.bc2va.org)... 2607:f1c0:1000:208c:4f3f:c286:32f6:7804, 216.250.120.137
Connecting to www.bc2va.org (www.bc2va.org)|2607:f1c0:1000:208c:4f3f:c286:32f6:7804|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-03 14:53:22 ERROR 404: Not Found.


--2017-02-03 14:53:22--  http://www.bc2va.org/chris/tmp/fpp/deb/pi/debian_7/libola1_0.10.0-1_armhf.deb
Resolving www.bc2va.org (www.bc2va.org)... 2607:f1c0:1000:208c:4f3f:c286:32f6:7804, 216.250.120.137
Connecting to www.bc2va.org (www.bc2va.org)|2607:f1c0:1000:208c:4f3f:c286:32f6:7804|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-03 14:53:22 ERROR 404: Not Found.


--2017-02-03 14:53:22--  http://www.bc2va.org/chris/tmp/fpp/deb/pi/debian_7/ola-python_0.0.10-1_all.deb
Resolving www.bc2va.org (www.bc2va.org)... 2607:f1c0:1000:208c:4f3f:c286:32f6:7804, 216.250.120.137
Connecting to www.bc2va.org (www.bc2va.org)|2607:f1c0:1000:208c:4f3f:c286:32f6:7804|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-03 14:53:23 ERROR 404: Not Found.


--2017-02-03 14:53:23--  http://www.bc2va.org/chris/tmp/fpp/deb/pi/debian_7/ola-rdm-tests_0.0.10-1_all.deb
Resolving www.bc2va.org (www.bc2va.org)... 2607:f1c0:1000:208c:4f3f:c286:32f6:7804, 216.250.120.137
Connecting to www.bc2va.org (www.bc2va.org)|2607:f1c0:1000:208c:4f3f:c286:32f6:7804|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-03 14:53:23 ERROR 404: Not Found.


--2017-02-03 14:53:23--  http://www.bc2va.org/chris/tmp/fpp/deb/pi/debian_7/ola_0.0.10-1_armhf.deb
Resolving www.bc2va.org (www.bc2va.org)... 2607:f1c0:1000:208c:4f3f:c286:32f6:7804, 216.250.120.137
Connecting to www.bc2va.org (www.bc2va.org)|2607:f1c0:1000:208c:4f3f:c286:32f6:7804|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-03 14:53:24 ERROR 404: Not Found.


dpkg: error processing libola-dev_0.10.0-1_armhf.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing libola1_0.10.0-1_armhf.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing ola-python_0.0.10-1_all.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing ola-rdm-tests_0.0.10-1_all.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing ola_0.0.10-1_armhf.deb (--unpack):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 libola-dev_0.10.0-1_armhf.deb
 libola1_0.10.0-1_armhf.deb
 ola-python_0.0.10-1_all.deb
 ola-rdm-tests_0.0.10-1_all.deb
 ola_0.0.10-1_armhf.deb


I have tried looking at the directory that the install attempts to get the files from and it does not exist.  Does anyone know where I might be able to get these libraries from?


Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,858
  • Kudos: 140
Re: Install FPP on a non Raspberry Pi board
« Reply #21 on: February 03, 2017, 10:06:43 AM »
If you want support for FPP on anything other than a Raspberry Pi or BBB/BBG then you need to be running Debian 8 / Jessie and the FPP_Install.sh script from the master branch of FPP.  I think that those are the newer package filenames from when Mat was working on updating the install script, but for now we have been passing in the option to compile OLA from source if regression testing on Debian Wheezy.  FPP v2.0 will use Debian Jessie so that section of the install script doesn't get used anymore so we may not package up those libraries at all.

My test installs on Pine64 and ODROID-C1 have been using Debian Jessie with the FPP_Install.sh script from FPP master.  I switched them to the master-v1.x branch after the initial install and they have been running for about a month or so now.

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #22 on: February 03, 2017, 12:51:07 PM »
Ok sounds like a plan.  I'll wipe this setup and install Armbian, Debian Jessie, on the Orange and go from there


Offline mschell

  • Newbie
  • *
  • Join Date: Aug 2013
  • Location:
  • Posts: 17
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #23 on: February 03, 2017, 03:19:37 PM »
Not trying to hijack this thread, but should the install script run on Ubuntu?  I know it's not pure Debian, but I was hoping that it was close enough to run without too much of an issue.


To further complicate things, I'm trying this out on a Pine64 as well.


First major error when running was not being able to configure nginx...


Here's the pertinent portion of the log:


configuring additional modules
adding module in ../nginx-push-stream-module
./configure: error: no ../nginx-push-stream-module/config was found
make: *** No rule to make target 'build', needed by 'default'.  Stop.
make: *** No rule to make target 'install'.  Stop.
FPP - Configuring nginx webserver




Mark

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,858
  • Kudos: 140
Re: Install FPP on a non Raspberry Pi board
« Reply #24 on: February 03, 2017, 03:31:55 PM »
Not trying to hijack this thread, but should the install script run on Ubuntu?  I know it's not pure Debian, but I was hoping that it was close enough to run without too much of an issue.

We were looking at adding Ubuntu support before Debian was available on the other platforms, but since we can now get Debian images, I think we never added any real Ubuntu support.  I played with it a long time ago on my ODROID-C1, but haven't tried recently.

Patches are welcome, but I don't know how much time we will spend trying to get the installer working on Ubuntu ourselves since we have other things to focus on.

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #25 on: February 03, 2017, 10:19:07 PM »
Ok CaptainMurdoch,


    I have done a fresh install of Debian Jessie, installed WiringPi and ran the FFP_Install.  It still shows that Fppd is not running on the web interface.  I do want to thank you for all the help you have been giving me with this.  I might have to buy you an OrangePi PC and send it to you so you can tinker around with it, LOL.


Here are the logs and the trouble shooting commands

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,858
  • Kudos: 140
Re: Install FPP on a non Raspberry Pi board
« Reply #26 on: February 04, 2017, 12:32:06 AM »
Do you have a USB stick plugged in?  I don't see it mounted in the "df" or lsblk output in the troubleshooting logs.

I see that fppd was started at least twice according to the fppd.log file.  Did you try to start it manually when it didn't start automatically?  fppd won't start unless you have a USB stick installed or change the media directory to use another filesystem using the settings UI.

The troubleshooting logs also show that the 'gpio' helper utility wasn't found.  The Makefile won't include it on an unknown platform like the OrangePi though.  I need to look at updating the Makefile to auto-detect if wiringPi is installed and use it if so.  Right now it is hardcoded to only be used on the Pi itself and on the ODROID now after a commit I pushed tonight.

After installing a USB drive, you may have to run fppd from the command line and see what it outputs.  Try the following from the command line:

sudo /opt/fpp/src/fppd -f --log-level debug --log-mask all

And see if that indicates why it is stopping.

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #27 on: February 04, 2017, 04:37:20 AM »
This is what I got when I ran the suggested command.



fpp@FPP:~#sudo  /opt/fpp/src/fppd -f --log-level debug --log-mask all
=========================================
FPP v1.5-stage-534-g087c5ad
Branch: master-v1.x
=========================================
2017-02-04 05:29:30 (2109) gpio.c:66:SetupGPIOInput()
2017-02-04 05:29:30 (2109) gpio.c:105:0 GPIO Input(s) enabled
2017-02-04 05:29:30 (2109) channeloutput/FPD.c:384:FPD_IsConfigured()
2017-02-04 05:29:30 (2109) channeloutput/E131.c:376:E131_IsConfigured()
2017-02-04 05:29:30 (2109) channeloutput/ArtNet.c:426:ArtNet_IsConfigured()
2017-02-04 05:29:30 (2109) channeloutput/channeloutput.c:203:Loading /home/fpp/media/config/channeloutputs.json
2017-02-04 05:29:30 (2109) channeloutput/channeloutput.c:444:0 Channel Outputs configured
2017-02-04 05:29:30 (2109) Sequence.cpp:426:SendBlankingData()
2017-02-04 05:29:30 (2109) common.c:112:Channel Data: (16 bytes)
2017-02-04 05:29:30 (2109) common.c:161:000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
2017-02-04 05:29:30 (2109) PixelOverlay.cpp:69:InitializeChannelDataMemoryMap()
2017-02-04 05:29:30 (2109) PixelOverlay.cpp:412:LoadChannelMemoryMapData()
2017-02-04 05:29:30 (2109) fppd.c:186:MainLoop()
2017-02-04 05:29:30 (2109) command.c:72:Initializing Command Module
2017-02-04 05:29:30 (2109) controlrecv.c:57:InitControlSocket()
control setsockopt SO_REUSEPORT: Protocol not available




seems I do have a break down there.

Offline Materdaddy

  • Moderator
  • *****
  • Join Date: Jul 2013
  • Location: Oceanside, CA
  • Posts: 2,047
  • Kudos: 9
    • Christmas On Quiet Hills
Re: Install FPP on a non Raspberry Pi board
« Reply #28 on: February 04, 2017, 09:38:23 AM »
Last time you posted that error, I googled it.  It seemed like it might be from an incompatible socket library, which is why I asked if you were running a BSD variant or a linux build.

One of us developers might need to get an orange pi to see if there's something we can do for that platform (and potentially other similar ones).

Offline cpwtech

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Location:
  • Posts: 76
  • Kudos: 0
Re: Install FPP on a non Raspberry Pi board
« Reply #29 on: February 04, 2017, 09:44:27 AM »
Thanks Materdaddy.  It is a Debian distro. I'll keep tinkering around in the scripts and see what I can come up with.  Not as proficient with Linux as I should be, but it's a learning thing.  Plus if I mess up the install I can redo it, no harm no foul, lol.


I'll let you know if I come up with anything.


BTW, I have gotten it to sync with the Raspberry Pi, but that's as far as I have gotten.


 

Back to top