public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arm: how to operate leds on zaurus?
@ 2005-07-11 19:34 Pavel Machek
  2005-07-11 19:45 ` Russell King
  2005-07-12  1:07 ` John Lenz
  0 siblings, 2 replies; 11+ messages in thread
From: Pavel Machek @ 2005-07-11 19:34 UTC (permalink / raw)
  To: lenz, kernel list

Hi!

2.6.12-rc5 (and newer) does not boot on sharp zaurus sl-5500. It
blinks with green led, fast; what does it mean? I'd like to verify if
it at least reaches .c code in setup.c. I inserted this code at
begining of setup.c:674...

#define locomo_writel(val,addr) ({ *(volatile u16 *)(addr) = (val); })
#define LOCOMO_LPT_TOFH         0x80
#define LOCOMO_LED              0xe8
#define LOCOMO_LPT0             0x00

      locomo_writel(LOCOMO_LPT_TOFH, LOCOMO_LPT0 + LOCOMO_LED);

...but that does not seem to do a trick -- it only breaks the boot :-(
(do I need to add some kind of IO_BASE?).
								Pavel
-- 
teflon -- maybe it is a trademark, but it should not be.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-21  2:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11 19:34 arm: how to operate leds on zaurus? Pavel Machek
2005-07-11 19:45 ` Russell King
2005-07-11 19:50   ` Pavel Machek
2005-07-12  7:16     ` Hamera Erik
2005-07-12  7:21     ` Russell King
2005-07-12  1:07 ` John Lenz
2005-07-19 18:06   ` Sharp Zaurus sl-5500 broken in 2.6.12 Pavel Machek
2005-07-19 19:21     ` Pavel Machek
2005-07-19 20:22       ` Richard Purdie
2005-07-20 17:57         ` Pavel Machek
2005-07-21  2:41           ` John Lenz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox