Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ESq6X-0002Yy-NT for mharc-grub-devel@gnu.org; Fri, 21 Oct 2005 02:10:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESq6O-0002YM-Kv for grub-devel@gnu.org; Fri, 21 Oct 2005 02:10:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESq6K-0002XS-L0 for grub-devel@gnu.org; Fri, 21 Oct 2005 02:10:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESq6I-0002Wz-Fe for grub-devel@gnu.org; Fri, 21 Oct 2005 02:09:59 -0400 Received: from [81.169.145.166] (helo=natnoddy.rzone.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESq6H-0000pL-6Y for grub-devel@gnu.org; Fri, 21 Oct 2005 02:09:57 -0400 Received: from www.strato-webmail.de (salami.rzone.de [81.169.145.14]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j9L69ma7026438; Fri, 21 Oct 2005 08:09:49 +0200 (MEST) From: jochen@mades.net To: grub-devel@gnu.org X-Mailer: STRATO-Webmail.de, powered by PHlyMail OEM, http://phlymail.com X-Sender-IP: 212.126.201.26 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20051021060948.A598A90006@www.strato-webmail.de> Date: Fri, 21 Oct 2005 08:09:48 +0200 (CEST) Subject: AW: USB kernel driver 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, 21 Oct 2005 06:10:07 -0000 Hi, because of not knowing the GRUB 2 architecture very well so far, it would be nice if you could give me some tipps about - what does the GRUB development enviroment looks like (means how does your test PCs look like, how to put updates on the test PC an so on) - ways to debug my code - where in source code should I place my test driver Thx Jochen --- Urspr=FCngliche Nachricht --- Datum: 20.10.2005 01:37 Von: The development of GRUB 2 An: The development of GRUB 2 Betreff: Re: AW: USB kernel driver > On Wednesday 19 October 2005 08:07 am, jochen@mades.net wrote: > > So it seems to me the only way is to write it our own. Or are there any > > more ideas where to "borrow" code from? > > You can refer to other code for a reference purpose, but it is important to > keep it in mind that the operating environment of GRUB is fundamentally > different from OS. Since OS wants complete control of hardware, it usually > reconfigures many parameters and makes use of hardware interrupts for a > performance reason, while GRUB tries to keep an underlying system as intact > as possible for safety. So, in GRUB, interrupt-driven code is inappropriate, > and a polling-based approach is often nicer. > > > Writing a own GRUB USB driver seems to be a complicated task, starting > > with the three standards UHCI, EHCI and OHCI. > > It is complicated if you attempt to obtain a perfect thing from the beginning. > To start a project, the best way is, IMO, to start from what you really need > yourself. For example, you should have a system which has one of the USB > systems, but not all of them. So I'd recommend you implementing "just work > for me" code as a first step. > > > Furthermore I have no experience with GRUB drivers! Is there any > > documentation besides the source code? > > No, but you don't need it, since the environment is quite simple. GRUB is just > a single task, and there is little concern about security or performance. > > Okuji > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >