Date: Sat, 26 Jan 2019 00:33:54 -0800 From: Mark Millard <marklmi@yahoo.com> To: ticso@cicely.de Cc: freebsd-arm@freebsd.org, Bernd Walter <ticso@cicely7.cicely.de> Subject: Re: 12-RELEASE Translation Fault (L1) on some H3 Orange Pi Message-ID: <54D54476-7A53-4458-A847-FDD245052313@yahoo.com> In-Reply-To: <20190126023533.GG74542@cicely7.cicely.de> References: <20190126023533.GG74542@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-Jan-25, at 18:35, Bernd Walter <ticso at cicely7.cicely.de> = wrote: > On a Plus 2E: > [270]cicely7# dd if=3DFreeBSD-12.0-RELEASE-arm-armv7-GENERICSD.img = of=3D/dev/da0 bs=3D1m > 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=3Du-boot-sunxi-with-spl.bin of=3D/dev/da0 bs=3D1k = seek=3D8 conv=3Dsync > 401+1 records in > 402+0 records out > 411648 bytes transferred in 4.064207 secs (101286 bytes/sec) >=20 > ... > Loading kernel... > /boot/kernel/kernel text=3D0x8649ac data=3D0xb0da0+0x1f58a0 = syms=3D[0x4+0xa1060+0x4+0x101505] > Loading configured modules... > /boot/kernel/umodem.ko text=3D0x1550 text=3D0xf30 data=3D0x1080+0xf84 = syms=3D[0x4+0xe90+0x4+0xa7e] > loading required module 'ucom' > /boot/kernel/ucom.ko text=3D0x174c text=3D0x2a30 data=3D0x1080+0x17b8 = syms=3D[0x4+0x13e0+0x4+0xbac] > can't find '/boot/entropy' >=20 > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... =20 > 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=3D00000005, FAR=3D00000004, spsr=3D600000d3 > r0 =3Dc4ee3a00, r1 =3D00000000, r2 =3D00000080, r3 =3D00000000 > r4 =3Dc4ee3a00, r5 =3Dc6e7b680, r6 =3D00000080, r7 =3D00000000 > r8 =3D00000007, r9 =3Dc4ee3a00, r10=3Dffffffff, r11=3Dc0d13c78 > r12=3D00000000, ssp=3Dc0d13c58, slr=3Dc062f92c, pc =3Dc062fa3c >=20 > panic: Fatal abort > cpuid =3D 0 > time =3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /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 =3D "okay"; + status =3D "disabled"; }; =20 &de { This avoided the software problem(s) associated but is a workaround/hack. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D54476-7A53-4458-A847-FDD245052313>