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

List:       netbsd-port-arm
Subject:    Fwd: orangepi-plus-2e.dtb not working any more
From:       Joe Nosay <superbisquit () gmail ! com>
Date:       2017-11-21 18:39:22
Message-ID: CA+WntOtAT42PHJ+LCu7brxd4v40mWpqJ9AV+HUNDV5pws-QR-g () mail ! gmail ! com
[Download RAW message or body]

---------- Forwarded message ----------
From: qroxana via freebsd-arm <freebsd-arm@freebsd.org>
Date: Sun, Nov 19, 2017 at 11:56 AM
Subject: orangepi-plus-2e.dtb not working any more
To: freebsd-arm@freebsd.org



Hi,

I also tried to boot my OrangePi Plus2E board with nanopi-neo.dtb and
it worked, except the awg0 status stays "no carrier" anyway.

Here's the log of booting with orangepi-plus-2e.dtb:

U-Boot 2017.09 (Nov 10 2017 - 19:38:12 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus 2E
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
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
USB4:   USB EHCI 1.00
USB5:   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 bus 4 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found FreeBSD U-Boot Loader (bin)
reading ubldr.bin
237996 bytes read in 40 ms (5.7 MiB/s)
## Starting application at 0x42000000 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0xb9f477e0

FreeBSD/armv7 U-Boot loader, Revision 1.2
(Tue Oct 24 23:34:02 UTC 2017 root@orangepi)

DRAM: 2048MB
MMC Device 2 not found
MMC Device 3 not found
Number of U-Boot devices: 2
U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: disk
  Probing all disk devices...
  Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel text=0x7bfe98 data=0x76e10+0x17c330
syms=[0x4+0x8e560+0x4+0xcf437]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 2 seconds...

Type '?' for a list of commands, 'help' for more detailed help.
loader> load -t dtb /boot/dtb/orangepi-plus-2e.dtb
/boot/dtb/orangepi-plus-2e.dtb size=0x53cd
loader> boot
Booting...
Using DTB from loaded file '/boot/dtb/orangepi-plus-2e.dtb'.
Kernel entry at 0x42200180...
Kernel args: (null)
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2017 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-CURRENT #0 r324846: Wed Oct 27 05:20:15 UTC 2017
    root@orangepi:/usr/obj/usr/src/sys/GENERIC-NODEBUG arm
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM
5.0.0svn)
VT: init without driver.
CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000)
CPU Features:
  Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, VMSAv7,
  PXN, LPAE, Coherent Walk
Optional instructions:
  SDIV/UDIV, UMULL, SMULL, SIMD(ext)
LoUU:2 LoC:3 LoUIS:2
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  = 2147483648 (2048 MB)
avail memory = 2089316352 (1992 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
arc4random: no preloaded entropy cache
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
clk_fixed2: <Fixed clock> on aw_ccu0
simplebus0: <Flattened device tree simple bus> on ofwbus0
aw_ccung0: <Allwinner Clock Control Unit NG> mem 0x1c20000-0x1c203ff on
simplebus0
iichb0: <Allwinner Integrated I2C Bus Controller> mem 0x1c2ac00-0x1c2afff
irq 30 on simplebus0
iicbus0: <OFW I2C bus> on iichb0
aw_ccung1: <Allwinner Clock Control Unit NG> mem 0x1f01400-0x1f014ff on
simplebus0
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
regfix3: <Fixed Regulator> on ofwbus0
regfix4: <Fixed Regulator> on ofwbus0
regfix5: <Fixed Regulator> on ofwbus0
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
aw_sid0: <Allwinner Secure ID Controller> mem 0x1c14000-0x1c143ff on
simplebus0
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
awusbphy0: <Allwinner USB PHY> mem 0x1c19400-0x1c1942b,0x1c1a800-
0x1c1a803,0x1c1b800-0x1c1b803,0x1c1c800-0x1c1c803,0x1c1d800-0x1c1d803 on
simplebus0
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
gic0: <ARM Generic Interrupt Controller> mem 0x1c81000-0x1c81fff,0x1c82000-
0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 33 on simplebus0
gic0: pn 0x1, arch 0x2, rev 0x1, implementer 0x43b irqs 160
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 17,18
on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 37 on
simplebus0
gpiobus1: <OFW GPIO bus> on gpio1
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
rtc0: <Allwinner RTC> mem 0x1f00000-0x1f00053 irq 34,35 on simplebus0
rtc0: registered as a time-of-day clock, resolution 1.000000s
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
generic_timer0: <ARMv7 Generic Timer> irq 0,1,2,3 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff
irq 39 on simplebus0
iichb1: could not find clock
device_attach: iichb1 attach returned 2
a31dmac0: <Allwinner DMA controller> mem 0x1c02000-0x1c02fff irq 4 on
simplebus0
a10_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x1c0f000-0x1c0ffff
irq 5 on simplebus0
mmc0: <MMC/SD bus> on a10_mmc0
a10_mmc1: <Allwinner Integrated MMC/SD controller> mem 0x1c10000-0x1c10fff
irq 6 on simplebus0
a10_mmc1: cannot reset the controller
device_attach: a10_mmc1 attach returned 6
a10_mmc1: <Allwinner Integrated MMC/SD controller> mem 0x1c11000-0x1c11fff
irq 7 on simplebus0
mmc1: <MMC/SD bus> on a10_mmc1
ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c1b000-0x1c1b0ff
irq 11 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1c000-0x1c1c0ff
irq 13 on simplebus0
usbus1: EHCI version 1.0
usbus1 on ehci1
ehci2: <Allwinner Integrated USB 2.0 controller> mem 0x1c1d000-0x1c1d0ff
irq 15 on simplebus0
usbus2: EHCI version 1.0
usbus2 on ehci2
gpioc0: <GPIO controller> on gpio0
aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 23 on
simplebus0
pcm0: <Allwinner Audio Codec> mem 0x1c22c00-0x1c22fff irq 25 on simplebus0
Fatal kernel mode data abort: 'Translation Fault (L1)' on read
trapframe: 0xc0c13bc8
FSR=00000005, FAR=00000004, spsr=600000d3
r0 =c53ed000, r1 =00000000, r2 =00000080, r3 =00000000
r4 =c53ed000, r5 =c528b500, r6 =c53ed000, r7 =00000000
r8 =00000007, r9 =00000000, r10=ffffffff, r11=c0c13c78
r12=00000080, ssp=c0c13c58, slr=c05ec914, pc =c05eca24

[ thread pid 0 tid 100000 ]
Stopped at      h3_pr_set_clear+0x20:   ldmib   r1, {r0-r1}
db> bt
Tracing pid 0 tid 100000 td 0xc0960b80
db_trace_self() at db_trace_self
         pc = 0xc05bae00  lr = 0xc005eb90 (db_stack_trace+0x108)
         sp = 0xc0c138d8  fp = 0xc0c138f0
db_stack_trace() at db_stack_trace+0x108
         pc = 0xc005eb90  lr = 0xc005e7ec (db_command+0x268)
         sp = 0xc0c138f8  fp = 0xc0c13998
         r4 = 0x00000001  r5 = 0x00000000
         r6 = 0xc0705ed2 r10 = 0x00000000
db_command() at db_command+0x268
         pc = 0xc005e7ec  lr = 0xc005e574 (db_command_loop+0x74)
         sp = 0xc0c139a0  fp = 0xc0c139b0
         r4 = 0xc06bb568  r5 = 0xc06e2a7b
         r6 = 0xc095df9c  r7 = 0xc0c13bc8
         r8 = 0xc08321dc  r9 = 0xc07c7a38
        r10 = 0xc094f620
db_command_loop() at db_command_loop+0x74
         pc = 0xc005e574  lr = 0xc0062010 (db_trap+0x12c)
         sp = 0xc0c139b8  fp = 0xc0c13ad0
         r4 = 0x00000000  r5 = 0xc095dfa8
         r6 = 0xc094f640 r10 = 0xc094f620
db_trap() at db_trap+0x12c
         pc = 0xc0062010  lr = 0xc02d9a6c (kdb_trap+0x168)
         sp = 0xc0c13ad8  fp = 0xc0c13b00
         r4 = 0x00000000  r5 = 0x00000005
         r6 = 0xc094f640  r7 = 0xc0c13bc8
kdb_trap() at kdb_trap+0x168
         pc = 0xc02d9a6c  lr = 0xc05de28c (abort_fatal+0x20c)
         sp = 0xc0c13b08  fp = 0xc0c13b28
         r4 = 0xc0c13bc8  r5 = 0x00000013
         r6 = 0x00000004  r7 = 0x00000005
         r8 = 0x00000005  r9 = 0xc0960b80
        r10 = 0xc0c13bc8
abort_fatal() at abort_fatal+0x20c
         pc = 0xc05de28c  lr = 0xc05ddef0 (abort_handler+0x318)
         sp = 0xc0c13b30  fp = 0xc0c13bc0
         r4 = 0x00000005  r5 = 0x00000005
         r6 = 0x00000000  r7 = 0x00000005
         r8 = 0x00000013 r10 = 0xc0c13bc8
abort_handler() at abort_handler+0x318
         pc = 0xc05ddef0  lr = 0xc05bd7f8 (exception_exit)
         sp = 0xc0c13bc8  fp = 0xc0c13c78
         r4 = 0xc53ed000  r5 = 0xc528b500
         r6 = 0xc53ed000  r7 = 0x00000000
         r8 = 0x00000007  r9 = 0x00000000
        r10 = 0xffffffff
exception_exit() at exception_exit
         pc = 0xc05bd7f8  lr = 0xc05ec914 (h3_mixer_init+0x58)
         sp = 0xc0c13c58  fp = 0xc0c13c78
         r0 = 0xc53ed000  r1 = 0x00000000
         r2 = 0x00000080  r3 = 0x00000000
         r4 = 0xc53ed000  r5 = 0xc528b500
         r6 = 0xc53ed000  r7 = 0x00000000
         r8 = 0x00000007  r9 = 0x00000000
        r10 = 0xffffffff r12 = 0x00000080
h3_pr_set_clear() at h3_pr_set_clear+0x20
         pc = 0xc05eca24  lr = 0xc05ec914 (h3_mixer_init+0x58)
         sp = 0xc0c13c80  fp = 0xc0c13c88
         r4 = 0xc53ed000  r5 = 0xc528b500
         r6 = 0xc528b500  r7 = 0x00000000
         r8 = 0xc53ed000  r9 = 0x00000000
        r10 = 0xffffffff
h3_mixer_init() at h3_mixer_init+0x58
         pc = 0xc05ec914  lr = 0xc01008e0 (mixer_obj_create+0x124)
         sp = 0xc0c13c90  fp = 0xc0c13ca8
         r4 = 0xc53ee000  r5 = 0x00000000
mixer_obj_create() at mixer_obj_create+0x124
         pc = 0xc01008e0  lr = 0xc0100a0c (mixer_init+0xac)
         sp = 0xc0c13cb0  fp = 0xc0c13ce0
         r4 = 0xc518fa00  r5 = 0x00000000
         r6 = 0xc53ed000  r7 = 0xc081ae7c
         r8 = 0x00000000  r9 = 0xc528b500
mixer_init() at mixer_init+0xac
         pc = 0xc0100a0c  lr = 0xc05ec378 (a10codec_attach+0x2fc)
         sp = 0xc0c13ce8  fp = 0xc0c13d78
         r4 = 0xc528b500  r5 = 0xc53ed000
         r6 = 0xc53ed004  r7 = 0xffffffff
         r8 = 0x00000000  r9 = 0x00002084
        r10 = 0xc528b550
a10codec_attach() at a10codec_attach+0x2fc
         pc = 0xc05ec378  lr = 0xc02cbb18 (device_attach+0x4ec)
         sp = 0xc0c13d80  fp = 0xc0c13dc8
         r4 = 0xc528b500  r5 = 0xc528cb80
         r6 = 0xc528cb80  r7 = 0x00000000
         r8 = 0xc095d80c  r9 = 0xc02cfd58
device_attach() at device_attach+0x4ec
         pc = 0xc02cbb18  lr = 0xc02cd69c (bus_generic_new_pass+0x118)
         sp = 0xc0c13dd0  fp = 0xc0c13de8
         r4 = 0xc528b500  r5 = 0xc07ecc5c
         r6 = 0xc0961cfc  r7 = 0xc5167000
         r8 = 0xc094f4b0  r9 = 0xc0720bd4
        r10 = 0xc0960f48
bus_generic_new_pass() at bus_generic_new_pass+0x118
         pc = 0xc02cd69c  lr = 0xc02cd664 (bus_generic_new_pass+0xe0)
         sp = 0xc0c13df0  fp = 0xc0c13e08
         r4 = 0xc528cb80  r5 = 0xc07ecc5c
         r6 = 0xc0961cfc  r7 = 0x00000000
         r8 = 0xc094f4b0 r10 = 0xc0960f48
bus_generic_new_pass() at bus_generic_new_pass+0xe0
         pc = 0xc02cd664  lr = 0xc02cd664 (bus_generic_new_pass+0xe0)
         sp = 0xc0c13e10  fp = 0xc0c13e28
         r4 = 0xc528cd00  r5 = 0xc07ecc5c
         r6 = 0xc0961cfc  r7 = 0x00000000
         r8 = 0xc094f4b0 r10 = 0xc0960f48
bus_generic_new_pass() at bus_generic_new_pass+0xe0
         pc = 0xc02cd664  lr = 0xc02cd664 (bus_generic_new_pass+0xe0)
         sp = 0xc0c13e30  fp = 0xc0c13e48
         r4 = 0xc528cd80  r5 = 0xc07ecc5c
         r6 = 0xc0961cfc  r7 = 0x00000000
         r8 = 0xc094f4b0 r10 = 0xc0960f48
bus_generic_new_pass() at bus_generic_new_pass+0xe0
         pc = 0xc02cd664  lr = 0xc02cf0f8 (root_bus_configure+0x80)
         sp = 0xc0c13e50  fp = 0xc0c13e68
         r4 = 0xc07ecc5c  r5 = 0xc528d000
         r6 = 0xc094f4b0  r7 = 0xc5292000
         r8 = 0xc096190c r10 = 0xc0960f48
root_bus_configure() at root_bus_configure+0x80
         pc = 0xc02cf0f8  lr = 0xc0223cb4 (mi_startup+0xfc)
         sp = 0xc0c13e70  fp = 0xc0c13e90
         r4 = 0xc0961044  r5 = 0x00000001
         r6 = 0xc071fc6c  r7 = 0x00000000
         r8 = 0xc0961040 r10 = 0xc0960f48
mi_startup() at mi_startup+0xfc
         pc = 0xc0223cb4  lr = 0xc00002c4 (btext+0x144)
         sp = 0xc0c13e98  fp = 0x00000000
         r4 = 0xc00003f8  r5 = 0xc09b0000
         r6 = 0x4205a400  r7 = 0x00c52078
         r8 = 0xc0b1f000  r9 = 0x00000014
        r10 = 0x0000000a
btext() at btext+0x144
         pc = 0xc00002c4  lr = 0xc00002c4 (btext+0x144)
         sp = 0xc0c13e98  fp = 0x00000000
db>
_______________________________________________
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"

[Attachment #3 (text/html)]

<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message \
----------<br>From: <b class="gmail_sendername">qroxana via freebsd-arm</b> <span \
dir="ltr">&lt;<a href="mailto:freebsd-arm@freebsd.org">freebsd-arm@freebsd.org</a>&gt;</span><br>Date: \
Sun, Nov 19, 2017 at 11:56 AM<br>Subject: orangepi-plus-2e.dtb not working any \
more<br>To: <a href="mailto:freebsd-arm@freebsd.org">freebsd-arm@freebsd.org</a><br><br><br><br>
 Hi,<br>
<br>
I also tried to boot my OrangePi Plus2E board with nanopi-neo.dtb and<br>
it worked, except the awg0 status stays &quot;no carrier&quot; anyway.<br>
<br>
Here&#39;s the log of booting with orangepi-plus-2e.dtb:<br>
<br>
U-Boot 2017.09 (Nov 10 2017 - 19:38:12 +0000) Allwinner Technology<br>
<br>
CPU:     Allwinner H3 (SUN8I 1680)<br>
Model: Xunlong Orange Pi Plus 2E<br>
DRAM:   2 GiB<br>
MMC:     SUNXI SD/MMC: 0, SUNXI SD/MMC: 1<br>
*** Warning - bad CRC, using default environment<br>
<br>
In:      serial<br>
Out:     serial<br>
Err:     serial<br>
Net:     phy interface7<br>
eth0: ethernet@1c30000<br>
starting USB...<br>
USB0:     USB EHCI 1.00<br>
USB1:     USB OHCI 1.0<br>
USB2:     USB EHCI 1.00<br>
USB3:     USB OHCI 1.0<br>
USB4:     USB EHCI 1.00<br>
USB5:     USB OHCI 1.0<br>
scanning bus 0 for devices... 1 USB Device(s) found<br>
scanning bus 2 for devices... 1 USB Device(s) found<br>
scanning bus 4 for devices... 1 USB Device(s) found<br>
           scanning usb for storage devices... 0 Storage Device(s) found<br>
Hit any key to stop autoboot:   0<br>
switch to partitions #0, OK<br>
mmc0 is current device<br>
Scanning mmc 0:1...<br>
Found FreeBSD U-Boot Loader (bin)<br>
reading ubldr.bin<br>
237996 bytes read in 40 ms (5.7 MiB/s)<br>
## Starting application at 0x42000000 ...<br>
Consoles: U-Boot console<br>
Compatible U-Boot API signature found @0xb9f477e0<br>
<br>
FreeBSD/armv7 U-Boot loader, Revision 1.2<br>
(Tue Oct 24 23:34:02 UTC 2017 root@orangepi)<br>
<br>
DRAM: 2048MB<br>
MMC Device 2 not found<br>
MMC Device 3 not found<br>
Number of U-Boot devices: 2<br>
U-Boot env: loaderdev not set, will probe all devices.<br>
Found U-Boot device: disk<br>
   Probing all disk devices...<br>
   Checking unit=0 slice=&lt;auto&gt; partition=&lt;auto&gt;... good.<br>
Booting from disk0s2a:<br>
/boot/kernel/kernel text=0x7bfe98 data=0x76e10+0x17c330 \
syms=[0x4+0x8e560+0x4+0xcf437]<br> <br>
Hit [Enter] to boot immediately, or any other key for command prompt.<br>
Booting [/boot/kernel/kernel] in 2 seconds...<br>
<br>
Type &#39;?&#39; for a list of commands, &#39;help&#39; for more detailed help.<br>
loader&gt; load -t dtb /boot/dtb/orangepi-plus-2e.dtb<br>
/boot/dtb/orangepi-plus-2e.dtb size=0x53cd<br>
loader&gt; boot<br>
Booting...<br>
Using DTB from loaded file &#39;/boot/dtb/orangepi-plus-2e.<wbr>dtb&#39;.<br>
Kernel entry at 0x42200180...<br>
Kernel args: (null)<br>
KDB: debugger backends: ddb<br>
KDB: current backend: ddb<br>
Copyright (c) 1992-2017 The FreeBSD Project.<br>
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994<br>
            The Regents of the University of California. All rights reserved.<br>
FreeBSD is a registered trademark of The FreeBSD Foundation.<br>
FreeBSD 12.0-CURRENT #0 r324846: Wed Oct 27 05:20:15 UTC 2017<br>
      root@orangepi:/usr/obj/usr/<wbr>src/sys/GENERIC-NODEBUG arm<br>
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM \
                5.0.0svn)<br>
VT: init without driver.<br>
CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000)<br>
CPU Features:<br>
   Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, VMSAv7,<br>
   PXN, LPAE, Coherent Walk<br>
