In-Depth Look At LinuxBIOS
DrSkwid writes "With PhoenixBIOS reading your email because of such inordinate boot up times for Windows and other OSs, it was remarked in #plan9 about our 5s boot times using LinuxBIOS. My friend f2f pasted an article from Linux Journal which looks at the basic structure of LinuxBIOS, the origins of LinuxBIOS and how it evolved to its current state. It also covers the platforms supported and the lessons they have learned about trying to marry a GPL project to some of the lowest-level, most heavily guarded secrets that vendors possess."
Does it run linux?
fp!
This proves it
Didn't Microsoft want to do the same thing? Only Linux advocates started to become angry... -Xeon
Real programmers can write assembly code in any language. -- Larry Wall
Initializes the CPU, initializes the bus, initializes the hardware, dumps to OS.
Isn't that a bootloader? Is it special because it is burned into the ROM?
I have been pwned because my
fragrant pussy?
Will this have any chance of being taken up by a motherboard manuafacturer by default or is this a aftermarket project ? in which case without being installed by a manufacturer no-one is going to even contemplate wiping their "working" bios for an unknown 3rd party of no significant benefit to them
Which is better?
a href="http://impoll.calcgames.org/cgi-bin/v.
This might actually result in a higher quality BIOS in the next few years
But without a "Windows BIOS," how does LinuxBIOS know what to copy?
The reason why Things like LinuxBIOS are important is because having a PC boot with the Linux kernel is not only a cool trick, but it saves people who build clusters a heck of a lot of money on Hard Drives and CD-ROM drives, when a cluster node only really needs a mainboard, CPU, and RAM.
Maybe with faster, bootable USB on motherboards in future, and cheaper flash RAM, flashing the BIOS to run Linux will seem a little less necessary.
Maybe there's some other use for Linux in the BIOS, but someone will have to teach me as to what that is.
READY.
PRINT ""+-0
Is anyone else getting the Google adsense banner ad with a guy who looks like Christopher Lowell? Creeps me out every time.
I'm posting anonymously for obvious reasons.
I'm a Teaching Fellow (TF) at Harvard, and I've been involved in placing students in work placements to get them to think about the real world before they leave these hallowed halls.
One student of mine put quite a bit of the debian linux system into the Basic Input Operating System (BIOS), only to find that the finished result of his placement was never used. The reason they gave him was security.
The BIOS company looked at the code he imported and said "riddled with security holes". They sent him packing. I felt really sorry for him, because he did not write any of the security riddled code.
Perhaps the BIOS should be kept as simple as possible, as we do not want the ability for worms to reprogram the BIOS and make the computer unbootable.
if it increased boot time significantly, it could be of great benefit--think of a webhosting company that guarantees less than a certain number of minutes of downtime each year. shaving off seconds on each reboot could save them $$$.
I have an Athlon64 based motherboard, I'd like to try this. So? How do I try it?
How about some instructions, can I flash my bios with this? or is this some type of special motherboard I'll have to buy because if I can't flash my current bios with this, this is a piece of crap I'm sorry.
People don't exist to serve systems, systems exist to serve people.
Parent is blatantly trolling
Use lots of flashy words, and some idiot mod is bound to mod it up as Insightful or Interesting.
Ok, first why should I switch from the current BIOS I have to this one, make the case. Saying the word Linux is not making the case and neither is saying Open source. Is it better technology? Second, ok say I want to do this, how do I go about doing it? That site needs better instructions, it needs to explain the technology better. Simply put, their website SUCKS.
It sounds like a good idea but how does it work in practice? How about pictures? Benchmarks, test results.
People don't exist to serve systems, systems exist to serve people.
Really, the LinuxBIOS is as unnecessary as the Phoenix email reading BIOS. In modern computing, all you need is for the BIOS to initialize a few things, then pass of control to the OS. Who cares about all that other crap that your OS ignores anyway?
aside from grub being "just a boot loader", Wouldn't it make sense if grub was somehow moved into the bios?
Do not read this
Fifty supported motherboards are in the source tree, but we have found that many motherboards are so similar that a LinuxBIOS for one motherboard can work on another. Companies build code for one motherboard, run it on another motherboard and do not always get around to telling us.
Linux runs BIOS!
I think it is really amazing how many people here on Slashdot are just so eager to post comments that they obviously don't even bother to read the actual article.
If some of you people had read the article, for example, you'd notice some important points being made, such as, "From what we can see, the two factors in our success were competition and the creation of a market. Competition gave us a wide variety of choices as to motherboard, chipset and CPU. Once there was a reasonable market, vendors were concerned about being left out."
I don't know about any of you, but I think the creation of an open source "market" is EXACTLY what has enabled the success of open source products like Linux in the first place.
It was also what enabled the success of the Wintel architecture, if you think about it. At the time the original IBM PC was released, it was virtually a foreign idea to IBM--many people at the time were asking the question, "how on EARTH could IBM possibly release a machine based on open specifications and parts with a straight face?" Let us not forget that at the time, IBM desperately needed to get ANY kind of microcomputer on the market ASAP, for fear that Apple and others might get firmly entrenched. Once that thinking took hold, IBM practically had no choice but to hope and pray that their Big Name would keep them at the forefront. As we know, companies like Compaq came along and proved them wrong, and the rest is history.
The point is, I wonder why things like chipsets are still so closely guarded secrets. Can you people imagine what the world would be like if Intel had made the x86 CPUs with a proprietary, closely-guarded SECRET ISA, that you could only program for if you signed an NDA? If Intel had done that, Linux probably wouldn't even exist!!
I sometimes have this feeling Microsoft would do ANYTHING to go back in history and try to get all the laws of our country re-written and the market changed so this kind of all-secret world I speak of could exist.
In the end, the markets for products, be it open OR closed, occur because someone created that market. I think it is high time someone created an "open source" chipset, myself. But that's just me. If you people want all things to be open, stop talking about it and complaining about closed-source, proprietary things, and DO SOMETHING about it.
I just installed Windows and it overwrote my BIOS!
HOW'S MY POSTING? CALL 1-800-POSTING
Heres a picture of linuxbios:
0001001010001000000100101001001000100100100100101
0010101001001000100100000100100101000100100100100
1001000100100100010000001001000100010000100110010
0101001001000100100100100101100100010000001010101
1000100100000100100000100101010010010010001001001
If we start pushing linux bios, would we be pushing linux as Microsloth pushes Windows?
Fight Spammers!
instead of hauling a monitor over to a machine that won't boot, they could remotely connect via a Portserver or similar. Much easier!
The real "Libtards" are the Libertarians!
I read the paper. Can't say I fully understand it all, but seems like this BIOS could lead to a form of personal computer that would be easily expandable as to adding processors. It was designed for clusters, yes,? Well... why not an upgradeable box that had slots that entire additional CPUs and & etc. built onto small cards would fit in? Just like adding more RAM when you need it/want it? Just was reading here the other day about the new nanoboards. Seems like a natural somehow...
zogger
Finally, an admission that the hardware vendors claim of secret interfaces is often just BS:
One of the most common phrases we heard from chip vendors in the first few years was "we'll never tell you that." "That" being CPU information, chipset information, motherboard information or any combination of the three. The designs for these three systems constitute highly guarded secrets. It seems amazing, even now, that vendors are able to let us build a GPLed BIOS that by its nature exposes some of these secrets.
How was it possible for us to get this type of information? Simple, businesses are not charities. If there is no business case for releasing this information to us, they do not do it. If, however, there is a business case, then it happens?sometimes with astonishing speed.
Read that last paragraph again. The hardware vendors basically say "that's a secret" whether it really is or not. Unless you pay them, or show them that they are losing money, they won't even bother deciding if it's really something that has to be kept secret.
Boy would I love to see a beowulf of those things! Oh wait...
What I'd like to know is if it would be possible to overwrite a, say, Apple Power Macintosh beige OldWorld G3 with LinuxBIOS or OpenBIOS and thus get to use x86 SCSI and VGA adapters.
Leandro Guimarães Faria Corcete DUTRA
DA, DBA, SysAdmin, Data Modeller
GNU Project, Debian GNU/Lin
If this Bios gives us a fighting chance against DRM and the DRM chips in the IBM laptops, great.
5 second boot times will be the icing on the cake.
What were those boys thinking?
Sorry, that wasn't very freindly of me.
long boot times??
what ever. please stop comparing 233 MHz pc loading 50 milion startup apps to a system that wasnt configured by a retard.
I've used 2.x Ghz P4 that can boot in less time than that!
Where can I purchase a board preloaded with and known to work with LinuxBIOS? Does it cost significantly more than one running Award or one of the other conventional BIOSes?
May we never see th
Real men load the boot loader using 16 switches and a press-button.
All I do is set a few things in there when I build a box and forget it. My BIOS seems to work just fine on all the many hundreds of ASUS/Abit/Whatever boards I've touched.
- It's not the Macs I hate. It's Digg users. -
I was recently doing some research to get started working with LinuxBIOS. The first thing I have done is to order a BIOS Savior.. This is a little gadget that runs about 15 bucks. It puts a switch on the outside of your case allowing you to switch to an alternate BIOS. With it, you can happily screw up your LinuxBIOS image all you want and still be able to boot your computer from the original BIOS.
Some motherboards have a dual BIOS or similar arrangement; however, there is not always a foolproof way to switch to your backup if the primary BIOS is hosed..
Keep these things in mind if you want to start playing with LinuxBIOS
But I think one of the agencies in the US government is outlawing Linux' BiOS. Seems they don't like gay operating systems either.
So there's really nothing left to copy...
How, exactly, do the measure boot time? From power button to desktop? Power button to where Linux actually starts loading/initializing?
Who doesn't like free music?
One of my desktop systems that run linux takes about 2 minutes to boot up to useable after a kernel compile with my retard configuration.
I don't compile a kernel that often.
here.
I read this article a couple months ago when my issue of Linux Journal arrived. I had a couple questions about it then, guess this is a good time to ask them. :)
As I see it, half the point of LinuxBIOS is to provide a fast, open-sourced BIOS for x86 machines. It gets extra cool points for being Linux.
But I have to ask, why not just use OpenFirmware? Or at least, give LinuxBIOS some of the features of OpenFirmware. As far as I know, there is no such thing as OpenFirmware for the x86. It's got lots of neat benefits, like booting your machine off of another one on your network, or debugging a non-bootable machine remotely. Serial console, anyone? It has other benefits as well, that I can't remember; my brain is shot for the week.
For those of you that haven't heard of OpenFirmware, it's basically the "BIOS" on Macs.
There is a mythical bird called a PhOEnix. There is no such thing as a PhEOnix.
If you can't find something, you didn't LOOSE it. Something that's loose is not tight or restrained. A zoo animal gets loose. A bolt gets loose. If you misplace something, you LOSE it.
And rouge is NOT a term meaning someone similar to a thief. You're looking for rogue. Rouge is the red MAKE-UP women put on their cheeks! Next person who talks about rouge without actually meaning makeup should be forced to go to work/school/LAN parties for the next month wearing the stuff!
And the only person who finds the term 'Micro$oft' funny is yourself. Everyone else knows you're busy trying to be a script kiddie.
Their record seems to be 3 sec from Power to Login... I guess that beats your "non-retarded configuration", doesn't t?
In my admittedly cursory review of the main LinuxBIOS site (here) and of the article I was unable to find anything about using it to boot other operating systems besides Linux. Can I buy a compatible mobo, put the LinuxBIOS on it, and then run Windows? I'm still running dual-boot for now and would need this.
Some days it's just not worth chewing through the restraints.
I see this exactly the way I see modern operating systems boot up. The BIOS goes to some place and reads 512 bytes. Those bytes load up a "real" bootloader. That bootloader loads up some darn thing, which loads up the kernel, which loads up a bunch of device drivers and other software, and after a minute of grinding the disk, you have a system waiting for input. Why all this fuss?
My idea, then, is that instead of having an operating system kernel on your hard drive, it and its bootloader should reside in a really friggen powerful BIOS chip. By powerful I mean that there should be a LOT of flash space and the BIOS itself should be a relatively powerful microprocessor. The software is started immediately upon the powerup of the computer. The BIOS Flash then looks like the root partition; it is mounted just like the hard drives and other devices are. All device drivers are present in the kernel, anyway, and since the BIOS is designed for the computer (by the factory) or configured (by a hacker who puts together his own system), there is nothing to detect or load. Furthermore, all software that starts at startup has a complete image "frozen" in the BIOS Flash, and is copied directly into RAM during the initial stages of startup. Therefore, if you have X, and an entire desktop environment, the entire computer goes from OFF to running X and your desktop software, and whatever else you want for that matter, in almost no time at all. Your monitor would probably take longer to warm up then it would take for your desktop to be ready for input.
This sounds a lot like un-suspending a computer that is in suspend mode, and yes, in effect, it's just like that. You have your system running the way you want it to start up, then you "freeze" it a la VMWare, put it in the BIOS Flash, and when you turn on the computer, the BIOS copies the image directly into RAM, with perhaps a few routines here and there that initialize hardware upon powerup, or set a few values throughout RAM, like time-sensitive things and whatnot... No matter how fast MS makes their OS load, it'll never come close to this kind of performance.
Take it a step further, and each user could have almost an entire operating system setup, as if the computer has multiple personalities from the bootloader up. The BIOS has some routine that lets you log in, and accordingly, selects the image that will get loaded. In this respect, you could completely power down the computer, and come back a week later, turn it on, and immediately it will return to where it was.
This will probably be the case in 10 years or so. (Hey, in the 90's we went from the 386 SX to the Pentium 3. Who knows what the hell will happen by 2015 or so.)
For best results, please insert the following code into your linux sources at line 563 in init/main.c (any version):
printk("<0>YOU FAIL IT!!\n");
((char *)0) = 0;
Recompile, delete old kernel versions and use the resulting kernel. Enjoy!
I did this a couple times on a bank of Tandem Non-Stops at a cable television data center. I'd hate to pay their electric bill, but year-long uptimes were cake.
I even know a trick that will thread even the worst 9-track...
How is this different from eCos and/or Redboot?
I think I'm just a little unclear on the differences among bios/kernel loaders/boot loaders. I know that the linux kernel doesn't really use the BIOS (for the most part) when it discovers devices. As such, the BIOS is a moot point. How does this compare to embedded systems like Arm/XScale boards?
Can anyone clarify this for me/us?
Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
That ain't the Queen's English you're speakin' son.
With PheonixBIOS reading your email
phOEnix. And why are they reading my email, might I ask?
"From what we can see, the two factors in our success were competition and the creation of a market. Competition gave us a wide variety of choices as to motherboard, chipset and CPU. Once there was a reasonable market, vendors were concerned about being left out."
Initially my reaction was, "Yeah, the market existed, and they found a cheap way to exploit it, since you're doing all the work for them." But that was my pessimistic side. After careful consideration, I prefer to take the optimistic approach on this one. I prefer to think of it as them working for us. The fact that they put all the little stuff together for me, saves me a lot of time in my garage with breadboards and soldering irons. Now we can have more control than just what processor, cards, and OS go into our systems. And the more input we have into how our computers run, the better we can improve computing, innovate, and come up with knew ways of handling problems.
I would like to see some of people involved with this group get onto standards committees since now, it seems, they have a voice. I'd like to see more open source type input into some of tomorrow's technology. Maybe someday we can stop having kludge after kludge shoved down our throats... Wouldn't the world be a better place then?
Fuck you.
More information at the u-boot homepage. The u-boot README file lists all the architectures, supported platformas and options.
Credit goes to Wolfgang Denk, the father of the project.
Best wishes,
A firmware engineer
Won't this all be moot after non-volatile RAM (that's as fast as current RAM) is developed and widespread? AFAIK, fast non-volatile RAM technology is well under way and within reach in the next several years. The only reason we currently need to read from the hdd is that the RAM is volatile and loses its contents on a power down.
We can already see how this would work in an S3 suspend: the entire PC but the memory (and perhaps the CPU) is powered down. Press the keyboard, and you're back in your OS in seconds. Replace present-day memory with non-volatile memory, and you're completely there. -- Paul
OpenSource.MathCancer.org: open source comp bio
Which manufacturers are directly supporting this (with docs etc) and which arent.
Are there any manufacturers that have specificly told the LinuxBIOS people not to support their boards? If so, is there a reason?
If someone says something is secret, then it is. That's the only thing that makes something secret.
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
You really don't have any belief in the hacker-culture, do you? :)
One thing that is thourougly proven, is that any copy-protection scheme developed as up to date, has been and can be broken.
Future DRMs might require nastier hacks, but I'd still be surprised if they weren't bypassable or breakable.
Not Buzzword 2.0 compliant. Please speak english.
If so many ISPs may be moving towards TCPA compliant routers why don't we, the open source community, do the same thing in the opposite direction?
I would work on systems which support an ISP which supports only open source users. There is no customer support for anything but an open source OS. Your network connection fails and you use Windows? Too bad. Your network connection fails and you're using Linux? Check ifconfig and route. That's customer support. After that you're on your own. It's open source. Figure it out.
Sure the service itself wouldn't save each user much (maybe $2-$3 less per month) but think what it does to the network as a whole. No longer will ISPs be able to support a clueless user base by relying on the monthly tithe from the competent users. No longer will ISPs be able to afford the latest TCPA enabled hardware by leeching from the open source users. No longer will ISPs be able to sign overpriced agreements with MS support by using open source dollars.
And one could have email@opensourcenetwork.net
+++ATHZ 99:5:80
face it. the people actually making these descisions haven't mastered the concept of a transistor, much less a complex computer system, much less anything that runs on it. They go by the theory that since they're management, it's their responsibility. And since they have too much pride to ask the people who have a fscking clue, clamming up is probably the best option they've got.
Well this isn't really moving THE kernel into flash, it's moving A kernel into flash. The LinuxBIOS kernel 'skips' the fluff that the typical BIOS handles, inits what it has to, and then it executes a 'real' kernel from a disk or network location.
If things move to LinuxBIOS you won't be flashing every time a new kernel is released, you'll be installing kernels normally, and instead of GRUB the LinuxBIOS will handle 'bootloading'.
moving THE kernel into flash isn't practical, my kernels are typically about 2MBytes, today's flash on most PCs is about 2Mbits (512KB). The typical full-kernel would have NO CHANCE of fitting into there.
What this does, essentially, is give us something much like OpenFirmware for x86 machines, it's a full 32-bit protected system from the second you hit the power button, and it can initialize and configure much more 'native' info to the full kernel that it loads subsequently. Pairing this with a 16MB DiskOnChip would be excellent though, if you'r system fails you could boot to the DOC (with a small system onboard) and repair the main drives, or change configs, or chroot into the 'real' system and get something done.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
Phoenix BIOS reading your email
If I ever catch those Punks reading my email, Ill beatem like a red headed step child.
Funny how you can make a story from clipping out the text you want...
How does LinuxBIOS affect the BIOS setup? Can i still overclock my CPU, change AGP settings and such?
I couldn't come up with any better sign....
Some systems can be put into a BIOS recovery mode where the system will read a BIOS image off of a floppy and re-flash itself.
I last did this in 1998 on a DEC EISA-bus 486-66 when the flashing process got corrupted, so it's not exactly a fancy new feature, either. I do think that this system required you to use the standard BIOS utility to *create* the rescue disk, which I think was a raw write to the diskette and not a DOS filesystem.
What surprises me is that vendors haven't put more user-friendly BIOS recovery (text menu, floppy operations, etc) options into ROM that one could access from startup or with a mainboard jumper, never having to worry about recovery images or something, or putting the shipping BIOS in ROM and have recovery be just dumping the ROM into flash.
The latter would seem the safest, since traditional floppy-type PCs are disappearing in favor of CD or USB systems.
I'm surprised why all eyes on /. are at MS when Intel is moving up with the EFI technology that could take out the need for BIOS (at least in future versions).
From their page:
"The EFI specification defines a new model for the interface between operating systems and platform firmware. The interface consists of data tables that contain platform-related information, plus boot and runtime service calls that are available to the operating system and its loader. Together, these provide a standard environment for booting an operating system and running pre-boot applications.
The EFI specification is primarily intended for the next generation of IA-32 and Itanium(R) Architecture-based computers, and is an outgrowth of the "Intel Boot Initiative" (IBI) program that began in 1998."
/me is betting that MS is involved in this initiative too.
The more you know, the less you need. [Admin added: from me.]