Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1F5Xht-00009B-Ex for mharc-grub-devel@gnu.org; Sat, 04 Feb 2006 19:24:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5XDl-00041F-EZ for grub-devel@gnu.org; Sat, 04 Feb 2006 18:53:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5V86-0007LW-Gp for grub-devel@gnu.org; Sat, 04 Feb 2006 16:39:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5UyS-0004Y6-59 for grub-devel@gnu.org; Sat, 04 Feb 2006 16:29:40 -0500 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5Uxi-0001Cl-AY for grub-devel@gnu.org; Sat, 04 Feb 2006 16:28:54 -0500 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id DA8DF3C00628F for ; Sat, 4 Feb 2006 23:10:34 +0100 (CET) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 7EE013C00628D for ; Sat, 4 Feb 2006 23:10:34 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 4 Feb 2006 22:26:17 +0100 User-Agent: KMail/1.8.2 References: <200602031210.k13CAlbN013146@ALPHA.tu-sofia.bg> In-Reply-To: <200602031210.k13CAlbN013146@ALPHA.tu-sofia.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602042226.17904.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.488477, version=0.17.2 Subject: Re: serial line - file interface 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, 05 Feb 2006 00:24:34 -0000 On Friday 03 February 2006 13:10, Kiril Paunov wrote: > I hope that this will be interesting for you... Great. :) > I'm making some experiments with embedde OS, currently with RTEMS on i386. > I use some PC (to hand) for my tests and got to the problem with booting. > See, it's just to much time for each boot! So I made some changes to grub > to be able to boot images from the serial line. I know that there are > better sulutions for this problem but maybe this can help on some way to > the grub project. There is a new command 'comload' - it's a bit silly but > that's Ok for me. That's what I have used first... before the idea for the > `(com)' device. I'd like to ask why you invented your own protocol. Why don't you use an existing protocol, for example, Kermit? > + * include/grub/comio.h io/comio.c: New file interface. > + This allows to download and boot ower the serial line. > + I't usefull for people that work with embedded systems. > + It's not very good covered by the file interface but i't > + works well. There is not a good abstraction for this kind > + off filesystem (net/serial/???)!!! This should be handled by the network device layer. Actually, the purpose of "net" devices in GRUB 2 is to support all non-disk devices. Okuji