Optional instructions:<br>
   SDIV/UDIV, UMULL, SMULL, SIMD(ext)<br>
LoUU:2 LoC:3 LoUIS:2<br>
Cache level 1:<br>
  32KB/64B 4-way data cache WB Read-Alloc Write-Alloc<br>
  32KB/32B 2-way instruction cache Read-Alloc<br>
Cache level 2:<br>
  512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc<br>
real memory   = 2147483648 (2048 MB)<br>
avail memory = 2089316352 (1992 MB)<br>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs<br>
arc4random: no preloaded entropy cache<br>
random: entropy device external interface<br>
kbd0 at kbdmux0<br>
ofwbus0: &lt;Open Firmware Device Tree&gt;<br>
aw_ccu0: &lt;Allwinner Clock Control Unit&gt; on ofwbus0<br>
clk_fixed0: &lt;Fixed clock&gt; on aw_ccu0<br>
clk_fixed1: &lt;Fixed clock&gt; on aw_ccu0<br>
clk_fixed2: &lt;Fixed clock&gt; on aw_ccu0<br>
simplebus0: &lt;Flattened device tree simple bus&gt; on ofwbus0<br>
aw_ccung0: &lt;Allwinner Clock Control Unit NG&gt; mem 0x1c20000-0x1c203ff on \
                simplebus0<br>
