Falcon Christmas

Falcon Christmas => Falcon Player (FPP) => Topic started by: dkulp on November 05, 2017, 05:27:25 PM

Title: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 05, 2017, 05:27:25 PM
The installation instructions for the "dkulp" images is a bit different than the old images or the images for the Pi's.   As a start, I highly suggest watching the excellent video:

https://www.youtube.com/watch?v=6aSyA1gU2cQ (https://www.youtube.com/watch?v=6aSyA1gU2cQ)


That will provide a good walk through an introduction on how to get started.   However, if videos are not your thing, here are some written instructions.


1) Download the latest image from http://dankulp.com/bbb (http://dankulp.com/bbb) and unzip it to your computer someplace.


2) Burn the image onto an SD card.   The SD card needs to be at LEAST a 4GB SD card.   Unlike the previous images and the Pi images, you cannot just unzip the image onto the card directly.   You need to use a program such as "ApplePi Baker" or "Etcher" to burn the image onto the SD card.   If you've never done this before, the Beaglebone community has some good instructions:  https://beagleboard.org/getting-started#update . The main reason is that the Beaglebone image is a full "Linux" EXT4 partition.  Once the image is burned, Windows or OSX will NOT be able to read the SD card as it's not a FAT filesystem that they understand.


3) Place the SD card into the BBB and hold down the S2 button (the button nearest the SD card slot) while powering it on.  At this point, it is STRONGLY recommended to power the BBB using a USB cable attached to your computer.  Once the lights start flashing, you can release the S2 button.


4) After about 90 seconds or so, you should be able to use a browser to obtain access to the BBB.   If using the USB cable, you can browse to http://192.168.7.2 (Windows) or http://192.168.6.2 (OSX) and it should be fully up and running. 


At this point, FPP is completely up and running and ready to be used from the SD card.   If you plan on only running FPP from the SD card, that is all you need to do.   Start configuring the storage locations, time zones, network settings, etc...   If you pan to use the SD card for storage as well, you will likely need to expand the partition.  By default, it will be a 3.8GB partition (to fit on a 4GB card), but it won't leave much space for sequences.   Assuming you are using a larger card, you can expand it by going to the Settings -> Advance Settings and click on the button to expand the partition.  Then reboot.  You should then have the full size of your SD card available. 


However, if you would like to run FPP from the eMMC, you need to flash the image there.   To do so, go to the Settings -> Advanced Settings and hit the Flash to eMMC button.   Then wait a LONG LONG time.   It can easily take 30-45 minutes to copy everything over.   It should shut down automatically when done.  Remove the SD card and re-power on the Beaglebone.  That should have you running off the eMMC.


There will be additional "Advanced Usage" posts later in this thread, but the above should get you started.



Title: Wireless Beaglebones (BBBW and BBGW)
Post by: dkulp on November 05, 2017, 05:33:47 PM
By default, the Beaglebones will use DHCP to obtain an IP address for the wired port.  Thus, if you don't connect the BBB to the computer via a USB cable, you can get to the BBB using the ip address if you can figure it out (via nmap or your router or other utility).  However, the wireless controllers cannot get an IP as they don't know what network to connect to.   Instead, they boot up in "teather" mode.   After boot up, look for a new WIFI network named "FPP-####" (the last 4 digits are randomish).  Connect to that from your computer using the Wifi password of "Christmas".   Then browse to http://192.168.8.1  .  Configure like normal.   For the wireless controllers, there is now a "Disable BBB Tethering" option on the FPP settings page to turn this off once you have everything configured.


Note:  the BBBW is completely compatible with all the common capes that we use.  The Octoscroller and F4-B/F8-B/F16-B controllers should work fine.   The BBGW, on the other hand, consumes various pins, and the current capes have issues.    I do have a new Octoscroller pinout that will work if interested.
Title: Storage device filesystems
Post by: dkulp on November 05, 2017, 05:50:29 PM

The new image supports using alternative filesystems for the storage (either SD card or USB drive) other than FAT.    FAT is the default filesystem on the various SD cards and USB drives.  FAT is useful as it's readable on Windows, Mac, Linux, etc....  However, with Linux, the FAT filesystem is slow and also prone to corruption if not cleanly shut down.    Also, regular FAT only supports up to 32GB.   If there is no need to read the SD/USB drive from Windows/Mac, then I'd suggest changing to something more "Linux native".   There are currently two other options:


1) ext4 - this is the normal filesystem for Linux and the one the boot drive will use.   It's likely the most stable, can check itself at boot, is relatively fast.


2) btrfs - this is a newer filesystem and as such may not be quite a battle tested as ext4.  However, it has some really great features that can be useful.  The primary one is built in compression.   The FSEQ files we use are VERY compressible so a lot of space can be saved.   In addition, this CAN be faster as less data is transferred to/from the card.


To use a different filesystem, you need to reformat the SD card.   At this point, you have to be able to login to the BBB command line.   You can use SSH to login or use the "SSH shell" option from the Help menu to get to the command prompt.   Username fpp, password falcon.   After you login, insert your SD card or USB drive.   First, you should repartition the card to mark the partition as "Linux".   There are two options that work well:


