|
|
|
|
You hit the nail on the head - Stratux is open source and freely distributed, and anyone is free to use it and update it as desired; even sell it as a complete, assembled system. Steve Soskel has done just that, and taken it farther than the vanilla Stratux that most of us have procured. In fact, Steve has gone so far with his flavor of Stratux that he has a "Pro" version that is FAA certified for installation in production aircraft. His version(s) use a read-only file system, so pulling the plug as you do is totally acceptable. I suspect he's also solved the "disk full" issue as well. Also, he has his own software update procedure and his own AHRS hardware, and the Stratux/Flightbox updates and AHRS hardware are *not* interchangable. Users can use Steve's version of hardware and software including whatever costs are involved - I'm not familiar with his business model but I understand it's a great product and he contributes a portion of each sale to the original Stratux developer.
Jeff Nokomis Clark,
Mooney M20G,
iFly app on ASUS ZenPad Z8s,
ASUS ZenFone AR,
ASUS Windows 10 tablet,
Stratux ADS-B w AHRS
|
|
|
|
| |
|
|
|
I wonder how I fall into this discussion. When I was going through the gears getting my Stratux going, I had a couple of times when I had to re-image the card. (There was a suspicion of a bad card, but I've never changed it.) The breakdown always occurred when using Stratux in the plane, never had a problem pulling the plug on the bench. I suspected a marginal power supply coupled to my plane's source was the culprit. Anytime I tested a non-working card it showed as bad and had to be reformatted.
I improved the voltage on the Pi's rail with a better PS setup, detailed here (Sep 25):
https://github.com/cyoung/stratux/issues/573
Since then I have been problem free, I can shutdown by yanking the power at will.
|
|
|
|
| |
|
|
|
Jeff Clark wrote:
Not really. The Raspberry Pi that Stratux runs on is a full-blown (ok maybe more like a poquito-blown) Linux computer. Like any computer, they prefer to have a proper shutdown procedure as opposed to a toaster that can be unceremoniously unplugged. However, Linux is far better at recovering from power-induced errors and the chance of getting disk corruption from pulling the power is really quite small - such that the Stratux developer, who's probably pulled the power ten times more than the next closest user, has never had a disk corrupted from pulling power (and still pulls power to shut down). What most people are calling "corruption" is actually the disk space filling with files, and runs out of room for the operating system to, well, operate. Deleting these excess files will allow the Pi to work again as-is, but most people re-image at that point, convinced it's "corrupted".
Jeff,
Since the "corrupted" disk is actually due to running out of disk space, does it follow that using the largest micro SD card possible/affordable would provide some additional protection?
Thanks,
John
|
|
|
|
| |
|
|
|
Regardless of the size of the card, if you don't expand it it will run out just as quickly because they're all "flashed" to the same initial size as the original .img file. So once expanded then YES, a larger card will have more space for data. However, expanding an 8G card will give you about 6G of free space - way more than the few hundred MB of the unexpanded disk. And the latest versions of Stratux will delete the Stratux log files during an .sh update, so essentually you're now deleting the logs with every update. So in my opinion an 8G card has plenty of space, as long as you expand the card so it can use the full 8G. For example, I have a development Stratux running at home 24/7, so that I can access it and develop software on it via ssh when I'm away from home. Granted there's not nearly as much to log when it's sitting on a desk at home, but It's probably been running 24/7 for over 2 months since the last .sh update, and still has over 70% disk space remaining on an 8G card.
Jeff Nokomis Clark,
Mooney M20G,
iFly app on ASUS ZenPad Z8s,
ASUS ZenFone AR,
ASUS Windows 10 tablet,
Stratux ADS-B w AHRS
|
|
|
|
| |
|
|
|
Jeff Clark wrote:
Regardless of the size of the card, if you don't expand it it will run out just as quickly because they're all "flashed" to the same initial size as the original .img file. So once expanded then YES, a larger card will have more space for data. However, expanding an 8G card will give you about 6G of free space - way more than the few hundred MB of the unexpanded disk. And the latest versions of Stratux will delete the Stratux log files during an .sh update, so essentually you're now deleting the logs with every update. So in my opinion an 8G card has plenty of space, as long as you expand the card so it can use the full 8G. For example, I have a development Stratux running at home 24/7, so that I can access it and develop software on it via ssh when I'm away from home. Granted there's not nearly as much to log when it's sitting on a desk at home, but It's probably been running 24/7 for over 2 months since the last .sh update, and still has over 70% disk space remaining on an 8G card.
I'm just learning about the Stratux and so nearly every term is new to me! Can you either explain or direct me to a link that explains how to "expand" the SD card and how to do a ".sh update?" Or if there's a basic tutorial for novices somewhere online that covers all of this, that would be good, too!
|
|
|
|
| |