Date: Thu, 18 Apr 2019 12:47:44 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: booting head on orange-zero panics Message-ID: <F4A346DF-99DB-4628-B84D-F0FA4AC842B3@cs.huji.ac.il>
next in thread | raw e-mail | index | archive | help
Hi, the hardware is an OrangePi-zero, and my guess is that I have issues with the dtb, but any hinst will be most = welcome :-) U-Boot SPL 2019.01 (Apr 18 2019 - 12:24:08 +0300) DRAM: 256 MiB Trying to boot from MMC1 U-Boot 2019.01 (Apr 18 2019 - 12:24:08 +0300) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 256 MiB MMC: SUNXI SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default = environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 2 =08=08=08 1 =08=08=08 0=20 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 199 bytes read in 1 ms (194.3 KiB/s) ## Executing script at 43100000 375752 bytes read in 21 ms (17.1 MiB/s) ## Starting application at 0x42000000 ... Consoles: U-Boot console =20 Compatible U-Boot API signature found @0x4bf595c8 FreeBSD/armv7 U-Boot loader, Revision 1.2 DRAM: 256MB Number of U-Boot devices: 1 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk Probing all <unknown> devices... Checking unit=3D0 slice=3D<auto> partition=3D<auto>... good. Booting from disk0s2a: = |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08Loading = /boot/defaults/loader.conf Loading /boot/device.hints \=08|=08/=08-=08\=08Loading /boot/loader.conf |=08/=08-=08\=08Loading /boot/loader.conf.local |=08/=08-=08\=08|=08/=08-=08[0;37;40mLoading kernel... = \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/boot/kernel/kernel = text=3D0x8575c4 = /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08data=3D0xb5d88+0x25dc78 = /=08-=08\=08|=08/=08-=08syms=3D[0x4+0xa8ff0\=08|=08/=08-=08\=08|=08+0x4+0x= 10cda6/=08-=08\=08|=08/=08-=08\=08|=08] Loading configured modules... /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08/boot/entropy size=3D0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 9 seconds... Booting = [/boot/kernel/kernel] in 8 seconds... Booting [/boot/kernel/kernel] in 7 = seconds... Booting [/boot/kernel/kernel]... =20 = \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08/boot/dtb/sun8i-h2-plus-orangepi-zero.dtb size=3D0x6779 Loaded DTB from file 'sun8i-h2-plus-orangepi-zero.dtb'. \=08|=08/=08-=08\=08|=08Kernel entry at 0x42400180... Kernel args: (null) ---<<BOOT>>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2019 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 13.0-CURRENT #1 r346147M: Thu Apr 18 09:24:18 IDT 2019 = danny@pe-44:/home/obj/pe-44/arm/orangepi/r+d/vanilla/13/arm.armv7/r+d/vani= lla/13/sys/AWG arm FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on = LLVM 8.0.0) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module_register: cannot register ofwbus/pcib from kernel; already loaded = from kernel Module ofwbus/pcib failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already = loaded from kernel Module simplebus/pcib failed to register: 17 No PSCI/SMCCC call function found CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000) CPU Features:=20 Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, = VMSAv7, PXN, LPAE, Coherent Walk Optional instructions:=20 SDIV/UDIV, UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:2=20 Cache level 1: 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 2-way instruction cache Read-Alloc Cache level 2: 512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc real memory =3D 268435456 (256 MB) avail memory =3D 244256768 (232 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> aw_ccu0: <Allwinner Clock Control Unit> on ofwbus0 clk_fixed0: <Fixed clock> on aw_ccu0 clk_fixed1: <Fixed clock> on aw_ccu0 simplebus0: <Flattened device tree simple bus> on ofwbus0 ccu_h3ng0: <Allwinner H3/H5 Clock Control Unit NG> mem = 0x1c20000-0x1c203ff on simplebus0 ccu_h3ng0: Clock apb2 have unknown parent: osc32k ccu_h3ng0: Clock ahb1 have unknown parent: osc32k ccu_h3ng0: Clock ahb1 have unknown parent(idx 0): osc32k ccu_h3ng0: Clock cpux have unknown parent: osc32k panic: cannot finalize clkdom initialization cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self() at db_trace_self pc =3D 0xc05b9e84 lr =3D 0xc0079514 = (db_trace_self_wrapper+0x30) sp =3D 0xc0e13aa0 fp =3D 0xc0e13bb8 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc =3D 0xc0079514 lr =3D 0xc02a2a88 (vpanic+0x168) sp =3D 0xc0e13bc0 fp =3D 0xc0e13bd8 r4 =3D 0x00000100 r5 =3D 0xc0b0a440 r6 =3D 0xc06b10bb r7 =3D 0x00000000 vpanic() at vpanic+0x168 pc =3D 0xc02a2a88 lr =3D 0xc02a286c (doadump) sp =3D 0xc0e13be0 fp =3D 0xc0e13be4 r4 =3D 0xc1c6d100 r5 =3D 0xc1a59e40 r6 =3D 0x00000000 r7 =3D 0xc0e13c18 r8 =3D 0xc0e13c08 r9 =3D 0x00000001 doadump() at doadump pc =3D 0xc02a286c lr =3D 0xc0602e20 (aw_ccung_write_4) sp =3D 0xc0e13bec fp =3D 0xc0e13c50 r4 =3D 0xc02a286c r5 =3D 0xc0e13bec aw_ccung_write_4() at aw_ccung_write_4 pc =3D 0xc0602e20 lr =3D 0xc02dca90 (device_attach+0x4e0) sp =3D 0xc0e13c58 fp =3D 0xc0e13ca0 r4 =3D 0x00000000 r5 =3D 0xc0b06c8c r6 =3D 0xc02e11c8 r10 =3D 0xc1c6d150 device_attach() at device_attach+0x4e0 pc =3D 0xc02dca90 lr =3D 0xc02dc514 = (device_probe_and_attach+0x8c) sp =3D 0xc0e13ca8 fp =3D 0xc0e13cc0 r4 =3D 0xc1c6d100 r5 =3D 0xc1a6ff00 r6 =3D 0x3e0d8f29 r7 =3D 0x00000000 r8 =3D 0xc0b06c8c r9 =3D 0xc02e11c8 r10 =3D 0xc1c6e3d0 device_probe_and_attach() at device_probe_and_attach+0x8c pc =3D 0xc02dc514 lr =3D 0xc02ddea0 (bus_generic_attach+0x1c) sp =3D 0xc0e13cc8 fp =3D 0xc0e13cd0 r4 =3D 0xc1c6d100 r5 =3D 0xc1c6e600 r6 =3D 0x150c4661 r10 =3D 0xc1c6e3d0 bus_generic_attach() at bus_generic_attach+0x1c pc =3D 0xc02ddea0 lr =3D 0xc02dca90 (device_attach+0x4e0) sp =3D 0xc0e13cd8 fp =3D 0xc0e13d20 r4 =3D 0xc1c6e380 r10 =3D 0xc1c6e3d0 device_attach() at device_attach+0x4e0 pc =3D 0xc02dca90 lr =3D 0xc02dc514 = (device_probe_and_attach+0x8c) sp =3D 0xc0e13d28 fp =3D 0xc0e13d40 r4 =3D 0xc1c6e380 r5 =3D 0xc1a6ff00 r6 =3D 0x3e0d8f29 r7 =3D 0xffffffff r8 =3D 0x00000000 r9 =3D 0x00000000 r10 =3D 0xc1c6e650 device_probe_and_attach() at device_probe_and_attach+0x8c pc =3D 0xc02dc514 lr =3D 0xc02ddea0 (bus_generic_attach+0x1c) sp =3D 0xc0e13d48 fp =3D 0xc0e13d50 r4 =3D 0xc1c6e380 r5 =3D 0x00000000 r6 =3D 0xc0e13d60 r10 =3D 0xc1c6e650 bus_generic_attach() at bus_generic_attach+0x1c pc =3D 0xc02ddea0 lr =3D 0xc00d224c (ofwbus_attach+0x130) sp =3D 0xc0e13d58 fp =3D 0xc0e13d90 r4 =3D 0xc1c6e600 r10 =3D 0xc1c6e650 ofwbus_attach() at ofwbus_attach+0x130 pc =3D 0xc00d224c lr =3D 0xc02dca90 (device_attach+0x4e0) sp =3D 0xc0e13d98 fp =3D 0xc0e13de0 r4 =3D 0xc1c6e600 r5 =3D 0xc1c6e800 r6 =3D 0x10285c2d r7 =3D 0x00000000 r8 =3D 0xc0b06c8c r9 =3D 0xc02e11c8 device_attach() at device_attach+0x4e0 pc =3D 0xc02dca90 lr =3D 0xc02dc514 = (device_probe_and_attach+0x8c) sp =3D 0xc0e13de8 fp =3D 0xc0e13e00 r4 =3D 0xc1c6e600 r5 =3D 0xc1a6ff00 r6 =3D 0x3e0d8f29 r7 =3D 0x00000000 r8 =3D 0xc0a9d2b4 r9 =3D 0xc0b17558 r10 =3D 0xc0b0a090 device_probe_and_attach() at device_probe_and_attach+0x8c pc =3D 0xc02dc514 lr =3D 0xc02de7f4 = (bus_generic_new_pass+0xe8) sp =3D 0xc0e13e08 fp =3D 0xc0e13e20 r4 =3D 0xc1c6e600 r5 =3D 0xc088640c r6 =3D 0xc0863a70 r10 =3D 0xc0b0a090 bus_generic_new_pass() at bus_generic_new_pass+0xe8 pc =3D 0xc02de7f4 lr =3D 0xc02de7e4 = (bus_generic_new_pass+0xd8) sp =3D 0xc0e13e28 fp =3D 0xc0e13e40 r4 =3D 0xc1c6e800 r5 =3D 0xc088640c r6 =3D 0xc1c6ed00 r7 =3D 0x00000000 r8 =3D 0xc0a9d2b4 r10 =3D 0xc0b0a090 bus_generic_new_pass() at bus_generic_new_pass+0xd8 pc =3D 0xc02de7e4 lr =3D 0xc02d9fdc (bus_set_pass+0x94) sp =3D 0xc0e13e48 fp =3D 0xc0e13e60 r4 =3D 0xc1a6f9c0 r5 =3D 0xc088640c r6 =3D 0xc1c6ed00 r7 =3D 0xc0a9d2b4 r8 =3D 0x7fffffff r10 =3D 0xc0b0a090 bus_set_pass() at bus_set_pass+0x94 pc =3D 0xc02d9fdc lr =3D 0xc023f1b4 (mi_startup+0x2cc) sp =3D 0xc0e13e68 fp =3D 0xc0e13e90 r4 =3D 0xc08e261c r5 =3D 0xc0a89d00 r6 =3D 0x00800001 r7 =3D 0x00000000 r8 =3D 0x03800000 r9 =3D 0xc0b0a42c mi_startup() at mi_startup+0x2cc pc =3D 0xc023f1b4 lr =3D 0xc00002c4 (_start+0x144) sp =3D 0xc0e13e98 fp =3D 0x00000000 r4 =3D 0xc00003f8 r5 =3D 0xc0b68000 r6 =3D 0x00000000 r7 =3D 0x00c52078 r8 =3D 0xc0d32000 r9 =3D 0x00000000 r10 =3D 0x0000000a _start() at _start+0x144 pc =3D 0xc00002c4 lr =3D 0xc00002c4 (_start+0x144) sp =3D 0xc0e13e98 fp =3D 0x00000000 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x58: ldrb r15, [r15, r15, ror r15]! db>=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4A346DF-99DB-4628-B84D-F0FA4AC842B3>