On Dec 25 2015 10:06 PM, Neil Whelchel wrote: > Hello Chris, > Yes, Ubuntu and most others will load up whatever you want on boot, > but > that is really not the point. The problem with nearly ANY release out > there > is that there is a TON of bloat. Take just the window manager alone, > most > of them use OpenGL to do fancy transitions, some window managers have > more > than 200,000 lines of code! There are dozens of things that Ubuntu > loads > that are not desirable in a system that must be reliable. The idea > here is > lean and mean. The more things that are loaded or running, the better > the > chances that something will crash or otherwise go wrong. The distro > that I > am working with is just under 21 MB total. The entire thing including > Linuxcnc fits in the initrd. That and the Linux kernel fit onto the > 32 MB > flash on my ARM board, and it boots to Gmoccapy in less than 10 > seconds.
If you can get it to boot in that amount of time, I would also ask how much time does it take to properly shutdown. At that point I would set up a small UPS which has at least 3x the power required to do a proper shutdown (which I am assuming would be something on the order of 10 seconds, or 30s for a safety margin, and can probably be done with some capacitors). Then if someone removed the power on the fly it does not matter. Also, if you are deeply concerned about LOC, then take a look at the Plan9 OS and its derivatives like Inferno and Plan B. The entire code base for Plan 9 is ~80,000 LOC for the entire OS. Using the 9P protocol and similar you should be able to drop the an expected 50% off of the LOC for your chosen interface and stuff it even further down the eeprom hole. EBo -- ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
