From owner-freebsd-arm@FreeBSD.ORG Tue Oct 14 15:51:53 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55554892 for ; Tue, 14 Oct 2014 15:51:53 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (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 DC293EA6 for ; Tue, 14 Oct 2014 15:51:52 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id l18so11326312wgh.5 for ; Tue, 14 Oct 2014 08:51:50 -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=rbFirFb0qrn/yg0QhzMLy/21bhlHaYR1s45O+UXbSY0=; b=K/3M4lGd4vKKGtZWzol7K7UTGtB9D1tlAv6iAZhTnpwJJRgvln28tHwed/EcoeItJ3 xO2AQhbQ1M6Swndqgec7BDLxNYUbrBx5aAnnWLM4J6rrj2om3zXaIDEWP+i927BEPEWV NzX0X62Wi8rENZUr9DSAshWfqImLZ9RyKEN2P2BFBjLELW1riijAfDhHssexTHJHl5xo F2jxbLaEyLk//dvQVYhGXqzfAmAJY0uMhsdFQTOZLjpOfePBcNy84o2x0KC+OkDBfgmt PynBk6mYZhx36LH1k7CgPzajz6nuLLw3a1lnl/X92GTDfdwOqXmy+EGQfxEDkKPTClyH d5Gw== MIME-Version: 1.0 X-Received: by 10.180.76.68 with SMTP id i4mr6336065wiw.56.1413301910682; Tue, 14 Oct 2014 08:51:50 -0700 (PDT) Received: by 10.216.127.72 with HTTP; Tue, 14 Oct 2014 08:51:50 -0700 (PDT) In-Reply-To: <20141014041305.GM38905@cicely7.cicely.de> References: <20140825165622.6771b548@X220.alogt.com> <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> <20140826074951.4cf5a8fc@X220.alogt.com> <53FD1646.2010103@ceetonetechnology.com> <20140827021349.1273f703c6756d07fad72a16@schwarzes.net> <20141014032743.GK38905@cicely7.cicely.de> <20141014041305.GM38905@cicely7.cicely.de> Date: Tue, 14 Oct 2014 12:51:50 -0300 Message-ID: Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices From: Luiz Otavio O Souza To: ticso@cicely.de Content-Type: multipart/mixed; boundary=f46d043c814a58e5e0050563feb1 Cc: Andreas Schwarz , George Rosamond , "freebsd-arm@freebsd.org" , Tim Kientzle 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: Tue, 14 Oct 2014 15:51:53 -0000 --f46d043c814a58e5e0050563feb1 Content-Type: text/plain; charset=UTF-8 On 14 October 2014 01:13, Bernd Walter wrote: > On Tue, Oct 14, 2014 at 05:27:43AM +0200, Bernd Walter wrote: >> On Wed, Aug 27, 2014 at 02:14:00AM +0200, Andreas Schwarz wrote: >> > On Tue, 26 Aug 2014 19:20:38 -0400 >> > George Rosamond wrote: >> > > Erich Dollansky wrote: >> > > > On Mon, 25 Aug 2014 16:35:36 +0200 (CEST) >> > > > Andreas Schwarz wrote: >> > > > >> > > >> I've got also two B+ Models two weeks ago and I'm able to use the >> > > >> image (r269955) from my B Models without any problems. The only >> > > >> thing, what I had to do, was to upgrade the bootloader to a recent >> > > >> version. >> > > >> >> > > >> Have a look at : >> > > >> >> > > >> https://github.com/raspberrypi/firmware/tree/master/boot >> > > >> >> > > > I used now the image from >> > > > >> > > > http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20140725/raspberry-pi/ >> > > > >> > > > and the machine boots. I do not know more at the moment. >> > > >> > > I assume the entire RPi firmware from Github directory gets dumped into >> > > /boot/msdos? >> > >> > Yes, but we don't need the kernel.img, at this point we are loading the >> > uboot.img (keep uboot.img and ubldr from your existing boot partition). >> >> In my case the update was even required to work with the SD card. >> I got timeout errors after size line. >> The same card worked fine in a 512MB B. >> >> After updating the bootcode to those from: >> https://github.com/raspberrypi/firmware/tree/master/boot >> Just bootcoed.bin wasn't enough, I also had to get fixup* and startup*. >> The card and USB worked fine after updating all the files. >> I also tested the updated bootcode on a normal 512MB B and it also booted. >> Would be nice to have crochet updated for the newer bootcode. >> If required I can also test boot on a 256MB B. > > Ok - that card problem seems random or contact related. > Whatever, it is 6 am - time to sleep ;-) I've found a missing silicon bug workaround on our driver. It's pretty recent and i'm still building new images to test with more cards, but it did fix all the instability i was seeing on the identification of one of my cards. Together with the new firmware (yes, there is another SD fix there) my RPi B rev 2 (with this same card) has gone from unusable to rock stable (i've done 80 cold boots without any damage/corruption to the card). Please, give it a try and let me know if it helps. Luiz --f46d043c814a58e5e0050563feb1 Content-Type: text/plain; charset=US-ASCII; name="bcm2835_sdhci.diff" Content-Disposition: attachment; filename="bcm2835_sdhci.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i19f0i530 SW5kZXg6IHN5cy9hcm0vYnJvYWRjb20vYmNtMjgzNS9iY20yODM1X3NkaGNpLmMKPT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PQotLS0gc3lzL2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfc2RoY2kuYwkocmV2aXNpb24g MjcyOTI4KQorKysgc3lzL2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfc2RoY2kuYwkod29y a2luZyBjb3B5KQpAQCAtMzEyLDIxICszMTIsMTAgQEAKIHN0YXRpYyBpbmxpbmUgdm9pZAogV1I0 KHN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