iichb0: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1c2ac00-0x1c2afff irq \
                30 on simplebus0<br>
iicbus0: &lt;OFW I2C bus&gt; on iichb0<br>
aw_ccung1: &lt;Allwinner Clock Control Unit NG&gt; mem 0x1f01400-0x1f014ff on \
                simplebus0<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
regfix0: &lt;Fixed Regulator&gt; on ofwbus0<br>
regfix1: &lt;Fixed Regulator&gt; on ofwbus0<br>
regfix2: &lt;Fixed Regulator&gt; on ofwbus0<br>
regfix3: &lt;Fixed Regulator&gt; on ofwbus0<br>
regfix4: &lt;Fixed Regulator&gt; on ofwbus0<br>
regfix5: &lt;Fixed Regulator&gt; on ofwbus0<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
aw_sid0: &lt;Allwinner Secure ID Controller&gt; mem 0x1c14000-0x1c143ff on \
                simplebus0<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
awusbphy0: &lt;Allwinner USB PHY&gt; mem \
0x1c19400-0x1c1942b,0x1c1a800-<wbr>0x1c1a803,0x1c1b800-0x1c1b803,<wbr>0x1c1c800-0x1c1c803,0x1c1d800-<wbr>0x1c1d803 \
                on simplebus0<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
gic0: &lt;ARM Generic Interrupt Controller&gt; mem \
0x1c81000-0x1c81fff,0x1c82000-<wbr>0x1c83fff,0x1c84000-0x1c85fff,<wbr>0x1c86000-0x1c87fff \
                irq 33 on simplebus0<br>
