arm: how to operate leds on zaurus?

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

 



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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux