From owner-freebsd-arm@FreeBSD.ORG Sun Jan 18 08:03:18 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BDDD8ED for ; Sun, 18 Jan 2015 08:03:18 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCD29A72 for ; Sun, 18 Jan 2015 08:03:17 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 4AD8F6811E for ; Sun, 18 Jan 2015 17:03:15 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 242A168118 for ; Sun, 18 Jan 2015 17:03:15 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: Subject: HS mode in RPi Date: Sun, 18 Jan 2015 17:03:12 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 08:03:18 -0000 Hi, r277307 add bcm2835_sdhci_hs=1, but this is wrong. It does not cover HS problem. The quirk and HS switching is not same. It's only one of problems on some SD card. I'm using bcm2835_sdhci_hispd_bit but this may not useful. HS mode on emmc=100MHz and core=250MHz cause SD card corruption. To avoid clock domain crossing, you need emmc=250MHz and bcm2835_sdhci_hs=1. But emmc=250MHz means running as 41MHz on HS mode(250MHz / 2N divider). However, it seems Linux use emmc=250MHz by default. I suggest use emmc=250MHz or keep bcm2835_sdhci_hs=0 by default at this time. Regards, -- Daisuke Aoyama