gic0: pn 0x1, arch 0x2, rev 0x1, implementer 0x43b irqs 160<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
gpio0: &lt;Allwinner GPIO/Pinmux controller&gt; mem 0x1c20800-0x1c20bff irq 17,18 on \
                simplebus0<br>
gpiobus0: &lt;OFW GPIO bus&gt; on gpio0<br>
gpio1: &lt;Allwinner GPIO/Pinmux controller&gt; mem 0x1f02c00-0x1f02fff irq 37 on \
                simplebus0<br>
gpiobus1: &lt;OFW GPIO bus&gt; on gpio1<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
rtc0: &lt;Allwinner RTC&gt; mem 0x1f00000-0x1f00053 irq 34,35 on simplebus0<br>
rtc0: registered as a time-of-day clock, resolution 1.000000s<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
generic_timer0: &lt;ARMv7 Generic Timer&gt; irq 0,1,2,3 on ofwbus0<br>
Timecounter &quot;ARM MPCore Timecounter&quot; frequency 24000000 Hz quality 1000<br>
Event timer &quot;ARM MPCore Eventtimer&quot; frequency 24000000 Hz quality 1000<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
iichb1: &lt;Allwinner Integrated I2C Bus Controller&gt; mem 0x1f02400-0x1f027ff irq \
                39 on simplebus0<br>
