From owner-freebsd-arm@freebsd.org Sun Aug 7 20:27:12 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 46D43BB10C2 for ; Sun, 7 Aug 2016 20:27:12 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 02A5B18F8 for ; Sun, 7 Aug 2016 20:27:11 +0000 (UTC) (envelope-from tim@kientzle.com) Received: by mail-qk0-x229.google.com with SMTP id v123so173441944qkh.3 for ; Sun, 07 Aug 2016 13:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kientzle-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gJEQM81s3Km9jHmZ5DqqcsoLO6SCFjwxehNRb/MtwmM=; b=WSRchBg+i3Oj1U10m7xfEc7LQE0zdzEwf9EsEmtQWj17I1f3mQ3izoPJO9I3j4PRew BKQy/kSdS1Dt+MD/uHmufUEN1SmQsDXlUFf9wDXS8LafVsJnVojkuN0LDtiYdP8Tm8r2 rPjp+xE0cKUOlpiKrSHjDTciGCGf4BvvlTXldKCH28C8eVhk03pAgyTC4QlLwR3K9Nuu wkd4f6U4tdMswsrkRJfetvEPypGAgicJfEWVWnn4vcve49zL0gDq9NP9/wkBikdl1UUU ehwVoSy2dz71ncY2Mxd2c8fY7hJjKKS9f8sqev5vxyiwqHinhItCayw6BCZv67KSJFXY NYEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gJEQM81s3Km9jHmZ5DqqcsoLO6SCFjwxehNRb/MtwmM=; b=djPpl+uwqmfN+m6yeTTZkZ6omMCbbx8ahsOYHqQ1x0je7hDPsqLJ05RX83S1/ptH5P PTmhefmpuTnbECdM2gz3XNBZdtBzB09ryCRy1HGuDI6vY5hnPXzd4z7YdtSezVPhMqju bwjOe5RJnWzBdg1vO+/bDvsd3rsxn5PgzshfX+hZbX34yJlFG2F5UprQU9ZgkT/TYUQV s0hlk/UB9WGTOAOQPKyVvdq5aCA12RLP/V2d19IEr3TjKf29iHOkjq0WfltDs34cCNSP 5P2XSXZbRjQCiXr47FRIftwE0GhHqbYNcHtvOKi9m3b+EgL6jIyGTVI0eL7FATSavaoD unRw== X-Gm-Message-State: AEkoouuFr09kNDym5UjbyjIyL7fFyrZD5W+02bEm7px4U9K5Jx2ThrI/Tmstadw39xC88w== X-Received: by 10.55.176.130 with SMTP id z124mr4002001qke.125.1470601630740; Sun, 07 Aug 2016 13:27:10 -0700 (PDT) Received: from [192.168.2.208] (208-180-16-144.nbrncmtk01.com.sta.suddenlink.net. [208.180.16.144]) by smtp.gmail.com with ESMTPSA id p188sm15667528qkf.6.2016.08.07.13.27.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Aug 2016 13:27:10 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Raspberry Pi B stuck during boot? From: Tim Kientzle In-Reply-To: <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> Date: Sun, 7 Aug 2016 16:27:10 -0400 Cc: ticso@cicely.de, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <1BDD6F6A-A420-4F65-AD93-B45069906621@kientzle.com> References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> To: =?windows-1252?Q?Ren=E9_Ladan?= X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 20:27:12 -0000 > On Aug 7, 2016, at 3:04 PM, Ren=E9 Ladan wrote: >=20 > On 07-08-16 13:57, Bernd Walter wrote: >> On Sun, Aug 07, 2016 at 12:09:08PM +0200, Ren=E9 Ladan wrote: >>> On 06-08-16 16:23, Bernd Walter wrote: >>>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, Ren=E9 Ladan wrote: >>>>> Hi, >>>>>=20 >>>>> With recent versions of 11 (alpha3 and beta3) my raspberry b gets = stuck >>>>> near the end of the boot. I checked the SD card and updated it to = 11-beta3 >>>>> using these commands (if I remember correctly, but nothing = unusual): >>>>>=20 >>>>> % make buildworld TARGET=3Darm TARGET_ARCH=3Darmv6 >>>>> % make buildkernel KERNCONF=3DRPI-B TARGET=3Darm TARGET_ARCH=3Darmv6= >>>>> # make installworld TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>> # make installkernel TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt= >>>>> KERNCONF=3DRPI-B >>>>> # make delete-old TARGET=3Darm TARGET_ARCH=3Darmv6 DESTDIR=3D/mnt >>>>> # make delete-old-libs TARGET=3Darm TARGET_ARCH=3Darmv6 = DESTDIR=3D/mnt >>>>> # mergemaster -A armv6 -D /mnt -p >>>>> # mergemaster -A armv6 -D /mnt -U -i >>>>>=20 >>>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone = picture of >>>>> the TV screen where it gets stuck. >>>>>=20 >>>>> Any ideas if what could be wrong? >>>> It might be hanging in single user mode prompt on serial console. >>>>=20 >>> So if I would disable serial console in /etc/ttys it should be fine? >> No - that is just for the login prompt after the OS has been booted = into >> multiuser mode. >> Unfortunately I have no idea where the loader on an RPi gets that >> information from, since so far I've always used serial consoles. >> The kernel itself can do double output, but the rc-scripts, including >> the single user mode prompt, are limited to one. >> It would be easiest if you have the option to wire up the serial = console. > Yeah, I'll see if I can construct something using the GPIO pins. >=20 > I also tried adding autoboot_delay=3D-1 to /boot/loader.conf and = pulling > my DCF77 receiver from the GPIO pins (ground, +3.3V, signal wire) but > that didn't help either. >=20 > So with USB power, HDMI cable to TV, and a USB keyboard it hangs Anyone doing =93interesting=94 work with RPi should have at least one of = these on hand: http://adafru.it/954 Tim