1) Just change the type:   "sudo sfdisk --part-type /dev/mmcblk0 1 83" for SD or "sudo sfdisk --part-type /dev/sda 1 83" for USB

2) Completely reformat and repartition the card.  This will make sure the partition uses the full size of the card: "echo ";" | sudo sfdisk /dev/mmcblk0" for SD or "echo ";" | sudo sfdisk /dev/sda" for USB





 To format it, type one of:

1) For ext4 for SD card:    "sudo mkfs.ext4 -F /dev/mmcblk0p1"

2) For btrfs on SD card:   "sudo mkfs.btrfs -f /dev/mmcblk0p1"

3) For ext4 on USB:  "sudo mkfs.ext4 -F /dev/sda1"

4) For btrfs on USB: "sudo mkfs.btrfs -f /dev/sda1"

You will need to type the password (falcon) again.   It should complete in 10-15 seconds or so.   After it's done, you can go to the FPP settings page and select it for the storage location.   Reboot, select it again, and reboot again.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Emuney18 on November 06, 2017, 05:31:53 AM
Wow thanks Dan for posting. This is on the list for next year once this year is running.


Sent from my iPhone using Tapatalk
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Jradical on November 06, 2017, 02:25:46 PM
Hi Dan

using a lowercase -f didn't work for the reformat command. Unrecognised command. Switched it up to a capital and worked without issue.

Code: [Select]
sudo mkfs.ext4 -F /dev/mmcblk0p1

There's also a issue with using a RTC with this build. It won't "install" the RTC because the i2c bus it's sitting on has moved from i2c-1 to i2c-2.
Not sure if this was something major that changed in the latest image or something. but It's definitely on 2.
After making a small change to /opt/fpp/scripts/functions, time can be read and written from the RTC.

One other issue also is even with that fixed the system time doesn't appear to be updating from the RTC, from the startup log it looks like it's doing it, but time is still wrong
until I run /opt/fpp/scripts/piRTC again it blurts out a error because the i2c device is already mapped. but it does update the system time.

piRTC is being called in the startup script  (i2c device is being mapped, troubleshooting page shows it working too), but for whatever reason the system time is not being changed.
I haven't been able to figure it out yet.
I have a BBB. with a octoscroller cape with built in RTC

Other than that it seems to be working fine.

Code: [Select]
/opt/fpp/scripts/functions

setupBBBRTC ()
...
            # DS1307 chip
            # BBB has onboard clock as rtc0 so we need to use rtc1
            echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-2/new_device
            echo "FPP - Configuring RTC, Setting to DS1307/i2c-2"
            ;;
...
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 06, 2017, 03:21:37 PM
Fixed the -F issue.  Thanks.   I was working from memory as I didn't want to reformat my cards.  :)


I haven't tried any of the RTC things.   None of my current capes have RTC on them and the capes that I do have sitting on my desk that do have an RTC don't have batteries for the RTC.   I'll Amazon a battery and see what I can figure out.   Not something I've ever looked at though as NTP works great for me.   I wonder if you need to modprobe the rtc-ds1307 module.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: jnealand on November 06, 2017, 04:19:57 PM
I also hit the problem with the formatting command so I'm glad to see the solution.  I would not have know what to do about it. 

I have one other issue and that is my WiPi ethernet adapter does not work with the new image, but it worked great with the old image.  If I swap the WiPi for and edimax my wifi works fine.  I seem to recall that there are some commands that can be run to get the proper driver to load, but darned if I know what they are. 

Please try to keep all solutions in the first couple of posts even if you answer them down in what I suspect will be deep depths in this thread.  Thanks for putting this thread up, the older one was getting quite cluttered.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 07, 2017, 06:12:07 AM
Dan, for those of us using Windows, do you know of any utilities that would let us see and work with the ext4 and btrfs partitioning?

There is "winbtrfs" and has a github page, but there are still many recent bug entries

I'm also looking a using my Chromebook for similar items.

**** addition

After inserting an flash drive (sda1) and formatting in ext4, this is what I get from a "sudo fdisk"

Disk /dev/sda: 7.6 GiB, 8166703104 bytes, 15950592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1        8192 15936479 15928288  7.6G  b W95 FAT32


Should it still say "FAT32" at the end?
Did I need to reboot to get a remount of the flash drive?

Putting in a recently formatted Fat32 flash drive of the same size, I get exactly the same text.

The only difference I'm seeing is that if I put the "ext4" formatted drive in a Windows system, it won't read it.
If I put it in my Chromebook, it will open but is mounted as Read Only.

Now, I tried btrfs.

Using lowercase f , it looked like it did just what was expected.
After a several reboots to get sda1 mounted and recognized as my Media drive, I do see this promising line at the bottom of mount | grep -v password:

