On Tue, Feb 02, 2016 at 10:55:57AM +1100, Jonathan Gray wrote:
> Thanks, both diffs committed.  Any chance you could create another to
> move the sxitimer_* globals into the softc?

I didn't have time to test each diff separately, but now my Cubieboard 2 stops
at sxidog (log below). I'm expecting the same results on Banana Pi. The kernel
also includes the pmap bits, and since it stopped on uvm_fault(), maybe they
can be related.

U-Boot SPL 2015.10-dirty (Nov 10 2015 - 21:14:20)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2


U-Boot 2015.10-dirty (Nov 10 2015 - 21:14:20 -0200) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SCSI:  SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
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
Hit any key to stop autoboot:  0
=> setenv ipaddr 192.168.1.7; setenv serverip 192.168.1.5; tftpboot 
bsd.rd.SUNXI.umg; bootm
Speed: 100, full duplex
Using ethernet@01c50000 device
TFTP from server 192.168.1.5; our IP address is 192.168.1.7
Filename 'bsd.rd.SUNXI.umg'.
Load address: 0x42000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############################
         3.2 MiB/s
done
Bytes transferred = 8066788 (7b16e4 hex)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8066724 Bytes = 7.7 MiB
   Load Address: 40300000
   Entry Point:  40300000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...


OpenBSD/sunxi booting ...
arg0 0x0 arg1 0x10bb arg2 0x40000100
atag core flags 0 pagesize 0 rootdev 0
atag serial 0x16516616:0b01944c
atag mem start 0x40000000 size 0x40000000
bootfile:
bootargs:
memory size derived from u-boot
bootconf.mem[0].address = 40000000 pages 262144/0x40000000
physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
Allocating page tables
freestart = 0x40ab2000, free_pages = 259406 (0x0003f54e)
IRQ stack: p0x40ae0000 v0xc0ae0000
ABT stack: p0x40ae1000 v0xc0ae1000
UND stack: p0x40ae2000 v0xc0ae2000
SVC stack: p0x40ae3000 v0xc0ae3000
Creating L1 page table at 0x40ab4000
Mapping kernel
Constructing L2 page tables
undefined page pmap board type: 4283
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.9-beta (RAMDISK) #20: Sat Jan 30 16:37:27 BRST 2016
    [email protected]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1073741824 (1024MB)
avail mem = 1041637376 (993MB)
mainbus0 at root
cortex0 at mainbus0
ampintc0 at cortex0 nirq 160
agtimer0 at cortex0: tick rate 24000 KHz
cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache
sunxi0 at mainbus0: Allwinner A20
sxipio0 at sunxi0
sxiccmu0 at sunxi0
sxidog0 at sunxi0
uvm_fault(0xc0a4ecf8, 0, 1, 0) -> e
Fatal kernel mode data abort: 'Translation Fault (S)'
trapframe: 0xc0ae4dec
DFSR=00000005, DFAR=00000090, spsr=60000153
r0 =00000000, r1 =00000090, r2 =00000000, r3 =c0a04d74
r4 =c0a04d74, r5 =c53cb1c0, r6 =c0a0c498, r7 =c0a529b0
r8 =c53cb140, r9 =00000000, r10=c0ae4e88, r11=c0ae4e50
r12=c53cb1f4, ssp=c0ae4e38, slr=c04a3444, pc =c0413858

panic: Fatal abort
The operating system has halted.
Please press any key to reboot.

Reply via email to