From owner-freebsd-arm@FreeBSD.ORG Thu Oct 23 02:07:22 2014 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 302D7378 for ; Thu, 23 Oct 2014 02:07:22 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFD0A3BA for ; Thu, 23 Oct 2014 02:07:21 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id r20so2669806wiv.2 for ; Wed, 22 Oct 2014 19:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oKh+jdPKwPkVOrNq2hZf0EkN6naKP01v3weto2tn3cM=; b=b6izQfiJOQf41eloWXGpVhmvTEabf+pzVXumhIVbDprPE3PKr8uN/opwIYG4M0sZhJ kBbyy9CtIEYaIzLmOVN2+2fUnNOXa3YZI+XWzZGZ0vfDLx0+95uhPrfsqFeseXO7sjIB cFLyOLrew2OIx+fHbsJdlo7cANnnalN76eh83hHpbOlCKuNVpVJVt9qx7gpMeKmJVPCC Hm5LmJ5RIZ4nvmZJShqiX89xM0qg+ptnJIEV5fAEjFHzc+dYaYzSCDYrwDfvXrRB9OHc Sj067oAncP5YJ6O+NbrMcIEk3uAVpx8YVZAKYWcNgLGSy8aHdu1PKv3ua1w7hEViNDt+ fmzA== MIME-Version: 1.0 X-Received: by 10.194.172.234 with SMTP id bf10mr1739489wjc.81.1414030039961; Wed, 22 Oct 2014 19:07:19 -0700 (PDT) Received: by 10.216.127.72 with HTTP; Wed, 22 Oct 2014 19:07:19 -0700 (PDT) In-Reply-To: <20141022150611.u2qitjmr1340k08w@webmail.FoxValley.net> References: <20141021172758.2ael7skaydlwwcco@webmail.FoxValley.net> <20141022150611.u2qitjmr1340k08w@webmail.FoxValley.net> Date: Thu, 23 Oct 2014 00:07:19 -0200 Message-ID: Subject: Re: new support for Raspberry Pi B+ From: Luiz Otavio O Souza To: draymond@foxvalley.net Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" 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: Thu, 23 Oct 2014 02:07:22 -0000 On 22 October 2014 18:06, wrote: >>> There was a recent update to the Raspberry Pi wiki here: >>> >>> https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi >>> >>> ... >> >> >> That was the date when the fix was committed, it only means it will be >> included on the images created after that date. >> >> But yes, this is an oversight because i don't know how frequently the >> images are updated. >> >> Sorry but we have to wait. > > > > Luiz, I was able to test your changes by overwriting the boot files on an > existing image (FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20140918-r271779.img). > Your commit notes mention that you made some fixes regarding SD card > compatibility. However, I am still having problems with my SD cards. That is just part of the fix, you also need r273264 which isn't included on the image you're using. Right now the only way to test the fix is building your own image. > > I have a 16GB Transcend that gives me intermittent boot failures ("Mounting > from ufs:/dev/mmcsd0s2a failed with error 19"). I am able to suppress those > failures as follows: > > echo 'hw.bcm2835.sdhci.hs="0"' >> /boot/loader.conf > > I also have a 32GB SanDisk that fails consistently during boot: > > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():mmcsd0s2a[READ(offset=852987904, length=4096)]error = 5 > vnode_pager_getpages: I/O read error > vm_fault: pager read error, pid 1 (init) > > I have not found a way to resolve this one. Well, i don't think this patch is going to fix everything but it should help with some cards. So you'll need to redo the tests when the new image is available and then let us know :) Luiz