(/dev/sda1 on /home/fpp/media type btrfs
(rw,noatime,nodiratime,compress-force=lzo,space_cache,subvolid=5,subvol=/)

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 07, 2017, 07:28:30 AM
For the btrfs command, the upper case F gives an error, then lists the options.

-f is the "force overwrite of existing filesystem" option
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 07, 2017, 08:12:22 AM



I think I have the RTC issue fixed.   It apparently was taking about 20 seconds to load the module once the command to detect the RTC was initiated.  Unfortunately, the hwclock command was occurring before that timeout.   If I force the modprobe of the module prior to the detect, it's very quick and seems to work.    (also updated the script to use i2c-2)


I fixed the btrfs -F issue.


I also added info about repartitioning the card.   It's not "required" but what it does do is mark the partition as type 83 (Linux) instead of "c" Win95/FAT32.    It also makes sure the partition uses the full size of the card.   Marking it as type 83 might help the Windows utilities recognize it as not being FAT.   No idea.  I don't use windows.  :)

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Jradical on November 08, 2017, 04:06:43 AM

I think I have the RTC issue fixed.   It apparently was taking about 20 seconds to load the module once the command to detect the RTC was initiated.  Unfortunately, the hwclock command was occurring before that timeout.   If I force the modprobe of the module prior to the detect, it's very quick and seems to work.    (also updated the script to use i2c-2)


That's fixed it, the workaround I had was to change i2c-2 obviously. but add a 10second sleep the piRTC, that would work into the 20second load time you noticed.
Thanks.

