Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IwMsG-0000zq-3c for mharc-grub-devel@gnu.org; Sun, 25 Nov 2007 14:10:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwMsD-0000yu-7e for grub-devel@gnu.org; Sun, 25 Nov 2007 14:10:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwMsB-0000xz-E7 for grub-devel@gnu.org; Sun, 25 Nov 2007 14:10:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwMsB-0000xr-92 for grub-devel@gnu.org; Sun, 25 Nov 2007 14:10:31 -0500 Received: from wr-out-0506.google.com ([64.233.184.225]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwMsA-0006Mf-Sz for grub-devel@gnu.org; Sun, 25 Nov 2007 14:10:31 -0500 Received: by wr-out-0506.google.com with SMTP id 37so237190wra for ; Sun, 25 Nov 2007 11:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZuSAbblT1VOD22XglopcTZbo0y7UvB2x44RJAINhvZY=; b=YFb+GErmRhwbqW/xyvJ/faIn/APX7q/JKVFzKyHdUH+lijMAjy0TL29JmybmV0goHNI5M/NV9jrhe609pQabu3rFhnethYxBGoDQIBi4KL4rVr07aPJgkdVDpWvkUaZ9NuX08ImU9aSTk+BqGX+Mcp7bt1eHozgAB8TDASMiNIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=swdXZodnpHSe61xJPWhJEyomxZICTqhPuhPMRrc1rFZn4MkFV56FMmt+PaQwo5AcWcVWQv6t5NTOfpBc5Wgh+mwQvinPnGRYIKCRyOX5DR4X7Ol/qNr1ypqM4iYcqyyXbo0bbGOHktnsb3l5VWH7lWmtWLZw8z8l75krw0m4iac= Received: by 10.70.37.12 with SMTP id k12mr3269074wxk.1196017829224; Sun, 25 Nov 2007 11:10:29 -0800 (PST) Received: by 10.90.99.14 with HTTP; Sun, 25 Nov 2007 11:10:29 -0800 (PST) Message-ID: <460f92b70711251110y3deabfebtc779b664ca5ac201@mail.gmail.com> Date: Sun, 25 Nov 2007 21:10:29 +0200 From: UrJiZ To: "The development of GRUB 2" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <460f92b70711190705t6665188bs810f64bfa5e3186b@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 (Google crawlbot) Subject: Re: ISA Option ROM booting capability X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 19:10:33 -0000 Hi, On Nov 20, 2007 9:14 AM, Bean wrote: > Hi, > 1, use gas syntax, it's not that much source, just convert it. > 2, don't embed core.img, instead compile header seperately, and create > the rom image by catenating the header and core.img > 3, Use romchk to zero-pad the rom to 64K, and fix the checksum. It can > be quite useful if it can also configure runtime variables like the > hotkey and timeout. > Here's some list on what i've done: - converted the code to gas syntax... (I don't really get why, NASM is so much better in bootloader-like things...) - modified grub-mkrom to be able to compile it (dunno whether the current cpp + as + ld is the correct way, but it works) - added static offsets in image for the runtime variables... - modified romchk to be able to modify 'em - added grub-mkrom to be able to pass the variables to romchk (also has --help now) - added a tiny clean-binaries script ... it's just replacing "make clean" for now. And here's the new archive: http://88.193.31.35:8080/urjaman/romboot2.tar.gz (or http://rapidshare.com/files/72238464/romboot2.tar.gz.html ). Any comments are welcomed, good or bad. -- urjaman