From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261656AbVGKTfU (ORCPT ); Mon, 11 Jul 2005 15:35:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261981AbVGKTfN (ORCPT ); Mon, 11 Jul 2005 15:35:13 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:30849 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S261656AbVGKTfG (ORCPT ); Mon, 11 Jul 2005 15:35:06 -0400 Date: Mon, 11 Jul 2005 21:34:54 +0200 From: Pavel Machek To: lenz@cs.wisc.edu, kernel list Subject: arm: how to operate leds on zaurus? Message-ID: <20050711193454.GA2210@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.