iichb1: could not find clock<br>
device_attach: iichb1 attach returned 2<br>
a31dmac0: &lt;Allwinner DMA controller&gt; mem 0x1c02000-0x1c02fff irq 4 on \
                simplebus0<br>
a10_mmc0: &lt;Allwinner Integrated MMC/SD controller&gt; mem 0x1c0f000-0x1c0ffff irq \
                5 on simplebus0<br>
mmc0: &lt;MMC/SD bus&gt; on a10_mmc0<br>
a10_mmc1: &lt;Allwinner Integrated MMC/SD controller&gt; mem 0x1c10000-0x1c10fff irq \
                6 on simplebus0<br>
a10_mmc1: cannot reset the controller<br>
device_attach: a10_mmc1 attach returned 6<br>
a10_mmc1: &lt;Allwinner Integrated MMC/SD controller&gt; mem 0x1c11000-0x1c11fff irq \
                7 on simplebus0<br>
mmc1: &lt;MMC/SD bus&gt; on a10_mmc1<br>
ehci0: &lt;Allwinner Integrated USB 2.0 controller&gt; mem 0x1c1b000-0x1c1b0ff irq 11 \
                on simplebus0<br>
usbus0: EHCI version 1.0<br>
usbus0 on ehci0<br>
ehci1: &lt;Allwinner Integrated USB 2.0 controller&gt; mem 0x1c1c000-0x1c1c0ff irq 13 \
                on simplebus0<br>
usbus1: EHCI version 1.0<br>
usbus1 on ehci1<br>
ehci2: &lt;Allwinner Integrated USB 2.0 controller&gt; mem 0x1c1d000-0x1c1d0ff irq 15 \
                on simplebus0<br>
usbus2: EHCI version 1.0<br>
usbus2 on ehci2<br>
gpioc0: &lt;GPIO controller&gt; on gpio0<br>
aw_wdog0: &lt;Allwinner A31 Watchdog&gt; mem 0x1c20ca0-0x1c20cbf irq 23 on \
                simplebus0<br>
pcm0: &lt;Allwinner Audio Codec&gt; mem 0x1c22c00-0x1c22fff irq 25 on simplebus0<br>
Fatal kernel mode data abort: &#39;Translation Fault (L1)&#39; on read<br>
trapframe: 0xc0c13bc8<br>
FSR=00000005, FAR=00000004, spsr=600000d3<br>
r0 =c53ed000, r1 =00000000, r2 =00000080, r3 =00000000<br>
r4 =c53ed000, r5 =c528b500, r6 =c53ed000, r7 =00000000<br>
r8 =00000007, r9 =00000000, r10=ffffffff, r11=c0c13c78<br>
r12=00000080, ssp=c0c13c58, slr=c05ec914, pc =c05eca24<br>
<br>
[ thread pid 0 tid 100000 ]<br>
Stopped at         h3_pr_set_clear+0x20:     ldmib     r1, {r0-r1}<br>
db&gt; bt<br>
Tracing pid 0 tid 100000 td 0xc0960b80<br>
db_trace_self() at db_trace_self<br>
              pc = 0xc05bae00   lr = 0xc005eb90 (db_stack_trace+0x108)<br>
              sp = 0xc0c138d8   fp = 0xc0c138f0<br>
db_stack_trace() at db_stack_trace+0x108<br>
              pc = 0xc005eb90   lr = 0xc005e7ec (db_command+0x268)<br>
              sp = 0xc0c138f8   fp = 0xc0c13998<br>
              r4 = 0x00000001   r5 = 0x00000000<br>
              r6 = 0xc0705ed2 r10 = 0x00000000<br>
db_command() at db_command+0x268<br>
              pc = 0xc005e7ec   lr = 0xc005e574 (db_command_loop+0x74)<br>
              sp = 0xc0c139a0   fp = 0xc0c139b0<br>
              r4 = 0xc06bb568   r5 = 0xc06e2a7b<br>
              r6 = 0xc095df9c   r7 = 0xc0c13bc8<br>
              r8 = 0xc08321dc   r9 = 0xc07c7a38<br>
            r10 = 0xc094f620<br>
