[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-arm
Subject:    Re: 12-RELEASE Translation Fault (L1) on some H3 Orange Pi
From:       Bernd Walter <ticso () cicely7 ! cicely ! de>
Date:       2019-01-27 1:57:53
Message-ID: 20190127015753.GM74542 () cicely7 ! cicely ! de
[Download RAW message or body]

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 <ticso at cicely7.cicely.de> 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
> > ---<<BOOT>>---
> > 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: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 25 on simplebus0
> > pcm0: <Allwinner Audio Codec> 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 <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
_______________________________________________
freebsd-arm@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic