From owner-freebsd-arm@freebsd.org Wed Nov 27 03:24:50 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4C81F1C8C08 for ; Wed, 27 Nov 2019 03:24:50 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47N5js6DBKz4bC1 for ; Wed, 27 Nov 2019 03:24:49 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1574825088; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=LRQblUO+yw/SXt4s1c29PreWxDWI5QzAe9VDYjcNVN3pWF2bBf7JWUf142VSl9T4fsc8Vyjmj+iGD u6gDxIfPwsOFncYJdPgEylApyj54VOHGp3suV1lMcicCFdb8DfdhGG2Xnso7oN03tqHpMa1EuS/uBY u69/JtHxdAHkinlxtiIAZtGnmDpkii6aeKZn17A7X7RcIvv9LMGfqXt53mRuXdpdkT9wI1A713yNEM svMWj1If+nu+u0pXcd6WpJY8eq3twZllt5I10oMx0blcbrYVbZm4tpCxJdCxYCSf16muEYPD5QdjF4 wdKSuKsPLR0NFVAMpQnfoGo/wx1bBjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=nC4AcXB+7sRbG9d/B3BuJmS4y9LXqSvvdAvFRNVAq1c=; b=tqB20IZPJnwTIYPFca3aBDYND87LIsV7A+lURf+qiOoW5o4slXl8pXQZTO55UYmV2jOI7uPhHX8a3 NCJVtNeM0l0dD3t4vF3wBq8UPerjz+PIvEI4lAsDHOIiuXLy77koIru1J3q4PjILi2/dUwo1mCy7p1 v5G5c2Yvmbr4OPESADzXCLjziOMDuygLdFgrdkYiw1S4nmZNMhM3ioEOvf9IHVZHARgfITiHxtlnwf ze/9zewYy6eVgvPRE05Zgxr+uMMfVKuIYnbWSByGMOjosvD/jXmiqNVXCJ1GnuSaIIKqod78+xBUdT 3igLwL4uop/oUhEAbkcfI2dz1RDn87Q== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=nC4AcXB+7sRbG9d/B3BuJmS4y9LXqSvvdAvFRNVAq1c=; b=agIVKu/8dB1wdmFN+Y+1BPO2kKbhXLpGdcQj9vy2cbFI8XEicvYjPUCv3YoikGaSj0c2XT3UHm7jo FX3iDZEZzMVf7MWo3/H8QWdnTrNuotKJKqI4iSv4VJF2e+Yhlng8xTRgpXf/jrfdece4IPwXx9qyby qxYmAtgpBK/F3IVgJnH+QToEpR4F49FovNJdwFvxx5GJiKwZMW2Qs8ZF3tv9qylC8C3WkStXj121Z2 7ywxtw7G3ayHT0ivYNpAvKxh3B1EhjMf8F+8bMoE8gAseYC29eD1LmE6NlBzpOR8ewq83iEB1jPy78 y6Qiv1b0/tQRT6jBHGUqLMvpV58fxDw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 75542776-10c5-11ea-b80c-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 75542776-10c5-11ea-b80c-052b4a66b6b2; Wed, 27 Nov 2019 03:24:46 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xAR3Oii3075088; Tue, 26 Nov 2019 20:24:45 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <26c21aefb0fbc4f97046f8d966d3cec5d9311885.camel@freebsd.org> Subject: Re: cubox-i armv7 12.1-RELEASE image fails to boot From: Ian Lepore To: Tom Pusateri , freebsd-arm@freebsd.org Date: Tue, 26 Nov 2019 20:24:44 -0700 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47N5js6DBKz4bC1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.67 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.81)[-0.808,0]; NEURAL_HAM_LONG(-0.87)[-0.866,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2019 03:24:50 -0000 On Mon, 2019-11-25 at 21:37 -0500, Tom Pusateri via freebsd-arm wrote: > I tried booting the 12.1-RELEASE image on my cubox-i and it goes into > an endless loop before it boots the kernel but it scrolls so fast > it’s hard to make out or figure out how to stop it. > > The last line I can read before it hits the endless loop is: > > Loading /boot/loader.conf.local > / > > If I freeze frame a slow mo video of the endless loop it repeats: > > Code: b1116931 f0074806 4806fea4 fea1f007 (e7cf682d) > data abort > pc : [<8ffafd74>] lr : [<0ffafd2f>] > reloc pc : [<1782bd74>] lr : [<1782bd2f>] > sp : 8f57ae38 ip : 8f5a fp : 8ffc2f1c > r10 : 8ffbb240 r9 : 8f58 r8 : 8ffafd74 > r7 : 8ffd06c4 r6 : 8e55 r5 : ffffffff r4 : 8f8a6318 > r3 : 9ff01ce5 r2 : 9ff0 r1 : 8ffbb240 r0 : 0000005e > Flags : nzCv IRQs on FIQs on Mode SVC_32 > > > This unit is a couple of years old now but still works fine with > Linux. > > Thanks, > Tom > Hmmm, I just downloaded the image, burned it to a fresh sdcard, and my cubox boots from it fine. I'm using a serial console, not video, maybe that's related somehow. Yep, that's what it is... I dug out a monitor and hooked it up, and that gives me the same symptoms you're seeing. The problem is, I have no idea what to do about that. Those register dumps are printed by uboot's exception handlers, and this happens while the efi loader is loading the kernel. I don't know much about efi or about running arm systems with video monitors connected. -- Ian