The other issue I'm having now is FPPD won't run when my my Octo cape is enabled (didn't realize it was disabled before), the functions file we have is point to the wrong slots location (check FPP master branch and that one looks correct)
Even after that, trying to load the cape resulted in a hang until I commented enable_uboot_cape_universal=1 in boot/uDev.txt
After that it seems the cape will show along with the pru thing when you run the command cat /sys/devices/platform/bone_capemgr/slots

If I disable my panel setup via Channel Outputs, and restart FPPD, it starts and is running. Enabled it, restart, FPPD won't start.
Used some info from here for the new slots location
https://elinux.org/Beagleboard:BeagleBone_Debian_Image_Migration (https://elinux.org/Beagleboard:BeagleBone_Debian_Image_Migration)

Not sure what's going on, I swear it was working in one of your other images. I had my matrix running at the time testing the brightness.
Using your latest image, not so much.
Code: [Select]
[   33.644602] bone_capemgr bone_capemgr: part_number 'uio_pruss_enable', version 'N/A'
[   33.644641] bone_capemgr bone_capemgr: slot #4: override
[   33.644658] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[   33.644675] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,uio_pruss_enable'
[   33.656117] bone_capemgr bone_capemgr: slot #4: dtbo 'uio_pruss_enable-00A0.dtbo' loaded; overlay id #0
[   33.696932] bone_capemgr bone_capemgr: part_number 'CAPE-BONE-OCTO', version 'N/A'
[   33.696971] bone_capemgr bone_capemgr: slot #5: override
[   33.696987] bone_capemgr bone_capemgr: Using override eeprom data at slot 5
[   33.697005] bone_capemgr bone_capemgr: slot #5: 'Override Board Name,00A0,Override Manuf,CAPE-BONE-OCTO'
[   33.714069] bone-pinmux-helper ocp:helper: could not find pctldev for node /ocp/interrupt-controller@48200000, deferring probe
[   33.714427] bone_capemgr bone_capemgr: slot #5: dtbo 'CAPE-BONE-OCTO-00A0.dtbo' loaded; overlay id #1

Getting this in the Startup log too, not sure where it's coming from, could be part of the issue
Code: [Select]
FPP - Configuring RTC, Setting to DS1307/i2c-2
P8_07 pinmux file not found!
WARNING: GPIO pin not exported, cannot set direction or value!
bash: /sys/devices/platform/ocp/ocp*P8_07_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P8_07_pinmux/state
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 08, 2017, 06:06:10 AM



You shouldn't need to do ANYTHING with the overlays as we don't use it anymore.   I need to actually remove the "slots" thing from the scripts.   I was leaving it in place as I was hoping to eventually merge some of this to the main 1.9 branch and try and support both Wheezy and Stretch, but I don't see that happening now so I could remove a bunch of the non-stretch code.


In any case, we use the cape_universal setup now and don't use any of the overlays.   We configure each pin via the "config-pin" command at boot up, but we also sometimes need to configure the pins individually within FPP (mostly as the DMX's don't use gpio anymore so need to flip those pins to pru direct mux).   


The "P8_07 pinmux file not found" error is directly a result of trying to use the CAPE overlay.   That's coming from the config-pin stuff trying to configure the pin for out, but the CAPE_BONE_OCTO overlay has taken over the pin so the config-pin command won't work.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 08, 2017, 08:06:58 AM
The other issue I'm having now is FPPD won't run when my my Octo cape is enabled

I've got four working Octoscrollers with this latest image and FPPD runs on all of them. (so I never had to dig THAT deep into the code).

I'm not quite sure what is stopping yours, but it isn't a generic issue.

Are you storing your Configuration on uSD or Flash Drive? Anything else you doing, like using ext4 or btrfs partitioning?
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: jnealand on November 08, 2017, 03:56:29 PM
I still have the problem that my Wi-Pi wifi adapter will not work where it did in the June image I was using.  I'm pretty sure that is a library issue, but I am not a coder or a linux wizard so I have no idea how to fix that.  The Wi-Pi adapters work perfectly in the Pis.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 08, 2017, 04:49:32 PM
I still have the problem that my Wi-Pi wifi adapter will not work where it did in the June image I was using.  I'm pretty sure that is a library issue, but I am not a coder or a linux wizard so I have no idea how to fix that.  The Wi-Pi adapters work perfectly in the Pis.


I have no idea what chipset or anything they use so not even sure how to debug it.   Is it this:  https://www.amazon.com/Wi-Pi-Raspberry-802-11n-Wireless-Adapter/dp/B00BDW6D7I


If so, I'll order one and see if I can get it working.   Not sure what would have changed in regards to wifi to change it. 
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 08, 2017, 05:20:33 PM
I just pushed a change to the branch that may obsolete most of the instructions above for formatting the cards.   From the settings page, if you select an unmounted partition, it will now prompt if you want to reformat the partition with one of the supported filesystems.   It will then format it and set it properly.     Again, it's only for unmounted devices.  The best way to make sure of that is to boot without the card inserted, then insert the card, and then go to the settings page.


The part it doesn't do is the sfdisk stuff to wipe the card and create a single partition of the full size.   However, most cards only have a single partition of the full size anyway so this is likely not a huge deal.   


Anyway, if folks could give it a quick test, that would be great.  Thanks!
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 08, 2017, 07:56:35 PM
first attempt, now reading this in the list of mounts for my media. (last line)

/dev/mmcblk0p1 on /home/fpp/media type ext4 (rw,noatime,nodiratime,data=ordered)

Was reluctant to display the newly saved DNS name until a reboot. Said it was saving but just wouldn't display.
After the reboot, everything seems to be saving normally.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 08, 2017, 08:22:07 PM
The ext4 format was NOT the problem - turns out the Edimax wifi dongle is the culprit

File save speed to the uSD using ext4 is HORRIBLY slow. Snails pace.

The BBG I set up yesterday using btrfs on uSD saves at normal speed

The BBG I set up tonight using ext4 is painfully slow
When I copied a file using Windows file explorer, it was slow, showing 305kb/s, then gave an error about having trouble. When I cleared the error, that file transferred very quickly and seems normal (size and date).
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 08, 2017, 09:10:22 PM
I enabled most logging and then started another download.

I didn't find anything (yet) in the logs but did try to download them using the Zip button.

On both the ext4 and btrfs configured BBGs, that crashed the browser session with an "unable to handle this request" message.
Hitting the back arrow took me back to the still working FPP interface.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: jnealand on November 09, 2017, 11:19:34 AM
I have several of them and they work great with the Pi FPP and they have been working with the June version.  Historically I know there were solutions posted on the Falcon Player section but I have not been able to find it.  Search seems to be abysmal on the forum.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 09, 2017, 12:22:24 PM


I just did some scp copies of a 800MB fseq file from my local machine to a BBB with all three file systems and they ranged from 5.8MB/s to 6.1MB/s which is well within range of each other to say they were "close enough" to be the same.   



Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 09, 2017, 12:38:39 PM


I just did some scp copies of a 800MB fseq file from my local machine to a BBB with all three file systems and they ranged from 5.8MB/s to 6.1MB/s which is well within range of each other to say they were "close enough" to be the same.
The BBB with uSD using ext4 that is so slow was created using your newest script method. I'll try it again and see what happens.

The btrfs setup is getting speeds like you listed.

Sent from my SM-G955U using Tapatalk

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 09, 2017, 02:41:48 PM
Ok, I never did get ext4 to work right so I went "scorched earth" and started over.

Connected via computer USB with no Cape and no Wireless
Held down S2 while powering up. uSD card had the Sep 20 image on it.
Waited until I had access via 192.168.7.2  (Windows computer)
Went to FPP Settings / Advanced
Reflash eMMC using the option at the bottom
It ran and ran and ran and finally powered down
Removed uSD with the image. Left slot empty
Powered back up. Still nothing installed but the USB power from my PC and Ethernet cable
Waited until I had access via 192.168.7.2
Let the BBG fully update to  v1.9-bbb-89-g400ff1b (bbb-stretch-v1.x branch
then I inserted a 32gb uSD that had been cleared with SD Formatter
Went to FPP Settings. Then I picked the uSD card from the list
It prompted me for my format choices. I picked ext4
waited until it finished.
Rebooted
Now, I tested my file transfer speeds. YAY !!  Back to normal.

I do not know why it was so slow. But, it is working now.

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 09, 2017, 02:50:58 PM
But wait - early celebration

I tested the file transfer using the 192.168.7.2 (USB) interface.
It was normal speeds

After setting up my Edimax dongle with a fixed IP address and removing the CAT5 (which was DHCP)
and then going to
192.168.0.66 (my static address)

File transfer is now slow again. Very slow.

The obvious next question is - what is the speed using that CAT5 DHCP connection (with no WiFi dongle)
The answer is - the speed is fast and normal.

So, my problem is with the WiFi, not with the formatting of the uSD card.

I'll try a different dongle

and, crap, it's the dongle. Swapped dongles with the previously fast "BTRFS" BBG. Now it is slow.
Stupid thing is brand new, too.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 09, 2017, 04:59:44 PM
I have several of them and they work great with the Pi FPP and they have been working with the June version.  Historically I know there were solutions posted on the Falcon Player section but I have not been able to find it.  Search seems to be abysmal on the forum.


Jim,


I think there are WIFI issues with the Kernel that was the latest kernel when I created the image.   Can you run a few things and see if the WIFI works.   If so, I'll create a new image with a new kernel.


Can you login to the command line do the following steps:


1) cd /opt/scripts/tools/
2) sudo ./update_kernel.sh
3) sudo reboot


