Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:

The Linux BIOS Project
(Last updated: Jun. 15, 2000)

What is Linux BIOS?

We are working on making Linux our BIOS. In other words, we plan to replace the BIOS in NVRAM on our Rockhopper cluster with a Linux image, and instead of running the BIOS on startup we'll run Linux. We have a number of reasons for doing this, among them:
  • We want our cluster nodes to come up go out to the net for direction on how they should boot (diskless, local disk, reload, etc.). While there is a standard for this (PXE from Intel) it has a lot of limitations. Also, we have no desire to burn 16-bit EPROMs for every type of network card we ever get, and both the netboot and PXE software require this at some point.
  • By far the most important function of the BIOS is to support obsolete code, such as DOS. Modern operating systems such as Linux have absolutely no use for what the BIOS does. Still worse, many BIOSes do a poor job of configuring the PCI bus for systems such as Linux. Replacing the BIOS with Linux will allow faster reboots, and better system configuration.
  • The NVRAM can be written with the kernel we most commonly use. We can envision booting Linux in 10 milliseconds or so -- a very attractive idea.
How it will work
  • PC resets, and jumps to 0xffff:0 (remember, at reset, the Pentium is emulating a 20-year-old microprocessor, the 16-bit 8086). This address is in NVRAM. We will have rewritten NVRAM with a stub of OpenBIOS.
  • Using the OpenBIOS startup code, we initialize the chipset so that interrupts work, and DRAM is on.
  • As soon as we have DRAM we turn on the GDT and jump to 32-bit assembly.
  • 32-bit assembly does a bit more work and jumps to C.
  • The C code is short: it gunzips the Linux image out of NVRAM and jumps to it.
  • From that point on, you're in Linux: do what you please. If your kernel is so equipped, it can locate the real kernel to run and boot that instead (see below: we have Linux booting Linux now).
Current status:
  • We have OpenBIOS running on our L440GX+ motherboards. To make this work we use the ldbios program to write our test bios to memory at 0xffff:0, and jump to it. Our code successfully gunzips Linux and jumps to it.
  • We have Linux booting Linux. So our NVRAM-based Linux can decide to boot something else.
  • We're currently badly stuck on flashing the NVRAM on the L440GX+, and the docs we've found at intel.com have not helped. Any advice here would be very helpful. We have used the devbios but that program really can't handle the 1MB NVRAMs at present. We can read the 1MB NVRAM in Linux by mmap'ing /dev/mem at 0xfff00000. Writes to this location don't result in expected behavior from the flash device, i.e. the CUI state machine doesn't start returning chip type info after you write 0x90 to offset 0 in the flash. Maybe I've jumpered the board wrong? Maybe there's a trick bit in the PIIX4E I haven't set? If you've done this, write me. If you think you know something, write me.
For more info, visit the Linux BIOS Home Page (located here) or send email to linuxbios@acl.lanl.gov. Current LinuxBIOS contributors are Ron Minnich (rminnich@acl.lanl.gov, James Hendricks(jimi@lanl.gov), and Dale Webster(dalew@lanl.gov).

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.

Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.

Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.

Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.

Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.

Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.

Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.

Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.

 

Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Linux-friendly SoCs target low-end multimedia
• CompactFlash as a COTS "standard"
• 65nm ARM9 SoCs target PNDs, smartphones
• Motorola Ming A1600 ships
• N810 gains Android installer
• PC/104-Plus board runs Linux on x86 SoC
• Webinars explore embedded Linux development
• Linux video camera geo-tags, writes to SATA drives
• Garmin Nav devices run Gnome Linux
• Ten LiMo phones this month?
• It's a Yankee Doodle Linux phone
• Wind River to host "Developer Day"
• Dev boards gain Linux support
• 802.11n zooms ahead
• Low-power mini-ITX board runs Linux


Most popular stories -- past 30 days:
• World's cheapest Linux-based laptop?
• Ubuntu ported to a PDA
• 64-way chip gains Linux IDE, dev cards, design wins
• Embedded PowerPC dev kits come with Linux
• Rapid time-to-evaluation -- a key goal for silicon providers
• Embedded Linux is doomed. DOOOMED!
• Rugged PDA available with Linux
• Netflix Player runs Linux
• Miniature Linux PC targets military apps
• $7 SoC runs Linux
• Android Developer Challenge announces first-round winners
• Dual-core ARM SoC clocks to 1.2GHz


Linux-Watch headlines:
• Microsoft tactics push India toward Linux
• Bell, SuperMicro sued over GPL
• "Business intelligence" software goes GPL
• Will Atom bomb?
• LF Summit videos posted
• Linux gains "embedded" maintainers
• Virtualization on tap in SLES and RHEL upgrades
• Linux gets security black eye
• Verizon chooses Linux "platform of choice"
• Hats off to Fedora 9


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 
Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.