From owner-freebsd-arm@freebsd.org Thu Jan 4 07:14:54 2018 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 C93E0EA4B30 for ; Thu, 4 Jan 2018 07:14:54 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-134.reflexion.net [208.70.210.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F0BF7D48F for ; Thu, 4 Jan 2018 07:14:53 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23678 invoked from network); 4 Jan 2018 07:08:07 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 4 Jan 2018 07:08:07 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 04 Jan 2018 02:08:07 -0500 (EST) Received: (qmail 29647 invoked from network); 4 Jan 2018 07:08:07 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Jan 2018 07:08:07 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 873F7EC7B31; Wed, 3 Jan 2018 23:08:06 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: RPI2 boot hangs with red light on From: Mark Millard In-Reply-To: <20180104054236.GA15764@www.zefox.net> Date: Wed, 3 Jan 2018 23:08:06 -0800 Cc: Freebsd-arm Content-Transfer-Encoding: 7bit Message-Id: <802335D5-A961-4ABB-91D8-97B108106BEB@dsl-only.net> References: <20180102222730.GB10596@www.zefox.net> <3EE68320-8359-495D-AFCE-098A2220C6AE@dsl-only.net> <20180104023257.GA15177@www.zefox.net> <1515039689.1759.27.camel@freebsd.org> <20180104054236.GA15764@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 07:14:54 -0000 On 2018-Jan-3, at 9:42 PM, bob prohaska wrote: > On Wed, Jan 03, 2018 at 09:21:29PM -0700, Ian Lepore wrote: >> >> There are no architectural differences between ubldr built for armv6 vs >> armv7, and either version could load either flavor of kernel. ?There >> have been some bugfixes applied to ubldr in the past few months. >> >> -- Ian > > It seems the problems lie elsewhere. I've updated the contents of > /boot/msdos to > -rwxr-xr-x 1 root wheel 1494 Jan 3 20:45 LICENCE.broadcom > -rwxr-xr-x 1 root wheel 50248 Jan 3 20:45 bootcode.bin > -rwxr-xr-x 1 root wheel 75 Jan 3 20:45 config.txt > -rwxr-xr-x 1 root wheel 6551 Jan 3 20:45 fixup.dat > -rwxr-xr-x 1 root wheel 2578 Jan 3 20:45 fixup_cd.dat > -rwxr-xr-x 1 root wheel 9694 Jan 3 20:45 fixup_db.dat > -rwxr-xr-x 1 root wheel 9694 Jan 3 20:45 fixup_x.dat > -rwxr-xr-x 1 root wheel 13419 Jun 26 2017 rpi2.dtb > -rwxr-xr-x 1 root wheel 2820196 Jan 3 20:45 start.elf > -rwxr-xr-x 1 root wheel 667460 Jan 3 20:45 start_cd.elf > -rwxr-xr-x 1 root wheel 4956676 Jan 3 20:45 start_db.elf > -rwxr-xr-x 1 root wheel 3904228 Jan 3 20:45 start_x.elf > -rwxr-xr-x 1 root wheel 380264 Jan 3 20:33 u-boot.bin > -rwxr-xr-x 1 root wheel 892172 Jan 3 20:48 ubldr > -rwxr-xr-x 1 root wheel 232112 Jan 3 20:48 ubldr.bin > (yes, rpi2.dtb is stale, but it seems not to matter) . . . I do not have ubldr, just ubldr.bin. Other than that, the sizes of the files listed above all match the sizes on the msdosfs partition that I use for the rpi2. (My dates are all Dec 22 but the rpi2's time may not have had a good combination of accuracy and precision.) "unable to get device descriptor (error=-22)" is from u-boot/blob/master/common/usb.c and its usb_new_device routine from what I can tell. It's cause and consequences might have contributed to the "Timeout poll on interrupt endpoint" messages from u-boot. May be eliminating all the usb devices that you can might sidestep some issue? (Also avoid from -r326347 through -r327484 for head: before or after as far as the kernel goes.) === Mark Millard markmi at dsl-only.net