From owner-freebsd-hackers@freebsd.org Sun Jan 3 10:00:56 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9901DA605BE; Sun, 3 Jan 2016 10:00:56 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 953571E2E; Sun, 3 Jan 2016 10:00:55 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x22a.google.com with SMTP id 78so188206888pfw.2; Sun, 03 Jan 2016 02:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5s8UiRE627CkJHK8lj0z9ZF0Qz9fbGVlbxWKDs2/wlY=; b=KOFNG/u81c6Bm10K9DSNikUTLkFFLdzPRabS81Cw5OSD/Q+Y0pkdAGmB1YTXjpeCek MU18+I2q3iVadgx2eVb7d/h6hIe6icc0wXoOusEFNsQOYb8eXIHoYXFrTtEY+B+fxhso NRLfehH0eamCedlypfuGp33dIgRGhAwzgQCdWbIgMY3qfviMKD34ucTpw56QI8cnWsCa ILoiUDBvxgoMS4seuMFHQuUt+tao5cF7oVcdcgmEHV5EXCq5EcLGqDv9h8STl2xXxJ6c CpnzVBVOs+itsjyuDe2KX7f9Oh8GeTBhOHMRRkvXv9mvFTAv/wpl+M7dOk947pAMqw+V nwnQ== X-Received: by 10.98.9.2 with SMTP id e2mr118170135pfd.89.1451815255039; Sun, 03 Jan 2016 02:00:55 -0800 (PST) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id t76sm82259533pfi.26.2016.01.03.02.00.53 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jan 2016 02:00:53 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: MMC/SDIO stack under CAM From: NGie Cooper In-Reply-To: <5688F015.4090002@bakulin.de> Date: Sun, 3 Jan 2016 02:00:52 -0800 Cc: "freebsd-hackers@freebsd.org" , Adrian Chadd , Alexander Motin , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20140216111153.GA74858@olymp.kibab.com> <5C2CF572-360D-4CA0-81C7-18A5C455AED5@bsdimp.com> <20140224142642.GA32538@olymp.kibab.com> <53120EE8.1080600@bakulin.de> <5688F015.4090002@bakulin.de> To: Ilya Bakulin X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2016 10:00:56 -0000 > On Jan 3, 2016, at 01:55, Ilya Bakulin wrote: >=20 > So, more than one year has passed, and I'd like to resurrect this work > and move forward. >=20 > I have uploaded a new diff and created a completely new revision to > track the development: https://reviews.freebsd.org/D4761 >=20 > What it is able to do now: >=20 > * Read/write on SD/SDHC/MMC cards! > * Detect SDIO cards and create devices that correspond to SDIO = functions >=20 > This all works only on BeagleBone currently, because some changes need > to be done in each SDHCI-compliant driver to make it interact with = CAM. > I have purchased a Wandboard Quad that has an integrated SDIO WiFi = chip, > so I hope to tweak its SDHCI driver as well. >=20 > I haven't profiled the stack because: > * Now we have only SD/MMC cards that are slow anyway; > * I don't know how to do it in FreeBSD :-) As for =93I don=92t know how=85=94, please take a look at the wiki pages = on dtrace: https://wiki.freebsd.org/DTrace . ktr might be helpful as = well... Cheers! -NGie=