From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by ozlabs.org (Postfix) with ESMTP id 48035DDDAA for ; Fri, 13 Feb 2009 08:18:43 +1100 (EST) Received: by yx-out-2324.google.com with SMTP id 8so478809yxb.39 for ; Thu, 12 Feb 2009 13:18:41 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 12 Feb 2009 14:18:41 -0700 Message-ID: Subject: Re: writel hangs system From: Grant Likely To: Tobias Knutsson Content-Type: text/plain; charset=ISO-8859-1 Cc: "linuxppc-dev@ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Feb 10, 2009 at 6:07 AM, Tobias Knutsson wrote: > Hello, > > I'm in the process of porting a PCI-driver for a dsp-board from 2.4 to > 2.6. The probing of the driver goes well, IRQs are setup, resources > are claimed and remapped without any problems. Reading from I/O > regions also works well. However, when i try to read or write to a > memory region using readl/writel, the system instantly hangs. No > stacktrace or anything, it just stops. Hmmm. Not good. Are you able to access the memory regions from the U-Boot console? g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.