From owner-freebsd-mips@FreeBSD.ORG Wed Mar 19 07:36:46 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37E4FB96 for ; Wed, 19 Mar 2014 07:36:46 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EBC0FFF4 for ; Wed, 19 Mar 2014 07:36:45 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id i8so9186777qcq.17 for ; Wed, 19 Mar 2014 00:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DScocx3UuDoLzq0E2PhB5OhD34/3ESgjFPHaEtorJjY=; b=E5CMqmoVMlwUWvcJQD9AhUL0081H8DRmDHW5s+bjo9AQ1rO4m7m/l2bxH/Up66od+c arLJDS4Npn02PDVBwR71XW6M0nilzI8iYvprLN9C1pgfnU2OEdNFeTmDjsUhRQs45qPi wg9wnXjruHSnIJ2tlIUpiRtoLWHDgdIxY1KLxo2yKJ0La25fwUql1AybCXzAVwSlqvdL t8lcgWBnKVkkkQwfMTsI5WXzriEZpLJbi0XBaZC6xSfsq8VxznW2OOfqHn5uH+f/4/6L PihLJ0gSn9ewNXg7xP+Wi6vtDlZSn8HFilMaC584A79t/FO9xAu7rINQzRQUhLlcKmRn LZ+g== MIME-Version: 1.0 X-Received: by 10.140.42.138 with SMTP id c10mr39431228qga.24.1395214604883; Wed, 19 Mar 2014 00:36:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.8.137 with HTTP; Wed, 19 Mar 2014 00:36:44 -0700 (PDT) In-Reply-To: <6F4412E9-8725-41A7-A3F8-F7622342EFA6@bsdimp.com> References: <201403141335.55299.daan@vitsch.nl> <1394929222-3561428726.082db414ea@bliksem.vehosting.nl> <201403171648.02389.Daan@vitsch.nl> <6F4412E9-8725-41A7-A3F8-F7622342EFA6@bsdimp.com> Date: Wed, 19 Mar 2014 00:36:44 -0700 X-Google-Sender-Auth: cowOzoF75T712ISU4RZCtG6fvZw Message-ID: Subject: Re: More hardware up for donation: Routerboard RB912 From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: Daan Vreeken , "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 07:36:46 -0000 On 18 March 2014 07:02, Warner Losh wrote: > > On Mar 18, 2014, at 5:45 AM, Adrian Chadd wrote: > >> Which board/cpu? >> >> Can you post it? >> >> Check -embedded, I have something up enough to handle READID but the >> ar934x controller does hardware ECC/DMA. It seems less.. friendly to >> how the current nand controller API works. > > Usually by the time you can get READID, the rest just works... I'll have to give it a look... Yeah. I summarised the issues in another post on -embedded. I have to figure out how to shoehorn the whole
stuff into some state tracking in the driver so it can piecemeal a DMA transfer together with all the relevant bits. Blah. :) -a