From owner-freebsd-arm@FreeBSD.ORG Sat Jan 12 08:49:21 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0F2F37F7 for ; Sat, 12 Jan 2013 08:49:21 +0000 (UTC) (envelope-from dev@macdevshanghai.com) Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by mx1.freebsd.org (Postfix) with ESMTP id B0E82B6E for ; Sat, 12 Jan 2013 08:49:20 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id b14so1602579qcs.38 for ; Sat, 12 Jan 2013 00:49:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=Y2fq0koQl0fdOm706s05s27UVfA5+SbH2/W4tHj3EIk=; b=c2pGtqzkMPR8ZxEAi4jsJLYYEovf9fvKnEwyE+C45Dvma7vDNFdfsUUzXYo+x5SaiX sqbJQOlPXmjsQ6yEiT/RgkvlbzO8QIjkJ82e0em0de/5QzXIwEY1prs15K+gaEiAz9Uc C6b03Y2Lnpl/t6W60YOZTy5sEy8MiPS/vALObxCvTfPHOE34jRph56MVOG+KehR/Gw9o 7VWqorBY90puLaIs3/wqa3obb7U+MQkOeyYQo1ASW0G5rsctKFAeNr3JZn+PISUp00p4 IlE5hfUgYw/tyiJtVBBCc4bcz09mNUcDJOCPDKqXL5w+kDQDC4wtDiDoQhuYQKblLXJA 8T7w== MIME-Version: 1.0 Received: by 10.224.117.70 with SMTP id p6mr51551872qaq.88.1357980554041; Sat, 12 Jan 2013 00:49:14 -0800 (PST) Received: by 10.49.97.70 with HTTP; Sat, 12 Jan 2013 00:49:13 -0800 (PST) X-Originating-IP: [101.228.106.104] In-Reply-To: <20130112194902.7e161b59@fubar.geek.nz> References: <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <20130112194902.7e161b59@fubar.geek.nz> Date: Sat, 12 Jan 2013 16:49:13 +0800 Message-ID: Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr) From: "Kong, Dev" To: Andrew Turner X-Gm-Message-State: ALoCoQkr9RLlPbT7KABlHvCropyqbvMVwLzXBQ5FXamdLdg0TA93NiG0q1bajPwRRVkBgMk1/K+D Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2013 08:49:21 -0000 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@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: mem 0xf2000000-0xf2ffffff on fdtbus0 intc0: mem 0xf200b200-0xf200b3ff on simplebus0 systimer0: 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: 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: 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 > On Wed, 9 Jan 2013 02:11:12 +0900 > "Daisuke Aoyama" 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >