From owner-freebsd-arm@freebsd.org Sun Jan 27 01:57:25 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0042E14B8DDD for ; Sun, 27 Jan 2019 01:57:24 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EE9AF81001 for ; Sun, 27 Jan 2019 01:57:23 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x0R1vKhI019232 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 27 Jan 2019 02:57:21 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1548554241; bh=Y5rY1EI+T1DGrapt7WbOCnO7C9+bOC508/K/sI8pRSA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=MjgkETvYx0QmCPu4md3prT5gn3IS/p5pQf/91+tbzZVfF4EiVtaDH+wJlqgWjG3/l ZKoo8Ue1jRjny9BUCeuCNAicjs++IoCajRpADTZyorIMYKdr6ml51uB8QjPKVmwikw rX3PdvZDXgf+00OtFVEqqzdgftsDJ7aWVFNcF7eM= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x0R1uc2o008402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Jan 2019 02:56:38 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x0R1vr7D086576; Sun, 27 Jan 2019 02:57:53 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x0R1vrQT086575; Sun, 27 Jan 2019 02:57:53 +0100 (CET) (envelope-from ticso) Date: Sun, 27 Jan 2019 02:57:53 +0100 From: Bernd Walter To: Mark Millard Cc: ticso@cicely.de, freebsd-arm@freebsd.org, Bernd Walter Subject: Re: 12-RELEASE Translation Fault (L1) on some H3 Orange Pi Message-ID: <20190127015753.GM74542@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20190126023533.GG74542@cicely7.cicely.de> <54D54476-7A53-4458-A847-FDD245052313@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54D54476-7A53-4458-A847-FDD245052313@yahoo.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: EE9AF81001 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=MjgkETvY X-Spamd-Result: default: False [-2.31 / 15.00]; HAS_REPLYTO(0.00)[ticso@cicely.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; NEURAL_HAM_SHORT(-0.56)[-0.565,0]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.948,0]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.99)[-0.985,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] 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: Sun, 27 Jan 2019 01:57:25 -0000 On Sat, Jan 26, 2019 at 12:33:54AM -0800, Mark Millard via freebsd-arm wrote: > On 2019-Jan-25, at 18:35, Bernd Walter wrote: > > > On a Plus 2E: > > [270]cicely7# dd if=FreeBSD-12.0-RELEASE-arm-armv7-GENERICSD.img of=/dev/da0 bs=1m > > 3072+0 records in > > 3072+0 records out > > 3221225472 bytes transferred in 41.028696 secs (78511524 bytes/sec) > > [84]cicely7# cd ../u-boot-orangepi-plus-2e/ > > [85]cicely7# dd if=u-boot-sunxi-with-spl.bin of=/dev/da0 bs=1k seek=8 conv=sync > > 401+1 records in > > 402+0 records out > > 411648 bytes transferred in 4.064207 secs (101286 bytes/sec) > > > > ... > > Loading kernel... > > /boot/kernel/kernel text=0x8649ac data=0xb0da0+0x1f58a0 syms=[0x4+0xa1060+0x4+0x101505] > > Loading configured modules... > > /boot/kernel/umodem.ko text=0x1550 text=0xf30 data=0x1080+0xf84 syms=[0x4+0xe90+0x4+0xa7e] > > loading required module 'ucom' > > /boot/kernel/ucom.ko text=0x174c text=0x2a30 data=0x1080+0x17b8 syms=[0x4+0x13e0+0x4+0xbac] > > can't find '/boot/entropy' > > > > Hit [Enter] to boot immediately, or any other key for command prompt. > > Booting [/boot/kernel/kernel]... > > Using DTB provided by EFI at 0x47ef5000. > > EHCI failed to shut down host controller. > > EHCI failed to shut down host controller. > > EHCI failed to shut down host controller. > > EHCI failed to shut down host controller. > > Kernel entry at 0xb1000180... > > Kernel args: (null) > > modulep: 0xc0cc8000 > > relocation_offset 0 > > ---<>--- > > Copyright (c) 1992-2018 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 12.0-RELEASE r341666 GENERIC arm > > FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) > > . . . > > aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 25 on simplebus0 > > pcm0: mem 0x1c22c00-0x1c22fff irq 29 on simplebus0 > > Fatal kernel mode data abort: 'Translation Fault (L1)' on read > > trapframe: 0xc0d13bc8 > > FSR=00000005, FAR=00000004, spsr=600000d3 > > r0 =c4ee3a00, r1 =00000000, r2 =00000080, r3 =00000000 > > r4 =c4ee3a00, r5 =c6e7b680, r6 =00000080, r7 =00000000 > > r8 =00000007, r9 =c4ee3a00, r10=ffffffff, r11=c0d13c78 > > r12=00000000, ssp=c0d13c58, slr=c062f92c, pc =c062fa3c > > > > panic: Fatal abort > > cpuid = 0 > > time = 1 > > Uptime: 1s > > > What I did to enable booting an Orange Pi Plus 2E for head > was to build based on: > > # svnlite diff /usr/src/sys/gnu/dts/arm/sun8i-h3-orangepi-pc.dts > Index: /usr/src/sys/gnu/dts/arm/sun8i-h3-orangepi-pc.dts > =================================================================== > --- /usr/src/sys/gnu/dts/arm/sun8i-h3-orangepi-pc.dts (revision 341836) > +++ /usr/src/sys/gnu/dts/arm/sun8i-h3-orangepi-pc.dts (working copy) > @@ -106,7 +106,7 @@ > "Line Out", "LINEOUT", > "MIC1", "Mic", > "Mic", "MBIAS"; > - status = "okay"; > + status = "disabled"; > }; > > &de { > > This avoided the software problem(s) associated but is a > workaround/hack. I'm using 12-RELEASE, but will give this a try. Indeed, the failing boards have microphones, while the other do not. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.