From owner-freebsd-arm@freebsd.org Sat Sep 17 16:00:33 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 E8F30BDEE6C for ; Sat, 17 Sep 2016 16:00:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (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 B956BA3B for ; Sat, 17 Sep 2016 16:00:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x230.google.com with SMTP id r192so37259016ita.0 for ; Sat, 17 Sep 2016 09:00:33 -0700 (PDT) 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:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=Ntumtalg3QBWADVjcKmvWiVF/ytjEC8dFdzZV5lz3RA=; b=2FTRQDntbC04oCBzm7cJHmMjn9XQcxpQ9SHwtXQSDhHvkoKtzn02ffltk2LhF2xYwF 26m2gI0q4HX8Um1Fn9WxTGUiCY8jCpuoe6A4hMiBx89N5LHwc5FasbMzNggtDctA+7gB Ek8FLPfabcHJXSkLu+cYfpFJDCq7xkL5+9diflRC0iLuX95QKiwJ1Qn2raKU9Z4gFz68 3kM3hb4Nvf2wLjgO6zkyo0iPb21X0NmXeJmqMUe7AC5IBT/VfrjLaL90rFcdlh0oF7uP xSEc+VvCgT4YHHzpuAEHmMC0ppG+R49Ut/NzYz/UnkKuxgvVa2JgbIdVgLNtP3P7wqa9 DAtg== 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:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=Ntumtalg3QBWADVjcKmvWiVF/ytjEC8dFdzZV5lz3RA=; b=L0Hya7bpMgOMJFkCDBcMF99/oFRSpP1V5WJoW6IHvSlOWaF65l3R29UCx/+OODBqOd BmyzgkRcMsWPeipqpfQOJfKx5vBivx4NuAR3UkTiRi4bPTo8jbrO+rY4XGCS3sC//EHT 8QafMaJhpI1i1+WZ8gzQH1QO9OV6x5UXIjJrAbjGaX7xvMeU5PThfbUh9WWBen/OQDda 7N2QR1ssgyOdFgpy1olmZXK3EBpD6n3rURBqLgUZtzKFWPrSGjb5KKYGjqYL/48G7bF8 bKLOPGBAT75yrzI2WPkMc8W66PtiP3UY0NWCepzsAeaYX1h/mYWABKr7QdWQ0KH5eWWj +2Bg== X-Gm-Message-State: AE9vXwPX7NrvtiBTAuFSBEtesGy0+SmI3GIqT7fG4He9TD04s1WQ183zugLZASv0aUfykWFy7qbuUTy6yD6mtA== X-Received: by 10.36.130.135 with SMTP id t129mr2848715itd.31.1474128033054; Sat, 17 Sep 2016 09:00:33 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.36.65.7 with HTTP; Sat, 17 Sep 2016 09:00:32 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: <20160917170735.2371ee67a3538a053c7c783a@bidouilliste.com> References: <20160917170735.2371ee67a3538a053c7c783a@bidouilliste.com> From: Warner Losh Date: Sat, 17 Sep 2016 10:00:32 -0600 X-Google-Sender-Auth: 0YW5uxgCF0k0BY74HjzGThhi4uc Message-ID: Subject: Re: FreeBSD 11.0-RC2 getting stuck on a Raspberry Pi 2 model B during boot To: Emmanuel Vadot Cc: =?UTF-8?Q?Mika=C3=ABl_Urankar?= , "freebsd-arm@freebsd.org" , Ed Schouten Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2016 16:00:34 -0000 On Sat, Sep 17, 2016 at 9:07 AM, Emmanuel Vadot wro= te: > On Fri, 16 Sep 2016 21:05:28 +0200 > Mika=C3=ABl Urankar wrote: > >> 2016-09-16 20:34 GMT+02:00 Ed Schouten : >> > Hi all, >> > >> > Because I had mixed experiences using Qemu (some versions work, some >> > don't, etc.) I decided to buy a Raspberry Pi 2 model B and a Raspberry >> > Pi 3 to do my ARM hacking. >> > >> > First step: trying to get the Raspberry Pi 2 model B to boot. What I'v= e done: >> > >> > 1. Downloaded the .img from freebsd.org >> > 2. On Mac OS X, copied the 1 GB image to a 16 GB SD card: >> > >> > sudo dd if=3DFreeBSD-11.0-RC2-arm-armv6-RPI2.img of=3D/dev/rdisk2 bs= =3D1024k >> > >> > 3. Put the SD card in the Raspberry Pi 2 and boot it. >> > >> > The result: it gets stuck during boot. I also just discovered that I >> > don't have a spare USB keyboard, so I can't 'boot -v' yet. >> > >> > Anyway, I've taken a photo I of the television. Is this a known >> > issue that has a trivial workaround? If not, then I guess I'll have to >> > start debugging... >> > >> > http://80386.nl/pub/rpi2-stuck.jpg >> >> The first boot is always long because of growfs, how long did you wait? >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > This is true, especially with slow or large sd card, it can take a very > long time. > I suggest to buy an USB<->UART adapter because if you don't need it > now you will later. > Also if you have access to your dhcpd logs, watch for ip attribution. > All ARM images are configured to do dhcp and you can ssh with user/pass > freebsd/freebsd. Sometimes I think we should have a hook in the boot scripts to blink the LEDs in different ways for different parts of the boot... Warner