[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: USB kernel driver

From: jochen
Subject: AW: USB kernel driver
Date: Fri, 21 Oct 2005 08:09:48 +0200 (CEST)


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


 --- Urspr√ľngliche Nachricht ---
Datum: 20.10.2005 01:37
Von: The development of GRUB 2 <address@hidden>
An: The development of GRUB 2 <address@hidden>
Betreff: Re: AW: USB kernel driver

> On Wednesday 19 October 2005 08:07 am, address@hidden wrote:
> > So it seems to me the only way is to write it our own. Or are there
> > more ideas where to "borrow" code from?
> You can refer to other code for a reference purpose, but it is important
> keep it in mind that the operating environment of GRUB is fundamentally

> different from OS. Since OS wants complete control of hardware, it
> reconfigures many parameters and makes use of hardware interrupts for a

> performance reason, while GRUB tries to keep an underlying system as
> as possible for safety. So, in GRUB, interrupt-driven code is
> and a polling-based approach is often nicer.
> > Writing a own GRUB USB driver seems to be a complicated task,
> > with the three standards UHCI, EHCI and OHCI.
> It is complicated if you attempt to obtain a perfect thing from the
> To start a project, the best way is, IMO, to start from what you really
> 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
> 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
> Okuji
> _______________________________________________
> Grub-devel mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]