Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HUnpf-0003jW-Hu for mharc-grub-devel@gnu.org; Fri, 23 Mar 2007 13:45:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUnpe-0003fb-BJ for grub-devel@gnu.org; Fri, 23 Mar 2007 13:45:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUnpb-0003a9-KT for grub-devel@gnu.org; Fri, 23 Mar 2007 13:45:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUnpb-0003Zq-GL for grub-devel@gnu.org; Fri, 23 Mar 2007 12:45:39 -0500 Received: from wx-out-0506.google.com ([66.249.82.233]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUnne-0007hm-Sv for grub-devel@gnu.org; Fri, 23 Mar 2007 13:43:39 -0400 Received: by wx-out-0506.google.com with SMTP id s17so1350574wxc for ; Fri, 23 Mar 2007 10:43:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=IRdQKOcTS6i2aff3KSre1HPNrKrRn2PAbzC0CsIfzZUCQxitllggSUCjuAf5dpn6sNq10XmU82snPdJNP8Txmovq8yu9ljxQ/p/LXpApEJ+ufIH61E4frFst+hkwNzBP3RC4PsQPQ9mepAdwOU8HvWr9ddJWiHBsILj3qYywwCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=jwIwW5oBvZXFqowLiZXv0FzA3QlEZqqZNnCUxlLdmO7610LI/ENTKOz85LxjLzqmn/0WYk2Y2Tg8YkLPfw2Ok78tJjU3JQt5KZZsKF+8YT6KZvbVHXtgez0xPmzHdDi2ILLgJaWtJh2fhDb+i1JQqbpdxs+QASTHVw7tCR9tQ9Y= Received: by 10.90.35.15 with SMTP id i15mr5392292agi.1174671817589; Fri, 23 Mar 2007 10:43:37 -0700 (PDT) Received: from ?192.168.0.100? ( [221.222.207.122]) by mx.google.com with ESMTP id 16sm14818094nzo.2007.03.23.10.43.35; Fri, 23 Mar 2007 10:43:36 -0700 (PDT) From: coly To: The development of GRUB 2 In-Reply-To: References: <1174666959.14781.4.camel@colyT43.site> Content-Type: text/plain; charset=utf-8 Date: Sat, 24 Mar 2007 01:49:11 +0800 Message-Id: <1174672152.14781.8.camel@colyT43.site> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 8bit X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) Subject: Re: Two SoC ideas 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: Fri, 23 Mar 2007 17:45:42 -0000 Chen: For the first idea, it is clear to me. I have no comment on it. For the second idea, I need more information. Can you explain more for the limition of "modaddr value" command, and how can the limition to be broken out by the "addr = value" option ? Thanks. Coly 在 2007-03-24六的 01:30 +0800,Wei Shen写道: > Thanks for your advice. > > On 3/24/07, colyli wrote: > Chen: > > In grub command line, you can edit the configre (even > mistaken), so > maybe it will not be worth to add an edit in grub. > > I do not mean the configure of Grub menu list, but the config files of > the OS, like boot.ini of Windows and inittab of Linux. > > An option to set the start address for grub to load multiboot > module is > great. This option will make kernel guys (who use multiboot > modules) to > initiate the kernel more easy. I remember a branch of grub for > L4 kernel > supports this option, maybe it can be a reference if you are > interested > in. > > I know this approach, however, instead of an option, they add a new > command modaddr. A limitation is that all modules after the "modaddr > value" will be loaded in succession to a overriding address below > address value. > > Best regards. > > Coly > > > 在 2007-03-23五的 23:46 +0800,Wei Shen写道: > > Hi, > > > > I have two ideas and wonder whether they are welcome as SoC > projects. > > > > 1) Simple file editing > > I think it is useful to add file edit function to Grub. > Thus, if a > > config file which is required to boot the OS successfully is > > mistakenly written, we can still correct it in Grub and need > not to > > reboot from the floppy or cdrom just for the correcting. > > > > I know it would greately increase the complexity of Grub to > support a > > writable file system. However, if file writing does not > change the > > block number of a file, things are much simpler. Since most > config > > files are small (occupying only one block), I think the > solution will > > work. > > > > 2) addr option for module command > > > > Add nn option: "addr = value" to the module command. If the > addr > > option is specified, Grub will load the module to address > value > > instead of the default address. > > > > Regards, > > > > Wei Shen > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel