From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Troubles on my custom keyboard driver in u-boot
Date: Wed, 07 Apr 2004 15:24:21 +0200 [thread overview]
Message-ID: <20040407132426.793E5C133F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 07 Apr 2004 19:21:43 +0800." <20040407112143.80715.qmail@web15201.mail.bjs.yahoo.com>
In message <20040407112143.80715.qmail@web15201.mail.bjs.yahoo.com> you wrote:
>
> I had a trouble on coding a custom keyboard driver on
> my custom 8xx board in u-boot.According to README,only
> RBC823 does have a custom keyboard so far.I looked up
This is wrong.
Many systems have a custom keyboard of one kind or another. See for
example LWMON and R360 and TRAB, which allow to bind arbitrary
command sequences to arbitrary key combinations.
Or see HMI-10 which uses a custom PS/2 multiplexor to attach a
standard PC keuyboard as input device.
> kbd.c of this board but still some puzzles.In kbd.c,
> RBC823 use SMC1 as serial port to get the input,while
> I mean to implement the input by PCMCIA pins as GPIO.I
> could make a Level 0 interrupt by PCMCIA status change
> to create a character.But how about next step?
What are you going to use the "keyboard" for? To detect single key
presses and to switch functions in U-Boot, like truning on/off of log
,messages, booting a different image and the like? Or as input device
for interactive use?
> 1. RBC823 use DPRAM as keyboard buffer and get
...
> 2. How come RBC823 uses lcd_disable function and a
> special U-BUS arbitration priority? I did the same on
...
> 3. Also,when I registered my custom board as RBC823
> did.I found the I/O address of keyboard and LCD had
It makes little sense to use a configuration for one board on
completely different hardware. You need a detailed understanding of
that hardware, and of your own, and in nearly all cases you will have
to adapt the code. Simpy copying a configuration is a pretty good
guarantee to run you into problems.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Mandrell: "You know what I think?"
Doctor: "Ah, ah that's a catch question. With a brain your size you
don't think, right?"
- Dr. Who
next prev parent reply other threads:[~2004-04-07 13:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1BB3de-00025R-RJ@sc8-sf-list1.sourceforge.net>
2004-04-07 11:21 ` [U-Boot-Users] Troubles on my custom keyboard driver in u-boot Sam Song
2004-04-07 13:24 ` Wolfgang Denk [this message]
2004-04-07 15:54 ` Sam Song
2004-04-07 16:30 ` Wolfgang Denk
2004-04-11 0:44 ` Udi Finkelstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040407132426.793E5C133F@atlas.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.