Step2 will take a few minutes.   After the reboot, then (again from command line), run:


1) sudo apt-get install linux-headers-4.4.91-ti-r137
2) cd /opt/rtl8192cu-fixes
3) sudo dkms install 8192cu/1.10
4) reboot


Then let me know if the wifi works with the WiPi adapter.    ONE of my cheap wifi adapters didn't work with the image fresh installed, but once I did all that, it started working. 


John:  you might want to try that as well.   It might be the Wifi driver and not the adapter.     


That said, I'd recommend going with the 802.11n adapters that claim the 300MB/s speed instead of the 150.  They generally use the 8192cu driver which seems to work well.



Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: jnealand on November 09, 2017, 07:21:01 PM
I can try that tomorrow.  At the moment I have a purloined edimax in the unit and it is sealed up outside.  I can also try it with my BBG backup unit which is sitting on my workbench.  I currently have a bigger problem in that I can access the BBB, upload sequences, manage the configuration, run display testing, but can not play a sequence in test mode or via multisync.  The master can copy stuff to the BBB, I can copy stuff to the BBB, but I cannot play anything that is on the uSD card which I formatted in ext4.  I just switched the settings to go back to using the EMMC memory for data and need to see if that will let me play a seq.  If that works it is either a problem with the ext4 format when playing a seq or a bad uSD.  Since I can copy to the uSD and view all the files on it I'm leaning towards something wrong with ext4.  I have a Patriotic playlist I am hoping to run this weekend and that is my current focus for Friday during the day along hooking up a few more props that I tested today.  Today was the first fairly dry day all week.  yuk.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: jnealand on November 09, 2017, 08:30:43 PM
Tried your commands on my BBG, but I am getting an access error.  Here are two snips showing FPP version and the ssh window.  I used the USB cable and the 192.168.7.2 ip address to get into the system, then used the help system ssh access.  My DNS is pointing to my home router and to 8.8.8.8.   

I'm off to bed now.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 09, 2017, 08:37:27 PM
I successfully ran all those updates but still, my Edimax dongle is just too slow for words. Something definitely wrong with it.

Also, Jim - I have a WiPi - tried it - no, it didn't come up for me.

Will be testing "remote" for btrfs and ext4 momentarily

Jim - both of my new Remotes are playing their files. One is ext4, the other is btrfs. 
Be sure you restarted FPPD after checking the boxes on the Master's Multisync page.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 09, 2017, 09:36:20 PM
Dan, I am seeing HUGE compression rates on the btrfs volume. I have added several Gigabytes of FSEQ files but the storage size has barely changed.

You could probably use a 4gb uSD drive in place of a 16gb or 32gb.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 10, 2017, 06:38:24 AM
Dan, I am seeing HUGE compression rates on the btrfs volume. I have added several Gigabytes of FSEQ files but the storage size has barely changed.

You could probably use a 4gb uSD drive in place of a 16gb or 32gb.


Yea...   My 7GB of halloween sequences fit in about 800MB of space.  :)   The fseq files compress REALLY well.   The MP3's don't.   If you run "btrfs filesystem df /home/fpp/media" you can get an idea of total size vs used.     


For next year, I'm thinking of changing the flash to eMMC script to to create a small 128MB "boot" partition and then make the root partition a compressed btrfs.  Should allow using the eMMC for smaller shows.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 10, 2017, 04:19:54 PM
I just pushed a new 20171110 image up that I hope resolves the WIFI issues.   It's basically the 0920 image with an updated kernel and a few other updated packages along with the latest FPP code.   I haven't done a lot of testing with it, but it does seem to bring up all three wifi adapters that I have.


What's also cool is this image boots on the PocketBeagle.   :)   
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 11, 2017, 05:38:12 AM
I just pushed a new 20171110 image up that I hope resolves the WIFI issues.   It's basically the 0920 image with an updated kernel and a few other updated packages along with the latest FPP code.   I haven't done a lot of testing with it, but it does seem to bring up all three wifi adapters that I have.


What's also cool is this image boots on the PocketBeagle.   :)