db_command_loop() at db_command_loop+0x74<br>
              pc = 0xc005e574   lr = 0xc0062010 (db_trap+0x12c)<br>
              sp = 0xc0c139b8   fp = 0xc0c13ad0<br>
              r4 = 0x00000000   r5 = 0xc095dfa8<br>
              r6 = 0xc094f640 r10 = 0xc094f620<br>
db_trap() at db_trap+0x12c<br>
              pc = 0xc0062010   lr = 0xc02d9a6c (kdb_trap+0x168)<br>
              sp = 0xc0c13ad8   fp = 0xc0c13b00<br>
              r4 = 0x00000000   r5 = 0x00000005<br>
              r6 = 0xc094f640   r7 = 0xc0c13bc8<br>
kdb_trap() at kdb_trap+0x168<br>
              pc = 0xc02d9a6c   lr = 0xc05de28c (abort_fatal+0x20c)<br>
              sp = 0xc0c13b08   fp = 0xc0c13b28<br>
              r4 = 0xc0c13bc8   r5 = 0x00000013<br>
              r6 = 0x00000004   r7 = 0x00000005<br>
              r8 = 0x00000005   r9 = 0xc0960b80<br>
            r10 = 0xc0c13bc8<br>
abort_fatal() at abort_fatal+0x20c<br>
              pc = 0xc05de28c   lr = 0xc05ddef0 (abort_handler+0x318)<br>
              sp = 0xc0c13b30   fp = 0xc0c13bc0<br>
              r4 = 0x00000005   r5 = 0x00000005<br>
              r6 = 0x00000000   r7 = 0x00000005<br>
              r8 = 0x00000013 r10 = 0xc0c13bc8<br>
abort_handler() at abort_handler+0x318<br>
              pc = 0xc05ddef0   lr = 0xc05bd7f8 (exception_exit)<br>
              sp = 0xc0c13bc8   fp = 0xc0c13c78<br>
              r4 = 0xc53ed000   r5 = 0xc528b500<br>
              r6 = 0xc53ed000   r7 = 0x00000000<br>
              r8 = 0x00000007   r9 = 0x00000000<br>
            r10 = 0xffffffff<br>
exception_exit() at exception_exit<br>
              pc = 0xc05bd7f8   lr = 0xc05ec914 (h3_mixer_init+0x58)<br>
              sp = 0xc0c13c58   fp = 0xc0c13c78<br>
              r0 = 0xc53ed000   r1 = 0x00000000<br>
              r2 = 0x00000080   r3 = 0x00000000<br>
              r4 = 0xc53ed000   r5 = 0xc528b500<br>
              r6 = 0xc53ed000   r7 = 0x00000000<br>
              r8 = 0x00000007   r9 = 0x00000000<br>
            r10 = 0xffffffff r12 = 0x00000080<br>
h3_pr_set_clear() at h3_pr_set_clear+0x20<br>
              pc = 0xc05eca24   lr = 0xc05ec914 (h3_mixer_init+0x58)<br>
              sp = 0xc0c13c80   fp = 0xc0c13c88<br>
              r4 = 0xc53ed000   r5 = 0xc528b500<br>
              r6 = 0xc528b500   r7 = 0x00000000<br>
              r8 = 0xc53ed000   r9 = 0x00000000<br>
            r10 = 0xffffffff<br>
h3_mixer_init() at h3_mixer_init+0x58<br>
              pc = 0xc05ec914   lr = 0xc01008e0 (mixer_obj_create+0x124)<br>
              sp = 0xc0c13c90   fp = 0xc0c13ca8<br>
              r4 = 0xc53ee000   r5 = 0x00000000<br>
mixer_obj_create() at mixer_obj_create+0x124<br>
              pc = 0xc01008e0   lr = 0xc0100a0c (mixer_init+0xac)<br>
              sp = 0xc0c13cb0   fp = 0xc0c13ce0<br>
              r4 = 0xc518fa00   r5 = 0x00000000<br>
              r6 = 0xc53ed000   r7 = 0xc081ae7c<br>
              r8 = 0x00000000   r9 = 0xc528b500<br>
mixer_init() at mixer_init+0xac<br>
              pc = 0xc0100a0c   lr = 0xc05ec378 (a10codec_attach+0x2fc)<br>
              sp = 0xc0c13ce8   fp = 0xc0c13d78<br>
              r4 = 0xc528b500   r5 = 0xc53ed000<br>
              r6 = 0xc53ed004   r7 = 0xffffffff<br>
              r8 = 0x00000000   r9 = 0x00002084<br>
            r10 = 0xc528b550<br>
