FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)

Kong, Dev dev at macdevshanghai.com
Sat Jan 12 08:49:21 UTC 2013


kernel
http://www.peach.ne.jp/archives/rpi/kernel/kernel-20130112.gz
on My box boot error
FreeBSD 10.0-CURRENT #0 r244906M: Sat Jan 12 06:55:09 JST 2013
    aoyama at fbs.local:/usr/obj-rpi-clang/arm.armv6/usr/src/sys/RPI-B-test13
arm
CPU: ARM1176JZ-S rev 7 (ARM11J core)
 Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext
 WB enabled LABT branch prediction enabled
  16KB/32B 4-way instruction cache
  16KB/32B 4-way write-back-locking-C data cache
real memory  = 536870912 (512 MB)
avail memory = 500744192 (477 MB)
random device not loaded; using insecure entropy
kbd0 at kbdmux0
simplebus0: <Flattened device tree simple bus> mem 0xf2000000-0xf2ffffff on
fdtbus0
intc0: <BCM2835 Interrupt Controller> mem 0xf200b200-0xf200b3ff on
simplebus0
systimer0: <BCM2835 System Timer> mem 0xf2003000-0xf2003fff irq 8,9,10,11
on simplebus0
Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000
Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000
bcm2835_dma0: <BCM2835 DMA Controller> mem
0xf2007000-0xf2007fff,0xf2e05000-0xf2e05fff irq 26,27 on simplebus0
simplebus0: no default resources for rid = 2, type = 1
bcm2835_dma0: cannot allocate interrupt
device_attach: bcm2835_dma0 attach returned 6
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0xf2300000-0xf23000ff irq
70 on simplebus0
bcm_sdhci_attach(): SDHCI frequency: 50MHz

vm_fault(0xc05010d8, 0, 1, 0) -> 1
Fatal kernel mode data abort: 'Translation Fault (S)'
trapframe: 0xc062ac80
FSR=00000005, FAR=00000014, spsr=600000d3
r0 =00000004, r1 =00000000, r2 =c0440ecb, r3 =000000ba
r4 =c0440ecb, r5 =000000ba, r6 =00000014, r7 =c04022c3
r8 =00000032, r9 =c2e9ad00, r10=c2e9ad14, r11=c062ace0
r12=00000000, ssp=c062accc, slr=c023e6f8, pc =c023e708

[ thread pid 0 tid 100000 ]
Stopped at      __mtx_lock_flags+0x50:  ldr     r0, [r6]
db> bt
Tracing pid 0 tid 100000 td 0xc0500df0
end() at 0xc062a9f0
scp=0xc062a9f0 rlv=0xc03c8208 (db_trace_self+0x14)
        rsp=0xc062a9e4 rfp=0xc04e6d94
Bad frame pointer: 0xc04e6d94

2013/1/12 Andrew Turner <andrew at fubar.geek.nz>

> On Wed, 9 Jan 2013 02:11:12 +0900
> "Daisuke Aoyama" <aoyama at peach.ne.jp> wrote:
> ...
> > Source and pacth is here:
> > http://www.peach.ne.jp/archives/rpi/patch/
>
> You have made changes to files in contrib/llvm/. Are these needed?
> Clang should be supported in head without any patches. I would like to
> know if there are any issues with the copy of llvm & clang we have so I
> can fix them.
>
> Andrew
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>


More information about the freebsd-arm mailing list