[lkml]   [2005]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: arm: how to operate leds on zaurus?
    On Mon, Jul 11, 2005 at 09:34:54PM +0200, Pavel Machek wrote:
    > 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 :-(

    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.)

    Russell King
    Linux kernel 2.6 ARM Linux -
    maintainer of: 2.6 Serial core
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-07-12 02:23    [W:0.020 / U:4.996 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site