I don't have a PocketBeagle to test with, but did reflash the eMMC on my working BBG (with BTRFS formatting of the uSD card)
Did not have to remove my Octoscroller since I didn't need to hold the S2 button. That was good.
Once it installed and I put my uSD card back in, a simple re-select in FPP Settings remounted and reloaded all my settings. That was good
I did try my WiPi dongle. It did not talk to it. Sorry, Jim.
It does like my Edimax and my DLink dongles, though.
The kernel version now matches with the other BBG I updated with your manual scripts.
These will be going in new P10 panels shortly. (one with ext4, the other with btrfs)
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 13, 2017, 08:26:50 AM

I got the WiPi adapter on Saturday and was able to duplicate the issue.   For some reason, the WiPi adapter don't initially enable a "link" status so connman won't attempt to do anything with it.    However, from the command line, if you do a "ifconfig wlan0 down ; ifconfig wlan0 up; connmanctl scan wifi", it comes up.   I've gone ahead and updated the various boot scripts to do that if an IP address isn't detected.    Thus, it now comes up at boot.   However, if you just "stick it in" when up, it won't work without those commands run.   The side effect is that if you boot up without and network connection at all, it takes an extra 15 seconds or so as there is an additional loop after the down/up.   


BTW:  thanks everyone for the donations to xLights, I use part of my share of the donation money to buy things like P5/P10 panels and wifi adapters and beaglebones and such to test these things. Your money does help others.


Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: bassnbuck on November 13, 2017, 08:43:26 AM
i have a couple of questions on this. right now my BBB is running version 1.7 i think and seems to be working.  this will be the first time running it in my show.  Should i do this update now?  if the answer is yes will i have to remove the whole thing from my panels to connect to the internet or can i just do a new formatted card with the new image?   
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on November 13, 2017, 08:50:32 AM
To Dan (and Jim), the new update, Version: v1.9-bbb-91-ga480a91 (bbb-stretch-v1.x branch)  did pick up the WiPi and it is working well.

To bassnbuck, the best install method for this image would be to remove it and bring it inside. That is primarily because it installs the "easiest" if you connect it to a PC (Windows or Mac or Linux) via a USB cable so that you can get to the FPP interface without a working LAN or Wireless connection. The USB cable establishes a connection at 192.168.7.2 (Windows) on my computer that is great.

If your system is working on November 13, 2017 and you aren't the adventurous type, I'd leave it alone.

Me - I'd have yanked it already without asking. but that's just me.
This has been a much improved BBB, BBG install for me.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: jnealand on November 13, 2017, 10:26:11 AM
I've gone ahead and updated the various boot scripts to do that if an IP address isn't detected.    Thus, it now comes up at boot.   

A little clarification needed for this non programmer.  Does this mean I need to download a new image or does it mean I just need to do an update via the help about page or what?  I am unclear on how to get the new scripts installed.  btw I am still running the 920 image although I did download the 1110 image but put off installing it until after last weekends patriotic show ended.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on November 13, 2017, 10:27:44 AM
I've gone ahead and updated the various boot scripts to do that if an IP address isn't detected.    Thus, it now comes up at boot.   

A little clarification needed for this non programmer.  Does this mean I need to download a new image or does it mean I just need to do an update via the help about page or what?  I am unclear on how to get the new scripts installed.  btw I am still running the 920 image although I did download the 1110 image but put off installing it until after last weekends patriotic show ended.


This just needs a "Manual Update" (or automatic update) from the about page.   
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: battle79 on November 23, 2017, 02:52:56 PM
Random slightly off topic question,
If I keep getting:

Stopping fppd...
==========================================================================
Pulling in updates...
/opt/fpp/scripts/git_pull: line 34: /tmp/output.txt: Permission denied
==========================================================================
Restarting fppd...
==========================================================================
Update Complete.

when I try to update with the manual update button, what should I start with for problem solving?
Remote git versions is showing unknown and its currently on version v1.9-bbb-85-g6066253

Thanks,
Rowan
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Broomy111 on March 12, 2018, 10:52:37 AM
Hi Guy's,


Putting an image on a new BBB, and which version should I be using.  I ran the bbb-fpp-master-apache-20180311.zip and seems to be running fine, except I received an error with the Etcher app detected potential corruption issues when reading back from the drive.


Thanks


Kevin

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on March 12, 2018, 11:13:09 AM
Putting an image on a new BBB, and which version should I be using.  I ran the bbb-fpp-master-apache-20180311.zip and seems to be running fine, except I received an error with the Etcher app detected potential corruption issues when reading back from the drive.



That's the version to use.  No idea on the etcher thing.   I'll try and take a look.   I haven't been using the image writers lately and instead have just been using "dd" from the command line as it's faster and easier for me.  :)



Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Broomy111 on March 12, 2018, 01:17:41 PM
Putting an image on a new BBB, and which version should I be using.  I ran the bbb-fpp-master-apache-20180311.zip and seems to be running fine, except I received an error with the Etcher app detected potential corruption issues when reading back from the drive.



That's the version to use.  No idea on the etcher thing.   I'll try and take a look.   I haven't been using the image writers lately and instead have just been using "dd" from the command line as it's faster and easier for me.  :)