a10codec_attach() at a10codec_attach+0x2fc<br>
              pc = 0xc05ec378   lr = 0xc02cbb18 (device_attach+0x4ec)<br>
              sp = 0xc0c13d80   fp = 0xc0c13dc8<br>
              r4 = 0xc528b500   r5 = 0xc528cb80<br>
              r6 = 0xc528cb80   r7 = 0x00000000<br>
              r8 = 0xc095d80c   r9 = 0xc02cfd58<br>
device_attach() at device_attach+0x4ec<br>
              pc = 0xc02cbb18   lr = 0xc02cd69c (bus_generic_new_pass+0x118)<br>
              sp = 0xc0c13dd0   fp = 0xc0c13de8<br>
              r4 = 0xc528b500   r5 = 0xc07ecc5c<br>
              r6 = 0xc0961cfc   r7 = 0xc5167000<br>
              r8 = 0xc094f4b0   r9 = 0xc0720bd4<br>
            r10 = 0xc0960f48<br>
bus_generic_new_pass() at bus_generic_new_pass+0x118<br>
              pc = 0xc02cd69c   lr = 0xc02cd664 (bus_generic_new_pass+0xe0)<br>
              sp = 0xc0c13df0   fp = 0xc0c13e08<br>
              r4 = 0xc528cb80   r5 = 0xc07ecc5c<br>
              r6 = 0xc0961cfc   r7 = 0x00000000<br>
              r8 = 0xc094f4b0 r10 = 0xc0960f48<br>
bus_generic_new_pass() at bus_generic_new_pass+0xe0<br>
              pc = 0xc02cd664   lr = 0xc02cd664 (bus_generic_new_pass+0xe0)<br>
              sp = 0xc0c13e10   fp = 0xc0c13e28<br>
              r4 = 0xc528cd00   r5 = 0xc07ecc5c<br>
              r6 = 0xc0961cfc   r7 = 0x00000000<br>
              r8 = 0xc094f4b0 r10 = 0xc0960f48<br>
bus_generic_new_pass() at bus_generic_new_pass+0xe0<br>
              pc = 0xc02cd664   lr = 0xc02cd664 (bus_generic_new_pass+0xe0)<br>
              sp = 0xc0c13e30   fp = 0xc0c13e48<br>
              r4 = 0xc528cd80   r5 = 0xc07ecc5c<br>
              r6 = 0xc0961cfc   r7 = 0x00000000<br>
              r8 = 0xc094f4b0 r10 = 0xc0960f48<br>
bus_generic_new_pass() at bus_generic_new_pass+0xe0<br>
              pc = 0xc02cd664   lr = 0xc02cf0f8 (root_bus_configure+0x80)<br>
              sp = 0xc0c13e50   fp = 0xc0c13e68<br>
              r4 = 0xc07ecc5c   r5 = 0xc528d000<br>
              r6 = 0xc094f4b0   r7 = 0xc5292000<br>
              r8 = 0xc096190c r10 = 0xc0960f48<br>
root_bus_configure() at root_bus_configure+0x80<br>
              pc = 0xc02cf0f8   lr = 0xc0223cb4 (mi_startup+0xfc)<br>
              sp = 0xc0c13e70   fp = 0xc0c13e90<br>
              r4 = 0xc0961044   r5 = 0x00000001<br>
              r6 = 0xc071fc6c   r7 = 0x00000000<br>
              r8 = 0xc0961040 r10 = 0xc0960f48<br>
mi_startup() at mi_startup+0xfc<br>
              pc = 0xc0223cb4   lr = 0xc00002c4 (btext+0x144)<br>
              sp = 0xc0c13e98   fp = 0x00000000<br>
              r4 = 0xc00003f8   r5 = 0xc09b0000<br>
              r6 = 0x4205a400   r7 = 0x00c52078<br>
              r8 = 0xc0b1f000   r9 = 0x00000014<br>
            r10 = 0x0000000a<br>
btext() at btext+0x144<br>
              pc = 0xc00002c4   lr = 0xc00002c4 (btext+0x144)<br>
              sp = 0xc0c13e98   fp = 0x00000000<br>
db&gt;<br>
______________________________<wbr>_________________<br>
<a href="mailto:freebsd-arm@freebsd.org">freebsd-arm@freebsd.org</a> mailing list<br>
<a href="https://lists.freebsd.org/mailman/listinfo/freebsd-arm" rel="noreferrer" \
target="_blank">https://lists.freebsd.org/<wbr>mailman/listinfo/freebsd-arm</a><br> \
To unsubscribe, send any mail to &quot;<a \
href="mailto:freebsd-arm-unsubscribe@freebsd.org">freebsd-arm-unsubscribe@<wbr>freebsd.org</a>&quot;<br>
 </div><br></div>



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

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