lkml.org 
[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: arm: how to operate leds on zaurus?
> > > 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 :-(
> >
> > Basically because you do not have access to IO during the early boot.
> > The easiest debugging solution is to enable CONFIG_DEBUG_LL and
> > throw a printascii(printk_buf) into printk.c, after vscnprintf.
> > That might get you some boot messages through the serial port (if
> > it's implemented it correctly.)
>
> I'm afraid I do not have serial cable :-(. I'll try to get one [erik,
> do you have one you don't need?], but zaurus has "little" nonstandard
> connector.

I am sorry, I sold my SL-5500 before a few days. For build serial
cable you need: connector, two negator gates (CMOS 4011, 74HCT00 ...),
MAX232 (RS232 voltage level convertor) and DB9 serial connector. Circuit
is a bit strange, because Zaurus have inverted TxD and RxD signals.
All parts I can buy in .cz without problems, only connector I can't.

Yokotashi

>
> Would code above work if executed later?
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-12 09:20    [W:0.049 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site