Thanks Dan.  I will keep you posted but I'm not seeing anything wrong with the FPP after receiving that message from Etcher.  I tried image 20180118 and received the same Etcher error message.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on August 01, 2018, 07:04:48 AM
Dan, I don't have any BBBW or BBGW boards, just the non-wireless.
I thought I'd try the newest BTRFS image and would see the Tethering connection.  No luck. I "assumed" it would see my Edimax on the BBG but it did not.
Any way to make that happen on the BBB or BBG ?  (I realize it would require a new image to be available at initial startup)

Also of note as I work with this BTRFS image for testing.

It did show up as 192.168.7.2 on my Chromebook when powered by a USB cable. That was convenient. I don't have another laptop unless I borrow my wife's.

But - it did not show any options in FPP Settings Advanced to allow me to Flash to eMMC (I even rebooted using the S2 hold down) and didn't let me expand the storage to full size (I am using a 32gb Samsung uSD).

oooops - surprise - after Manual Update to the latest (started at 622, now at 640), those options are all listed.

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on August 01, 2018, 08:01:26 PM
and while I'm "playing" with the newest BBB images, don't waste time using the BTRFS image and then try to Flash to eMMC. Just won't go.
I don't remember reading it but it seems that the two newest images (BTRFS and EXT4) for the Beagles are intended to run from uSD, not eMMC.
(dan, if you read this, perhaps you can confirm).

I'm still happy that I can access a Beagle from my Chromebook at 192.168.7.2
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: pixelpuppy on August 01, 2018, 08:18:42 PM
and while I'm "playing" with the newest BBB images, don't waste time using the BTRFS image and then try to Flash to eMMC. Just won't go.
I don't remember reading it but it seems that the two newest images (BTRFS and EXT4) for the Beagles are intended to run from uSD, not eMMC.
(dan, if you read this, perhaps you can confirm).

I'm still happy that I can access a Beagle from my Chromebook at 192.168.7.2

I posted  the same issue here http://falconchristmas.com/forum/index.php/topic,9175.msg85707.html#msg85707 (http://falconchristmas.com/forum/index.php/topic,9175.msg85707.html#msg85707)

The btrfs SD image is only needed for running from uSD with a btrfs file system.  The ext4 image is fine for flashing to eMMC and you can even select the BTRFS option to create a btrfs file system on eMMC and that works  I think its just a simple typo in the script on the btrfs SD image but I  donít think Dan had a chance to look at it yet.  The btrfs SD image works great on PocketBeagles (which is what I primarily wanted it for).  But it would be nice (not necessary but nice) to have one for the Pi too.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on August 02, 2018, 01:51:58 PM
I think this is now fixed.  Force an update first, then flash.



Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: pixelpuppy on August 02, 2018, 02:47:20 PM

I think this is now fixed.  Force an update first, then flash.

Thanks for looking at this Dan.  I tried it again.  Different error, but still fails.  I started with the 0717-btrfs SD image, booted off the SD card and forced the manual update to -641.  Then I did FPP -> Advanced Settings -> "Flash To eMMC - BTRFS Root"


It started with the same error as before, but after a ton of files copied, it froze with a different error and never went further...


---------------------------------------
Creating mount points and mounting rootfs
---------------------------------------
Copy files rootfs

sending incremental file list
rsync: link_stat "/lost+found" failed: No such file or directory (2)
ID.txt
bin/
bin/bash
bin/btr
...
{lots of files copied}
...
  DTC     src/arm/univ-emmc-00A0.dtbo

  DTC     src/arm/univ-hdmi-00A0.dtbo
  DTC     src/arm/univ-nhdmi-00A0.dtbo
mkdir: cannot create directory '/tmp/rootfs/boot/lib': File exists

The script stops/freezes at this point and never goes further.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: dkulp on August 03, 2018, 07:44:07 AM



OK.  This should hopefully now be fixed. 
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on August 03, 2018, 08:54:02 AM
Yes, it seems to be good (shall I say, "So far!")

The 642 update did successfully let the BTRFS image write to eMMC

The difference in Root Space free on the BTRFS image is just over 1GB more

Root Free Space:   1.34 GiB (39%) normal eMMC free space
Root Free Space:   2.42 GiB (69%) btrfs eMMC free space

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: pixelpuppy on August 03, 2018, 10:38:40 AM
The 642 update did successfully let the BTRFS image write to eMMC
I concur with Jon but with 1 minor issue remaining.   What I'm seeing is the 0717-btrfs SD image (updated to 642) can successfully "Flash to eMMC-BTRFS root". However, it still fails when choosing "Flash to eMMC" (without the BTRFS root option).  The script completes, but the eMMC is not bootable.    This is minor as for me since the 0717-ext4 SD image flashes both methods just fine. Jon, can you try using the btrfs SD image and try the Flash to eMMC (normal flash option, not BTRFS root) and see if you get a bootable ext4 file system on the eMMC?  (i.e. BTRFS image booted on the SD card, but attempting to Flash ext4 onto eMMC)
Jon, can you try using the btrfs SD image and try the Flash to eMMC (normal flash option, not BTRFS root) and see if you get a bootable ext4 file system on the eMMC?  (i.e. BTRFS image booted on the SD card, but attempting to Flash ext4 onto eMMC)
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on August 04, 2018, 10:40:47 AM
Jon, can you try using the btrfs SD image and try the Flash to eMMC (normal flash option, not BTRFS root) and see if you get a bootable ext4 file system on the eMMC?  (i.e. BTRFS image booted on the SD card, but attempting to Flash ext4 onto eMMC)

Will try shortly - but have a question - when I begin a Flash to eMMC, the browser keeps listing all the hundreds of files being copied to the eMMC.
Does the browser window need to stay open to continue? (i.e., is the browser doing anything?) and if it isn't needed, is it just slowing down the process? (because you know it's done with the BBB goes dark)

ps, I'm in process now and did close that browser, so we'll see. Don't know about the timing, though. It always seems to take forever. :)
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: pixelpuppy on August 04, 2018, 01:26:02 PM
Does the browser window need to stay open to continue? (i.e., is the browser doing anything?) and if it isn't needed, is it just slowing down the process? (because you know it's done with the BBB goes dark)

ps, I'm in process now and did close that browser, so we'll see. Don't know about the timing, though. It always seems to take forever. :)

I'm not certain, but my guess is if you CLOSE the window it kills the script because that is the output pipe for that process.  However, it should be no problem to MINIMIZE the window and let it keep running while you do other things.  For me, the Flash to eMMC using ext4 takes about 10-15 minutes and the Flash to eMMC using btrfs takes about 15-20 minutes.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: JonB256 on August 04, 2018, 01:39:17 PM
It did fail when I killed the browser.
Always wondered. Now I know.

Sent from my SM-G955U using Tapatalk

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: pixelpuppy on August 06, 2018, 02:26:04 PM
What I'm seeing is the 0717-btrfs SD image (updated to 642) can successfully "Flash to eMMC-BTRFS root". However, it still fails when choosing "Flash to eMMC" (without the BTRFS root option).  The script completes, but the eMMC is not bootable. 

UPDATE: I tried it again with the newly-released -646 update and it appears to be fixed - thanks Dan!  :)
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Stormyblade on August 06, 2018, 04:26:50 PM
I seem to be having major issues with my BBB and matrix and am wondering if I can get some help.


For some time now, I have been using the v2.x-master-613-g4d764533 (master branch) version and it works...mostly...on my BBB. However, as I am trying to do different tests and output different things, I am noticing that my BBB doesn't respond to fpp/ requests from my computer after processing any type of testing/output, or it takes an incredibly long time to respond, or I have to try to refresh several times before it finally works. Could this be related to the image version I am using? I was thinking maybe I should update to another version listed on Dan's website, perhaps the one dated 9 July as I don't want to try playing with the 'flash to eMMC' option as none of those have worked successfully for me in the past.


Could there be another issue that causes my BBB/matrix to go unresponsive - perhaps a corrupted SD card or something? (I use the SD card as both the image OS and data storage - I do not use a USB device.)


Thanks.

Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: pixelpuppy on August 06, 2018, 04:58:16 PM
I was thinking maybe I should update to another version listed on Dan's website, perhaps the one dated 9 July as I don't want to try playing with the 'flash to eMMC' option as none of those have worked successfully for me in the past.

Could there be another issue that causes my BBB/matrix to go unresponsive - perhaps a corrupted SD card or something? (I use the SD card as both the image OS and data storage - I do not use a USB device.)

My recommendation whenever you are having issues is to always go to the latest image that the Developers released and see if the issue is fixed.  That means going to the 20180717 build for the BBB's or 20180709 build for Pi's.  Dan put a lot of performance improvements in his current BBB builds.  Even if you don't use the Flash to eMMC feature, the newest builds are still the best place to start.  I can't speak specifically to the performance issue you're seeing, but Dan's new images sure do boot up really fast  ;D

Also, without trying not to sound like a broken record, but how good/fast is your SD card?  Make sure it is Class 10 of a quality brand - especially since you are using it for both the OS and Data.
Title: Re: Falcon Player - Install Instructions - Beaglebones - dkulp image
Post by: Stormyblade on August 06, 2018, 05:08:19 PM
I was thinking maybe I should update to another version listed on Dan's website, perhaps the one dated 9 July as I don't want to try playing with the 'flash to eMMC' option as none of those have worked successfully for me in the past.

Could there be another issue that causes my BBB/matrix to go unresponsive - perhaps a corrupted SD card or something? (I use the SD card as both the image OS and data storage - I do not use a USB device.)

My recommendation whenever you are having issues is to always go to the latest image that the Developers released and see if the issue is fixed.  That means going to the 20180717 build for the BBB's or 20180709 build for Pi's.  Dan put a lot of performance improvements in his current BBB builds.  Even if you don't use the Flash to eMMC feature, the newest builds are still the best place to start.  I can't speak specifically to the performance issue you're seeing, but Dan's new images sure do boot up really fast  ;D

Also, without trying not to sound like a broken record, but how good/fast is your SD card?  Make sure it is Class 10 of a quality brand - especially since you are using it for both the OS and Data.


I'll try a recent image and see if that helps.


I'm running SanDisk Ultra, class 10, 16GB as my SD cards.