[Fwd: [OpenBIOS] code for linux booting linux]

Jeff Garzik (jgarzik@mandrakesoft.com)
Sat, 12 Feb 2000 10:28:46 -0500


This is a multi-part message in MIME format.
--------------7AB100BA4DEE27A79BDC6293
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Guys,

Here is a message from the OpenBIOS[1] mailing list. Someone has
written a PC firmware replacement which will boot Linux. It doesn't do
any of the normal BIOS services, but it does boot Linux (big first
step).

Jeff

[1] OpenBIOS home page: http://www.freiburg.linux.de/openbios/

-- 
Jeff Garzik         | "Vegetarian" is the Indian word
Building 1024       | for 'lousy hunter.'
MandrakeSoft, Inc.  |
--------------7AB100BA4DEE27A79BDC6293
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <owner-openbios@elvis.informatik.uni-freiburg.de> Received: from growl.pobox.com (growl.pobox.com [208.210.124.27]) by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) with ESMTP id KAA25449 for <jgarzik@mandrakesoft.com>; Fri, 11 Feb 2000 10:59:51 -0600 Received: by growl.pobox.com (Postfix, from userid 18) id BB870118DD; Fri, 11 Feb 2000 12:09:09 -0500 (EST) Received: from wesley.informatik.uni-freiburg.de (wesley.informatik.uni-freiburg.de [132.230.153.50]) by growl.pobox.com (Postfix) with ESMTP id AA9C0D95A for <jgarzik@pobox.com>; Fri, 11 Feb 2000 11:55:18 -0500 (EST) Received: (from majordomo@localhost) by wesley.informatik.uni-freiburg.de (8.8.8/8.8.8) id RAA17889 for openbios-outgoing; Fri, 11 Feb 2000 17:11:01 +0100 Received: from avalon.informatik.uni-freiburg.de (avalon.informatik.uni-freiburg.de [132.230.150.1]) by wesley.informatik.uni-freiburg.de (8.8.8/8.8.8) with ESMTP id RAA17886 for <openbios@elvis.informatik.uni-freiburg.de>; Fri, 11 Feb 2000 17:11:00 +0100 Received: from mailgateway1.uni-freiburg.de (mailgateway1.uni-freiburg.de [132.230.1.6]) by avalon.informatik.uni-freiburg.de (8.9.0/8.9.0) with SMTP id RAA05135 for <openbios@elvis.informatik.uni-freiburg.de>; Fri, 11 Feb 2000 17:10:58 +0100 (MET) Received: from acl.lanl.gov [128.165.147.1] by mailgateway1.uni-freiburg.de with esmtp (Exim 1.82 #3) id 12JIem-0003Za-00; Fri, 11 Feb 2000 17:10:57 +0100 Received: from mini.acl.lanl.gov (root@mini.acl.lanl.gov [128.165.147.34]) by acl.lanl.gov (8.8.8/8.8.5) with ESMTP id JAA7550353; Fri, 11 Feb 2000 09:09:37 -0700 (MST) Received: from localhost (rminnich@localhost) by mini.acl.lanl.gov (8.9.3/8.8.8) with ESMTP id JAA09476; Fri, 11 Feb 2000 09:09:36 -0700 X-Authentication-Warning: mini.acl.lanl.gov: rminnich owned process doing -bs Date: Fri, 11 Feb 2000 09:09:36 -0700 (MST) From: "Ronald G. Minnich" <rminnich@lanl.gov> X-Sender: rminnich@mini.acl.lanl.gov To: openbios@elvis.informatik.uni-freiburg.de Cc: stepan@suse.de Subject: [OpenBIOS] code for linux booting linux Message-ID: <Pine.LNX.4.20.0002110902360.8962-100000@mini.acl.lanl.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-openbios@elvis.informatik.uni-freiburg.de Precedence: bulk Reply-To: openbios@elvis.informatik.uni-freiburg.de X-Mozilla-Status2: 00000000

I was asked to announce this again, so here goes.

At www.acl.lanl.gov/linuxbios, at the top, there are links to the following: 1) A context-diff to 2.2.13 to implement the lobos system call. Lobos stands for Linux OS Boots OS, and it provides the pieces to allow a kernel to read a file in, overlay the current kernel with the file, and boot the new kernel. NO BIOS support is needed, so the whole thing takes about .5 second on my 600E laptop. Also, the log buffer is preserved across boots -- handy. 2) S00 modified to check for /lobos. If /lobos exists then S00reboot calls a program to call the lobos system call 3) The script command (/usr/bin/lobos) that is essentially a reboot command to make lobos happen 4) finally, a simple .c program that invokes the system call.

Also included on this web page is a paper on how it all works.

Let me know if you have questions, comments, or improvements.

BTW, I'm going to plug openbios into the nvram on my l440gx today using the intel iflash utility. If this works, next step is booting linux out of nvram. Wish me luck!

ron

- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message

--------------7AB100BA4DEE27A79BDC6293--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/