Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 21:56:53 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        freebsd-arm@freebsd.org
Subject:   BeagleBone crash at boot...
Message-ID:  <2685426E-3B97-40AA-B3BE-3CD4382EB5C8@freebsd.org>

next in thread | raw e-mail | index | archive | help
Updating my system build scripts to use FreeBSD-CURRENT
since Oleksander merged the old armv6 tree.

I'm using unmodified sources from SVN r239395 and it crashes at boot.

Here's the last part of the boot messages:

am335x_prcm0: <AM335x Power and Clock Management> mem =
0xe4e00000-0xe4e012ff on simplebus0
am335x_prcm0: Clocks: System 24.0 MHz, CPU 500 MHz
am335x_dmtimer0: <AM335x DMTimer> mem =
0xe4e05000-0xe4e05fff,0xe4e31000-0xe4e31fff,0xca611000-0xca611fff,0xca6120=
00-0xca612fff,0xca613000-0xca613fff,0xca614000-0xca614fff,0xca615000-0xca6=
15fff,0xca616000-0xca616fff irq 66,67,68,69,92,93,94,95 on simplebus0
Timecounter "AM335x Timecouter" frequency 24000000 Hz quality 1000
Event timer "AM335x Eventtimer0" frequency 24000000 Hz quality 1000
gpio0: <TI General Purpose I/O (GPIO)> mem =
0xe4e07000-0xe4e07fff,0xca617000-0xca617fff,0xca618000-0xca618fff,0xca6190=
00-0xca619fff irq 17,19,21,23 on simplebus0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
uart0: <16750 or compatible> mem 0xe4e09000-0xe4e09fff irq 72 on =
simplebus0
uart0: console (115384,n,8,1)
ti_mmchs0: <TI MMC/SD/SDIO High Speed Interface> mem =
0xcaa1a000-0xcaa1afff irq 64 on simplebus0

vm_fault(0xc0579480, 0, 1, 0) -> 1
Fatal kernel mode data abort: 'Translation Fault (S)'
trapframe: 0xc06fcb78
FSR=3D00000005, FAR=3D00000004, spsr=3D60000093
r0 =3D00000000, r1 =3De4e00000, r2 =3D00000024, r3 =3D00000000
r4 =3Dc06ecf54, r5 =3Dc1c10100, r6 =3Dc1c0e200, r7 =3Dc1c0e200
r8 =3D00000001, r9 =3Dc1c0e240, r10=3D00000000, r11=3Dc06fcbe8
r12=3Dc0571b4c, ssp=3Dc06fcbc4, slr=3Dc049f9e8, pc =3Dc04a0a34

[ thread pid 0 tid 100000 ]
Stopped at      ti_edma3_init+0x24:     ldr     r3, [r3, #0x004]
db>

I believe this is the relevant portion of the backtrace:

data_abort_handler() at data_abort_handler+0xc
scp=3D0xc0499cf8 rlv=3D0xc048d684 (address_exception_entry+0x50)
        rsp=3D0xc06fcb78 rfp=3D0xc06fcbe8
        r10=3D0x00000000 r9=3D0xc1c0e240
        r8=3D0x00000001 r7=3D0xc1c0e200 r6=3D0xc1c0e200 r5=3D0xc1c10100
        r4=3D0xc06ecf54
ti_edma3_init() at ti_edma3_init+0xc
scp=3D0xc04a0a1c rlv=3D0xc04a17ac (ti_edma3_init+0xd9c)
        rsp=3D0xc06fcbec rfp=3D0xc06fcc44
        r10=3D0xffffffff r8=3D0x00000001
        r7=3D0xc1c0e200 r6=3D0xc1c0e200 r5=3D0xc1c10100 r4=3D0x00000000
ti_edma3_init() at ti_edma3_init+0xacc
scp=3D0xc04a14dc rlv=3D0xc0324f94 (device_attach+0x2d8)
        rsp=3D0xc06fcc48 rfp=3D0xc06fcc84
        r10=3D0xc1c10100 r9=3D0xc1bb6780
        r8=3D0xffffffff r7=3D0xc0322b10 r6=3D0xc1c10150 r5=3D0x80000003
        r4=3D0xc1bb6780
device_attach() at device_attach+0xc
scp=3D0xc0324cc8 rlv=3D0xc0325c64 (device_probe_and_attach+0x48)
        rsp=3D0xc06fcc88 rfp=3D0xc06fcc98
        r10=3D0xc1bb6780 r8=3D0xc1bdae80
        r7=3D0xc1bdae94 r6=3D0xc1bb6780 r5=3D0xc1bdae80 r4=3D0xc1c10100
device_probe_and_attach() at device_probe_and_attach+0xc
scp=3D0xc0325c28 rlv=3D0xc0325c94 (bus_generic_attach+0x20)
        rsp=3D0xc06fcc9c rfp=3D0xc06fccac
        r4=3D0xc1c10100
bus_generic_attach() at bus_generic_attach+0xc
scp=3D0xc0325c80 rlv=3D0xc0231994 (fdt_immr_addr+0x1008)
        rsp=3D0xc06fccb0 rfp=3D0xc06fccd0
        r4=3D0x00000000

I'll dig into this more later this week.

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2685426E-3B97-40AA-B3BE-3CD4382EB5C8>