LinuxBIOS Gets GUI 171
LWATCDR writes "Has a great write up on combining LinuxBios a Linux kernel, busybox, X, a window manager, and rxvt into a two meg flash chip. So what does get you? A six second boot time for one.
All sorts of uses come to mind. Terminals to use with the Linux Terminal server. A very fast booting embedded system like a Car computer. With every one pushing for multi-core cpus, mega gigabyte drives and many gigabytes of ram it is interesting to see how small you can go."
Slashdotted (Score:3, Funny)
Impressive, but unnecessary (Score:3, Interesting)
Re:Impressive, but unnecessary (Score:5, Insightful)
Constant of diglyme is ~42 (Score:2)
Re: (Score:3, Interesting)
The OP leads me to believe it's possible.
I've got an old PROM/PIC burner that I could dust off, now I wonder if that could be used to burn some BIOS chips with this sort of thing.
Re:Impressive, but .... usefull! (Score:3, Informative)
Even better, what happens when your grandmothers primary OS fails? Think she can use CLI tools and fsck the disk and ot
Re: (Score:2)
Given that is for a BIOS project, the primary goal is to load another OS off larger storage medium. So why an GUI? Easy, what do you do when your main OS fails? You reach for a bootable recovery CD or USB drive. Oh, but you aren't at home and didn't bring it with you! Gah! Oh wait, you can boot the BIOS in GUI mode and get on the internet and use a web browser and all sorts of stuff!
Not only that, but consider that for many purposes, given this BIOS, you don't *need* any other OS. I think that's the real point here.
How small you _can_ you go? (Score:3, Funny)
Re:How small? Gavin's 3721 byte OS! (Score:3, Interesting)
"This is a 32-bit multitasking operating system for x86 computers, with GUI and filesystem, support for loading and executing user applications in elf binary format, with ps2 mouse and keyboard drivers, and vesa graphics. And a command shell. And an application - a simple text-file viewer."
Granted, it may not be the must useful (or maintainable!) OS
http://www.de.ioccc.org/years.html#2004_gavin [ioccc.org]
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Guys have been saying this for years.
Women, however, disagree...
Re: (Score:2)
Mobile BlitzBoot (Score:2)
In fact, what would be great would be a 2GB (maybe 4GB) Flash drive with minimal linux and gcc running on many different architectures, which loads the Linux source and recompiles for the host into which it's plugged. Maybe caching the last few, including the most popular PPC/x86/MIPS versions, which could of course be precompiled. There's probably a r
Better video (Score:5, Informative)
FBUI (Score:4, Interesting)
Good to see (Score:3, Insightful)
Re:Good to see (Score:5, Interesting)
-N
http://www.openmoko.com/ [openmoko.com]
Re: (Score:2)
Re: (Score:2)
350 USD. Been well-known since, you know, January. They've even announced prices for the car and hackers kits (75 and 200 USD IIRC).
The lack of EDGE GPRS is an absolute dealbreaker.
This phone wasn't meant to be perfect for everyone. The iPhone doesn't do GPS, so I won't be buying it;[*] otoh a fast network connection is not something I really need on a screen that small. Other OpenMoko phones might be released if the Neo1973 does well enough that might be more suited to your
Re: (Score:2)
Lots of consumer potential (Score:2)
Re: (Score:2)
Most support X11/XDMCP or RDP.
Re: (Score:2)
Re: (Score:2)
Yeah, but... (Score:3, Funny)
...does it run Windows?
Sorry.
Re: (Score:3, Insightful)
Since it's LinuxBIOS we're talking about, it could be a thin client which also has the option to boot off any drive the system is capable of using for boot. So while you can't fit the Windows installation into the BIOS flash, you could have a well-featured small Linux in the BIOS which then boots into Windows, OS/2, FreeBSD, NetBSD, other BSDs, Darwin, Solaris, a full Linux installation, or anything else that
Re: (Score:2)
I've never heard of this. Granted, DOS existed largely to call BIOS routines, and much of BIOS existed largely to serve DOS, but I've never seen a PC that had DOS completely in the BIOS. Maybe you're thinking of cartridge BASIC, which was burned in on some machines.
Re: (Score:2)
http://www.datalight.com/products/romdos/ [datalight.com]
http://www.drdos.com/dosdoc/romhtml/romch1.htm [drdos.com]
It's perfect for embedded single-process applications.
Re: (Score:2)
CarPC use? yes and no. (Score:2)
You CAN get hardware thatdoes what you want, you CAN get hibernate to work EVEN on unsupported hardware, Software hibernate exists out there and is a patch for the linux kernel, works quite well and is fast.
6 second boot
Re: (Score:2)
If you don't need a bunch of services, you can just set init to a script that runs your GUI.
It's actually not very hard to set up your own self-booting system.
Who are the idiots working on this project? (Score:2)
Re:Who are the idiots working on this project? (Score:5, Insightful)
Re: (Score:2)
Could you please share with us the myriad alternatives to System BIOS?
If you have an AMI BIOS, you may be able to purchase an updated, bugfixed BIOS that's newer and better than what the manufacturer provides. But that only happens when a major customer (or a sufficient number of customers) need[s] support for some hardware no longer s
Dunno. Didn't know there were any. (Score:2)
Re: (Score:2)
Running from BIOS must be fast, indeed.... (Score:2)
I still run DOS (triple-booting with Mepis and Fedora) from time-to-time for WordPerfect and custom macros and it's right spritely on a Sempron-2800. DRDos 7.03 takes about 3 Mb.
Re: (Score:2)
I wish I had 1GB of very fast level-2 cache, even now!
Re: (Score:2)
Re: (Score:2)
Even if does get the source and turn them off:)
Re: (Score:2)
Turn off all the DOSBox hotkeys and use ctrl-alt-del to switch tasks. I can almost guarantee that WordPerfect doesn't have that combination trapped!
Incorrect Slashdot article title:not LinuxBIOS GUI (Score:2, Insightful)
The GUI shown is just a normal Linux GUI which runs after Linux has booted. The fact that its code is stored in the same flash device as the LinuxBIOS is just simple aggregation, and totally irrelevant.
It has nothing to do with the LinuxBIOS code at all, and it is certainly not a GUI for LinuxBIOS.
Great work in making it fit into 2 meg, but really bad Slashdot title.
Basic? (Score:2)
Similar idea on Mac Classic (Score:2)
So fitting Linux into 2 meg is hardly surprising. Being flash it can be updated, obviously, highlighting the limited usefulness of the Mac solution.
Re:Two megs? (Score:5, Informative)
Re: (Score:2)
Re: (Score:2, Informative)
Re: (Score:2)
Replacing rxvt by a useful graphical application (still staying under 2MiB) would make for a more convincing demo.
Why? They just wanted to show that they are able to run X. The application you run under X makes no difference.
Re: (Score:2)
Just hazardin a guess...
Tom
Re:Two megs? (Score:5, Informative)
Re: (Score:3, Insightful)
Explains a lot really :)
Re:Two megs? (Score:5, Funny)
Explains a lot really
Micro-soft ?
Re: (Score:2)
Re: (Score:3, Insightful)
Re:Two megs? (Score:5, Funny)
Indeed, it's well known and accepted that Mebioctets is the only correct word for this.
See for example http://zapatopi.net/labs/kibioctets.html [zapatopi.net]
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re:Two megs? (Score:4, Insightful)
Oh yeah, DVDs are measured in decimal multiples too. 4.7GB == 4700000000B.
You're just on the losing side of a very long argument. It probably won't be over until English is history, but it will end in our favor eventually.
Re: (Score:2, Insightful)
Re: (Score:2)
Re: (Score:3, Insightful)
Just because an industry has co-opted our terminology for data storage doesn't mean we need to play their game and change our terminology to be more "politically correct." In fact, I would argue that we've been talking about bytes, kilobytes, megabytes, and gigabytes a lot longer than
Re: (Score:2)
In fact, I would argue that we've been talking about bytes, kilobytes, megabytes, and gigabytes a lot longer than they've been cheating consumers on storage, so we have more of a right to use the term "megabyte" than they do.
And it used to be that when you bought a 20MB hard drive, you received 20 * 1024 * 1024 bytes worth of storage. However, if you lost a sector your data was pretty much gone. These days, if they use the difference between GiB and GB to act as redundant failover sectors then I'm quite happy with the "loss" of storage space.
Re: (Score:3, Insightful)
Re:Two megs? (Score:5, Funny)
So you're talking to your uncle who's asking you, the family "computer genius", some questions about which memory module he should consider buying to upgrade his computer. You say something like, "well, I think that you should get at least two gibibytes total." Your uncle replies, "What's a gibibyte?" You proudly declare, "A gibibyte is 1,024 mebibytes, or two to the power of 30 bytes. Computers are binary machines, and memory is manufactured in sizes accordingly, not using base-10, which would yield 'megabytes' and 'gigabytes', which are 1 million and 1 billion bytes, respectively. Thus, when we talk about computer memory, we use mebibytes and gibibytes, even though manufacturers incorrectly use megabytes and gigabytes on their packaging."
Your uncle thanks you and after you depart he turns to your father and says, "what a douchebag."
Another reason to not use mebibyte and gibibyte or any of the baby-talk bytes, unless it's absolutely necessary, is that they're not recognized by Firefox's spell checker.
Re: (Score:2)
Yes, it's true. The corporations who misused the SI prefixes all these years are staffed by douchebags.
Oh, that's not what you meant?
Re:Two megs? (Score:4, Insightful)
How about we all just pretend that we know what we're talking about when we say that our internet connection is "8 megs" or that our hard drive is "200 gigs" or that we have a "3 gig" processor. None of these statements are accurate, but we know what they mean and they're close enough for the sake of discussion.
There's nothing wrong with saying "mebibyte" or "gibibyte", aside from the potential for them to sound like a three year old trying to pronounce "megabyte" and "gigabyte."
Re: (Score:2)
Well, since I am proud to be a nerd (Actually I use the term "geek" but whatever) I guess I don't have a problem with that. It's like the sweatshirt THE WORLD DOESN'T KNOW I'M A (whatever).
Re: (Score:2)
A "tad" smaller? Are you kidding? With the hard drive capacities today, that "tad" has become huge! For example, take a 750 MB drive. The difference in capacity between what people would expect (i.e., 750*2^30 bytes) and what the drive actually has (i.e., 750*10^9 bytes) is (750*2^30)-(750*10^9) = 55306368000 bytes. Or in other words, 51.5 GB (binary) or 55.3 GB (decimal). So,
Re: (Score:2)
Now personally I think that mebi, kibi, and the others sound stupid and would never use them myself, but I at least acknowledge the reality that megabyte means both 10^3bytes and 2^20bytes depending on the context, and as such is ambiguous
Re:Two megs? (Score:4, Insightful)
What kills me is that I'm betting that a large majority of people who argue for the 1,000 byte kilobyte will gladly accept "ginormous", "omgwtfbbq" "aiiiggghttt"and "teh" and all the other language abuses and will see absolutely nothing wrong with their use. I'm sure that whoever dreamed up the "mebi" thing thinks they are making things easier but until us older programmers and hardware engineers die, that's not gonna take hold very well. Of course it speaks volumes that the term "mebi" is almost 10 years old now and still hasn't taken hold.
One might also note that memory is the reason we use these terms in the first place since hard drives and the like didn't come about for a long while so trying to make the language even more confusing, and garbled, because hard drive manufacturers want to skimp on drive size seems asinine, and they DO want to skimp on drive since formatting 160Gb, whether it's 160,000,000,000 bytes or 160x1024x1024x1024 bytes, only yields about 140,000,000,000 bytes.
Re: (Score:2)
Actually, if you run a GNU/Linux box and look at a lot of command-line utils, the abbreviations they use are certainly the standard. So for instance, the output of ifconfig on my computer currently reports, amongst others:
GNU and BSD command-line utils also generally provide both options to output values in non-standard (i.e. 1 KB = 1 024
Re: (Score:2)
Re: (Score:2)
When you think about it: 2^20 is actually pretty much 10^6 plus a low sales tax anyway, and almost nobody seems to complain that sales tax is not included on the prices listed in the stores either...
Re: (Score:3, Insightful)
So PLEASE, stop trying to redefine kilo to mean 1024!
Re: (Score:2)
The hurdle you have yet to clear is to make anyone actually care how accurate and precise you are.
I prefer kibobytes myself, which are exactly 997 bozobytes long.
Re: (Score:2, Funny)
Did you just come back from the dentist or something?
Try it again after the novocaine wears off.
Re:Two megs? (Score:5, Informative)
http://en.wikipedia.org/wiki/Kdrive [wikipedia.org]
Re: (Score:2)
TinyX and Xvesa are two examples.
Re: (Score:2)
Re:Two megs? (Score:5, Interesting)
For example, Xvnc only takes about 800KB compressed. Yes, it doesn't display, but bolting a framebuffer driver onto it would only take a few KB - in fact you could fit both Xvnc and a full featured vnc client into less than 1MB. There are at least a few small "proper" X servers (that drives a display instead of keeping it's own frame buffer) out there that would fit in 2MB too - I only mentions Xvnc since that's the only one I happen to have installed.
Absolutely (Score:3, Informative)
They're using KDrive, one of the build options of XFree/XOrg done by Keith Packard specifically for embedded or small targets. At my last job we were compiling that for a MIPS target, and the X executable came in at around 650k IIRC.
It's the support libraries and fonts that make an X install huge. Drop those and you can easily squeak in a busybox implementation in 2 Megs.
That being said - this is a fantastic hack. Everyone in the thread is thinking embedded computers for cars, but not me. I'm thinki
Re:Two megs? (Score:5, Funny)
Two gigs? What do you need? Pre-downloaded pr0n?
Re:Two megs? (Score:5, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Anyone can get Linux running in 2 gigabytes of space.
Re: (Score:2)
What I want to see is the BIOS config done via a pretty GUI, and the normal process to chainload to another OS.
Or, how about booting a Disk-On-Chip with Linux on it; the HD is used only for data.
Uh... (Score:2, Informative)
Re: (Score:3, Interesting)
So far, I've only gotten NetBSD to do that... Right after I installed it on my toaster, and before I installed it on my electric can opener.
Re: (Score:3, Insightful)
Oh, Cool (Score:2)
Re:Fast boot times? (Score:2)
My car stereo (www.empeg.com) has been able to fast boot linux from flash for over 7 years.
Re: (Score:3, Funny)
Re: (Score:2)
I suppose you're thinking of passive devices, so the answer would be in the range of a couple hundred bits. They're not really equipped for running anything either - if you're looking for a cool way to carry your tiny distribution, just stick with USB flash devices (pun not intended).
Re: (Score:2)
Of course, bad RAM is pretty much a thing of the past.
Of course, the reason we know this is we're still checking. How else are you going to know if new RAM technologies are still as robust, other than keeping an eye out for bizzare system behaviour, stuck pixels, strange trash stored in files, etc.. I remember those days, and frankly, I prefer some sort of bootup RAM testing.
Re: (Score:2)
(What would be cool would be to merge the BadRAM patch with the hot-pluggable memory code, so that if a chip dies on a live system, the system can handle it and request a hot memory swap.)
Re: (Score:2)
The Tandy Model 100 portable computers were loved by writers and journalists as far back as 1983,