From owner-freebsd-arm@FreeBSD.ORG Sat Jan 7 06:11:49 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E245106566C for ; Sat, 7 Jan 2012 06:11:49 +0000 (UTC) (envelope-from mrossi@swin.edu.au) Received: from outbound.icp-osb-irony-out8.iinet.net.au (outbound.icp-osb-irony-out8.iinet.net.au [203.59.1.134]) by mx1.freebsd.org (Postfix) with ESMTP id EEA298FC0A for ; Sat, 7 Jan 2012 06:11:48 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAJfaB098lJAk/2dsb2JhbAAMOBavIAEBAQQ4QAEQCw0BCgkWDwkDAgECAUUGDQEHAQGHfqx1iQWMEQSVCIVxjFo X-IronPort-AV: E=Sophos;i="4.71,472,1320595200"; d="scan'208";a="191701651" Received: from unknown (HELO [192.168.15.65]) ([124.148.144.36]) by outbound.icp-osb-irony-out8.iinet.net.au with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 07 Jan 2012 13:44:07 +0800 Message-ID: <4F07DBC2.6040206@swin.edu.au> Date: Sat, 07 Jan 2012 16:44:34 +1100 From: Mattia Rossi Organization: Swinburne University of Technology User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Ian Lepore References: <4F05503D.4030303@swin.edu.au> <1325884830.25037.91.camel@revolution.hippie.lan> In-Reply-To: <1325884830.25037.91.camel@revolution.hippie.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: SDIO driver for OpenRD Ultimate/ Dreamplug X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mrossi@swin.edu.au List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 06:11:49 -0000 On 07/01/12 08:20, Ian Lepore wrote: > On Thu, 2012-01-05 at 18:24 +1100, Mattia Rossi wrote: >> Hi all, >> >> I've tried to compile and use the SDIO driver found here: >> http://people.freebsd.org/~raj/misc/mv_sdio.c >> > > Hmmm, on second thought, I'll bet interrupt 34 needs to be listed in the > sdio section of the FDT, not the gpio like I said earlier. The code > sets the resource id to 1 to allocate that interrupt, so it probably > needs to be listed as the 2nd interrupt for the sdio dev. > > -- Ian > > Oh, and btw., don't know if this is related, but if I run ofwdump on the Dreamplug I get the following output: ofwdump -ap Node 0xc0d43398: model: 6d 72 76 6c 2c 44 72 65 61 6d 50 6c 75 67 00 'mrvl,DreamPlug' compatible: 44 72 65 61 6d 50 6c 75 67 00 'DreamPlug' #address-cells: 00 00 00 01 #size-cells: 00 00 00 01 ofwdump: ioctl(..., OFIOCNEXTPROP, ...) failed: Invalid argument Don't think that's right... Mat