From owner-freebsd-arm@freebsd.org Sun Aug 7 19:04:36 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 38543BB11FD for ; Sun, 7 Aug 2016 19:04:36 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 B9D1D1694 for ; Sun, 7 Aug 2016 19:04:35 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id q128so87854907wma.1 for ; Sun, 07 Aug 2016 12:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=wRhqwbi8asN+/ie6hFD38q22leG64mhfOzS5igGc9TY=; b=MtmpbxeocCAUUl+ADUFus8B5jKfUBBt7buTedyzfa8wFTzya5ltpTFFkEirP3DPoAz 0+qbN4cfAZBFE82yg4wPuJaz9E8CUFb/OjS0c5yVfP58qDsRSGANyger6jy2nXAxBER5 kBWdHLbs6cghBnXaOu+9d45aWaIs0LuBuJ/my65Ej17XLNoukOzCUuFB0IBZwdW2DhkF PPydfspONLRO9sWMy42BB5lTpDekqigl+LrhHFR1V8KPalcos0XrXIRGySmyUJD7aCX6 S7/Jg4hDe1FU8D8rkU7CdkI23lJixXWsC4nv+6tKawnVwLamBh6mwGu/ZeQtc/PN9oY8 GnEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=wRhqwbi8asN+/ie6hFD38q22leG64mhfOzS5igGc9TY=; b=CtOinEeStMv7lFZ9Ky/u1hEwZX8fzaWjZahvRwFRk/2AKrorVBAENxHho2y37leSjK amVEZJ+NBEWrfQg1Zv7KC576X8qf6RHyGKR4Vyn2uo0LB6cM8dk4YjrmX2pYQKfoSfic dq2+UOJhaI/BM+MRVxkbi3YQ1hxAu7cclEhIjaVwlVz3CT68G9zGCRurFRF9Z4uyvf2C Xh7bcXrzJ3Q8eemPF+K+SBjYrKZ/2HfgdTxPmreNM8gN/K3Z03WOFFjVSKfvJcWqLFNj HTyIJN0up8/Fed7sJse9ctTK67a46S6d6A34wDpHFX3b2vFXyKA4NQ/lf3eDYkcv7nbp Jr5g== X-Gm-Message-State: AEkooutszaQXWrRgfKECzUhc9gc/QW7hBgtbtLeTbBQ9/eE7Rnlak2J7kj2bg/ufmyjyRg== X-Received: by 10.28.35.193 with SMTP id j184mr12008875wmj.33.1470596674038; Sun, 07 Aug 2016 12:04:34 -0700 (PDT) Received: from [192.168.178.37] (a82-161-212-209.adsl.xs4all.nl. [82.161.212.209]) by smtp.googlemail.com with ESMTPSA id ko7sm28927151wjc.48.2016.08.07.12.04.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Aug 2016 12:04:33 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Subject: Re: Raspberry Pi B stuck during boot? To: ticso@cicely.de References: <20160806142322.GB31491@cicely7.cicely.de> <20160807115751.GA34368@cicely7.cicely.de> Cc: freebsd-arm From: =?UTF-8?Q?Ren=c3=a9_Ladan?= Message-ID: <1242bfd2-420c-cc33-736c-8ec63e510046@freebsd.org> Date: Sun, 7 Aug 2016 21:04:32 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160807115751.GA34368@cicely7.cicely.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit 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 19:04:36 -0000 On 07-08-16 13:57, Bernd Walter wrote: > On Sun, Aug 07, 2016 at 12:09:08PM +0200, René Ladan wrote: >> On 06-08-16 16:23, Bernd Walter wrote: >>> On Sat, Aug 06, 2016 at 03:06:20PM +0200, René Ladan wrote: >>>> Hi, >>>> >>>> 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): >>>> >>>> % make buildworld TARGET=arm TARGET_ARCH=armv6 >>>> % make buildkernel KERNCONF=RPI-B TARGET=arm TARGET_ARCH=armv6 >>>> # make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # make installkernel TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> KERNCONF=RPI-B >>>> # make delete-old TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # make delete-old-libs TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt >>>> # mergemaster -A armv6 -D /mnt -p >>>> # mergemaster -A armv6 -D /mnt -U -i >>>> >>>> See https://rene-ladan.nl/IMG_20160804_193031.jpg for a phone picture of >>>> the TV screen where it gets stuck. >>>> >>>> Any ideas if what could be wrong? >>> It might be hanging in single user mode prompt on serial console. >>> >> 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. I also tried adding autoboot_delay=-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. So with USB power, HDMI cable to TV, and a USB keyboard it hangs. René