From owner-freebsd-arm@freebsd.org Mon Jan 4 20:36:15 2016 Return-Path: Delivered-To: freebsd-arm@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 C732EA62D45 for ; Mon, 4 Jan 2016 20:36:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (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 82A8A199D for ; Mon, 4 Jan 2016 20:36:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x235.google.com with SMTP id e32so172931862qgf.3 for ; Mon, 04 Jan 2016 12:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=87soEDsPr9rzwJ0yH1Bu9aoBtHHm0QTxasOIz1e2Rds=; b=KNPnoYHH+dRp4oTzITR3JjIdbEtOUEUQk8MgqXtKOpwOA5mYquLYi0KtQdamTul5w8 X3ulsrpVVsJBXvNBqTF1DGijX6xdJxOA4ANa3QrQrtjtBTC0X8F5eFgbmd7p9Lzn4sFL 3X0GdPdORoWgOaqzq+AHomP6Cs/jAFjLyYx5f+Nw233YWLA0biJsHp+VjY+uerG/XD4C Yoxdq/4wN8gNiO9okJXVZzGP+K6ULMGGTE/dmomMrt5yr59oMeuromxolbbUcQq0neHn gjHQKBtWoEBTyXyAgeO+qrxGK1zEZIu6Q6yxXtui07OeW6UUgD0PVAh4CBpbT9jAUoX3 NKHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=87soEDsPr9rzwJ0yH1Bu9aoBtHHm0QTxasOIz1e2Rds=; b=EY3ZYzloPjFx6x/qdAtBYw6G8wBfnR5iZW2wEbBYla9aTcj+pPgFOdbrp0rFTaDPHO dDUU2yiN+as5VY8M1hciSiQnwOH/rDCZnpqAGMW6aRPjekse+UMDp58HDm6QhxcwWvZM qaA+wz9oq3v9TqPFli34jX6sY+0ajsz6DBpB5PAAFMFyMvoYeMrLRQ9YC++nFauPhBqK uKz9opJnBON+FTcBDUxOkzcnSKmThypt54PdFzy8vdUA29pDs5YHctEPN8hUCH+s5OY8 wL7XywamJjHYKSTlJfMe/6u9QNze6zJM/LODHra6Q3qRmzMQ/FTaVOA6cvFxYvChlwuz +pAg== X-Gm-Message-State: ALoCoQnKCoc0Z9H0fG9+9rtOB5thvDmIe/ciIPHlADKyISyOT9uzg5wGdzgYtsQNOl2yMXLjw8gA7KD8CQ0owWALHI0L0Iow6g== MIME-Version: 1.0 X-Received: by 10.140.99.53 with SMTP id p50mr42396990qge.97.1451939774588; Mon, 04 Jan 2016 12:36:14 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Mon, 4 Jan 2016 12:36:14 -0800 (PST) X-Originating-IP: [2601:280:4900:3700:a51c:df79:65a:a353] In-Reply-To: <568AC167.7030006@fsck.ch> References: <56840940.20709@aon.at> <568AC167.7030006@fsck.ch> Date: Mon, 4 Jan 2016 13:36:14 -0700 X-Google-Sender-Auth: IOOF3mpEQfMwcC279Cf34ZMy_-E Message-ID: Subject: Re: Booting a RPI 1 B+ From: Warner Losh To: Toby Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 20:36:15 -0000 On Mon, Jan 4, 2016 at 12:00 PM, Toby wrote: > On 31/12/15 00:36, Tim Kientzle wrote: > > > You should consider getting a USB serial adapter cable such as: > > > > http://adafru.it/954 > > > > This will let you see the earliest boot messages and any errors that may > be appearing. > > > > As others have mentioned, it's worth trying different SDHC cards, since > the SD drivers do not seem to be compatible with all cards. > > I can only second the former. I managed to fill my disk with a typo in a > dd command on a running pi, after which I never got it to boot again > with just a blank screen on hdmi. With a USB serial adapter, I could > have fixed the problem right away. > Instead, I needed to write the sd card content to a file, copy the file > to a freebsd vm (my primary machine is a mac and can't mount UFS rw), > fsck it there, mount it, fix the damage, unmount and write the file back > to the sd card. > > As for the latter, Transcend cards have worked fine for me. > If anybody has an SD card that actually doesn't work, I'd be keen to borrow it so I can chase down the problem. The SD driver supports all SD cards, without qualification. If one doesn't work with the mmc/sd driver, but does with, say, a USB adapter, that's a bug. And I'd really like to chase that bug down. Warner