* LPT @ 2010-12-14 19:54 Kirill Kuprijanov 2010-12-14 20:23 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 2010-12-14 23:06 ` LPT Jordan 0 siblings, 2 replies; 8+ messages in thread From: Kirill Kuprijanov @ 2010-12-14 19:54 UTC (permalink / raw) To: grub-devel Hello, I have a motherboard with LCD indicator attached to it's LPT port. I would like to make grub show some early splash screen on it. All the things regarding protocol and pin assignments are ok, as I already have a programm to show stuff on LCD from OS (Debian). So the question is "how to make a grub module that is capable of setting levels on LPT pins?" and a second one is "how to make use of it during bootup procedure? Thanks in advance, Kirill ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LPT 2010-12-14 19:54 LPT Kirill Kuprijanov @ 2010-12-14 20:23 ` Vladimir 'φ-coder/phcoder' Serbinenko 2011-01-07 14:18 ` LPT Kirill Kuprijanov 2010-12-14 23:06 ` LPT Jordan 1 sibling, 1 reply; 8+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-12-14 20:23 UTC (permalink / raw) To: grub-devel [-- Attachment #1: Type: text/plain, Size: 1033 bytes --] On 12/14/2010 08:54 PM, Kirill Kuprijanov wrote: > Hello, > > I have a motherboard with LCD indicator attached to it's LPT port. I > would like to make grub show some early splash screen on it. All the > things regarding protocol and pin assignments are ok, as I already > have a programm to show stuff on LCD from OS (Debian). So the question > is "how to make a grub module that is capable of setting levels on LPT > pins?" and a second one is "how to make use of it during bootup > procedure? > Currently GRUB has no LPT driver whatsoever. You would need to write one. I suggest having look in our tree at ns8250.c (serial driver), hello.c (module usage). As for how to write LPT driver, old DOS documentation is usually of assistance (nothing changed there). > Thanks in advance, > Kirill > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LPT 2010-12-14 20:23 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-01-07 14:18 ` Kirill Kuprijanov 2011-01-07 14:34 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 1 reply; 8+ messages in thread From: Kirill Kuprijanov @ 2011-01-07 14:18 UTC (permalink / raw) To: grub-devel On 14.12.2010 23:23, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 12/14/2010 08:54 PM, Kirill Kuprijanov wrote: >> Hello, >> >> I have a motherboard with LCD indicator attached to it's LPT port. I >> would like to make grub show some early splash screen on it. All the >> things regarding protocol and pin assignments are ok, as I already >> have a programm to show stuff on LCD from OS (Debian). So the question >> is "how to make a grub module that is capable of setting levels on LPT >> pins?" and a second one is "how to make use of it during bootup >> procedure? >> > Currently GRUB has no LPT driver whatsoever. You would need to write > one. I suggest having look in our tree at ns8250.c (serial driver), > hello.c (module usage). As for how to write LPT driver, old DOS > documentation is usually of assistance (nothing changed there). Does that mean LPT driver is actually a grub module (just to prove me right)? Then what about some code to show the splash itself? Should it be a second separate module or should I place it in some other place? >> Thanks in advance, >> Kirill >> >> >> _______________________________________________ >> 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LPT 2011-01-07 14:18 ` LPT Kirill Kuprijanov @ 2011-01-07 14:34 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 8+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-01-07 14:34 UTC (permalink / raw) To: grub-devel [-- Attachment #1: Type: text/plain, Size: 1996 bytes --] On 01/07/2011 03:18 PM, Kirill Kuprijanov wrote: > On 14.12.2010 23:23, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> On 12/14/2010 08:54 PM, Kirill Kuprijanov wrote: >>> Hello, >>> >>> I have a motherboard with LCD indicator attached to it's LPT port. I >>> would like to make grub show some early splash screen on it. All the >>> things regarding protocol and pin assignments are ok, as I already >>> have a programm to show stuff on LCD from OS (Debian). So the question >>> is "how to make a grub module that is capable of setting levels on LPT >>> pins?" and a second one is "how to make use of it during bootup >>> procedure? >>> >> Currently GRUB has no LPT driver whatsoever. You would need to write >> one. I suggest having look in our tree at ns8250.c (serial driver), >> hello.c (module usage). As for how to write LPT driver, old DOS >> documentation is usually of assistance (nothing changed there). > > Does that mean LPT driver is actually a grub module (just to prove me > right)? I would write it as a separate module. > Then what about some code to show the splash itself? Should it be a > second separate module or should I place it in some other place? > It must be at least be in a separate file and use a sane interface to LPT port. When it's done this way, whether it's compiled into separate module or not is just 2 lines of change >>> Thanks in advance, >>> Kirill >>> >>> >>> _______________________________________________ >>> 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 > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: LPT 2010-12-14 19:54 LPT Kirill Kuprijanov 2010-12-14 20:23 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-12-14 23:06 ` Jordan 2010-12-14 23:22 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 1 sibling, 1 reply; 8+ messages in thread From: Jordan @ 2010-12-14 23:06 UTC (permalink / raw) To: 'The development of GNU GRUB' Kirill, Creating a new module is the easy part. As a newbie myself, recently I found this blog helpful: http://blog.fpmurphy.com/2010/06/grub2-modules.html . As far as writing C or assembly code to talk to the LPT port, there are plenty of articles out there (like this one: http://logix4u.net/Legacy_Ports/Parallel_Port/A_tutorial_on_Parallel_port_In terfacing.html ) that show what I/O addresses are generally used for what. Jordan Strub -----Original Message----- From: grub-devel-bounces+jordan=tystent.net@gnu.org [mailto:grub-devel-bounces+jordan=tystent.net@gnu.org] On Behalf Of Kirill Kuprijanov Sent: Tuesday, December 14, 2010 12:55 PM To: grub-devel@gnu.org Subject: LPT Hello, I have a motherboard with LCD indicator attached to it's LPT port. I would like to make grub show some early splash screen on it. All the things regarding protocol and pin assignments are ok, as I already have a programm to show stuff on LCD from OS (Debian). So the question is "how to make a grub module that is capable of setting levels on LPT pins?" and a second one is "how to make use of it during bootup procedure? Thanks in advance, Kirill _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LPT 2010-12-14 23:06 ` LPT Jordan @ 2010-12-14 23:22 ` Vladimir 'φ-coder/phcoder' Serbinenko 2011-02-10 18:57 ` LPT Kirill Kuprijanov 0 siblings, 1 reply; 8+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-12-14 23:22 UTC (permalink / raw) To: grub-devel [-- Attachment #1: Type: text/plain, Size: 1823 bytes --] On 12/15/2010 12:06 AM, Jordan wrote: > Kirill, > > Creating a new module is the easy part. As a newbie myself, recently I > found this blog helpful: http://blog.fpmurphy.com/2010/06/grub2-modules.html > . > > As far as writing C or assembly code to talk to the LPT port, there are > plenty of articles out there (like this one: > http://logix4u.net/Legacy_Ports/Parallel_Port/A_tutorial_on_Parallel_port_In > terfacing.html ) that show what I/O addresses are generally used for what. > > If you use any external code (there shouldn't be any need), please first tell which code it is, so we can check for license compatibility > Jordan Strub > > -----Original Message----- > From: grub-devel-bounces+jordan=tystent.net@gnu.org > [mailto:grub-devel-bounces+jordan=tystent.net@gnu.org] On Behalf Of Kirill > Kuprijanov > Sent: Tuesday, December 14, 2010 12:55 PM > To: grub-devel@gnu.org > Subject: LPT > > Hello, > > I have a motherboard with LCD indicator attached to it's LPT port. I would > like to make grub show > some early splash screen on it. All the things regarding protocol and pin > assignments are ok, as I > already have a programm to show stuff on LCD from OS (Debian). So the > question is "how to make a > grub module that is capable of setting levels on LPT pins?" and a second one > is "how to make use of > it during bootup procedure? > > Thanks in advance, > Kirill > > > _______________________________________________ > 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 > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LPT 2010-12-14 23:22 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-02-10 18:57 ` Kirill Kuprijanov 2011-02-10 21:47 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 1 reply; 8+ messages in thread From: Kirill Kuprijanov @ 2011-02-10 18:57 UTC (permalink / raw) To: grub-devel Hello, so I'm nearly finished with couple of modules: 1. isa_lpt - to do the direct business with usual LPT ports 2. lpt - to interface any number of usual and unusual (say, PCI add-on cards) ports 3. t6963 - very special module to show pictures on my LCD (with internal toshiba 6963-compatible controller). This is where I gave up doing things 'the universal' way and had lots of distinct things (like pixel size and controller interface of the LCD). Now I have two more question: 1. how to make delays of 200ns in code? Oh, yes, I've noticed there is a function to make microsecond waits, but still, is there a way to make nanosecond wait? 2. what to do next? I have a local branch of bazaar repo and commit to it. What to do next with it? On 15.12.2010 02:22, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 12/15/2010 12:06 AM, Jordan wrote: >> Kirill, >> >> Creating a new module is the easy part. As a newbie myself, recently I >> found this blog helpful: http://blog.fpmurphy.com/2010/06/grub2-modules.html >> . >> >> As far as writing C or assembly code to talk to the LPT port, there are >> plenty of articles out there (like this one: >> http://logix4u.net/Legacy_Ports/Parallel_Port/A_tutorial_on_Parallel_port_In >> terfacing.html ) that show what I/O addresses are generally used for what. >> >> > If you use any external code (there shouldn't be any need), please first > tell which code it is, so we can check for license compatibility >> Jordan Strub >> >> -----Original Message----- >> From: grub-devel-bounces+jordan=tystent.net@gnu.org >> [mailto:grub-devel-bounces+jordan=tystent.net@gnu.org] On Behalf Of Kirill >> Kuprijanov >> Sent: Tuesday, December 14, 2010 12:55 PM >> To: grub-devel@gnu.org >> Subject: LPT >> >> Hello, >> >> I have a motherboard with LCD indicator attached to it's LPT port. I would >> like to make grub show >> some early splash screen on it. All the things regarding protocol and pin >> assignments are ok, as I >> already have a programm to show stuff on LCD from OS (Debian). So the >> question is "how to make a >> grub module that is capable of setting levels on LPT pins?" and a second one >> is "how to make use of >> it during bootup procedure? >> >> Thanks in advance, >> Kirill >> >> >> _______________________________________________ >> 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 >> >> > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LPT 2011-02-10 18:57 ` LPT Kirill Kuprijanov @ 2011-02-10 21:47 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 8+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-02-10 21:47 UTC (permalink / raw) To: grub-devel [-- Attachment #1: Type: text/plain, Size: 3267 bytes --] On 02/10/2011 09:57 PM, Kirill Kuprijanov wrote: > Hello, > > so I'm nearly finished with couple of modules: > > 1. isa_lpt - to do the direct business with usual LPT ports > 2. lpt - to interface any number of usual and unusual (say, PCI add-on > cards) ports > 3. t6963 - very special module to show pictures on my LCD (with > internal toshiba 6963-compatible controller). This is where I gave up > doing things 'the universal' way and had lots of distinct things (like > pixel size and controller interface of the LCD). > > Now I have two more question: > 1. how to make delays of 200ns in code? > Oh, yes, I've noticed there is a function to make microsecond waits, > but still, is there a way to make nanosecond wait? > > 2. what to do next? I have a local branch of bazaar repo and commit to > it. What to do next with it? > <short answer> Could you send the patches here? > On 15.12.2010 02:22, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> On 12/15/2010 12:06 AM, Jordan wrote: >>> Kirill, >>> >>> Creating a new module is the easy part. As a newbie myself, recently I >>> found this blog helpful: >>> http://blog.fpmurphy.com/2010/06/grub2-modules.html >>> . >>> >>> As far as writing C or assembly code to talk to the LPT port, there are >>> plenty of articles out there (like this one: >>> http://logix4u.net/Legacy_Ports/Parallel_Port/A_tutorial_on_Parallel_port_In >>> >>> terfacing.html ) that show what I/O addresses are generally used for >>> what. >>> >>> >> If you use any external code (there shouldn't be any need), please first >> tell which code it is, so we can check for license compatibility >>> Jordan Strub >>> >>> -----Original Message----- >>> From: grub-devel-bounces+jordan=tystent.net@gnu.org >>> [mailto:grub-devel-bounces+jordan=tystent.net@gnu.org] On Behalf Of >>> Kirill >>> Kuprijanov >>> Sent: Tuesday, December 14, 2010 12:55 PM >>> To: grub-devel@gnu.org >>> Subject: LPT >>> >>> Hello, >>> >>> I have a motherboard with LCD indicator attached to it's LPT port. I >>> would >>> like to make grub show >>> some early splash screen on it. All the things regarding protocol >>> and pin >>> assignments are ok, as I >>> already have a programm to show stuff on LCD from OS (Debian). So the >>> question is "how to make a >>> grub module that is capable of setting levels on LPT pins?" and a >>> second one >>> is "how to make use of >>> it during bootup procedure? >>> >>> Thanks in advance, >>> Kirill >>> >>> >>> _______________________________________________ >>> 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 >>> >>> >> >> >> >> >> _______________________________________________ >> 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 > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-02-10 21:47 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-12-14 19:54 LPT Kirill Kuprijanov 2010-12-14 20:23 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 2011-01-07 14:18 ` LPT Kirill Kuprijanov 2011-01-07 14:34 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 2010-12-14 23:06 ` LPT Jordan 2010-12-14 23:22 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko 2011-02-10 18:57 ` LPT Kirill Kuprijanov 2011-02-10 21:47 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).