From owner-freebsd-arm@FreeBSD.ORG Thu May 2 07:29:33 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 4AD9612C for ; Thu, 2 May 2013 07:29:33 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from smtprelay-b31.telenor.se (smtprelay-b31.telenor.se [213.150.131.20]) by mx1.freebsd.org (Postfix) with ESMTP id BA7931B44 for ; Thu, 2 May 2013 07:29:32 +0000 (UTC) Received: from ipb5.telenor.se (ipb5.telenor.se [195.54.127.168]) by smtprelay-b31.telenor.se (Postfix) with ESMTP id 50BDFD351 for ; Thu, 2 May 2013 09:29:25 +0200 (CEST) X-SENDER-IP: [85.229.94.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhBAAKcUglFV5V4+PGdsb2JhbABSgwc3AbZwAYgzgQEXAwEBAQE4NYIfAQEBAQIBAQEBJCcIGAsFCwsYLicBBQQIChQGCAcEARwEh2UKCL8wjXCBMgeCcWEDlGeDaJMabIEE X-IronPort-AV: E=Sophos;i="4.87,595,1363129200"; d="scan'208,217";a="320218013" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb5.telenor.se with ESMTP; 02 May 2013 09:29:24 +0200 Received: from gw.inter-sonic.com ([212.247.8.97] helo=[192.168.1.191]) by sigyn.alvermark.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UXnxD-0008uF-Lg; Thu, 02 May 2013 09:29:23 +0200 Subject: Re: Allwinner A13: Fatal kernel mode data abort: 'Translation Fault (S)' Mime-Version: 1.0 (Apple Message framework v1085) From: Jakob Alvermark In-Reply-To: Date: Thu, 2 May 2013 09:29:22 +0200 Message-Id: <17294042-8AA9-4866-95CF-E00FD03ABD2B@alvermark.net> References: <63837.85.229.93.125.1367417396.squirrel@alvermark.net> To: Ganbold Tsagaankhuu X-Mailer: Apple Mail (2.1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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: Thu, 02 May 2013 07:29:33 -0000 On 2 maj 2013, at 05:28, Ganbold Tsagaankhuu wrote: > On Wed, May 1, 2013 at 10:09 PM, Jakob Alvermark = wrote: > Hi again, >=20 > In my effort to get FreeBSD running on the A13 I got a little further, > however not quite so far as I was hoping for. >=20 > Any clues on this? >=20 >=20 > If you built the kernel with custom dts then please try with = cubieboard.dts and see how it works. I found the problem, I had made another mistake. Now it boots to multiuser! I have made some changes to the .dts and drivers and I have some ideas = about doing it a little differently. I will clean it up a bit and send a diff. Maybe someone could review it. The GPIO stuff is also a little different from A10 and needs some work. Jakob > Ganbold >=20 > =20 >=20 > Jakob >=20 > sun5i#go 0x40200100 > ## Starting application at 0x40200100 ... > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2013 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 10.0-CURRENT #0 r250141M: Wed May 1 14:15:44 CEST 2013 > root@test10:/home/jakob/a13-gonzo/obj/arm.armv6/usr/src/sys/A13 = arm > FreeBSD clang version 3.3 (trunk 178860) 20130405 > WARNING: WITNESS option enabled, expect reduced performance. > CPU: Cortex A8-r3 rev 2 (Cortex-A core) > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > WB disabled EABT branch prediction enabled > LoUU:2 LoC:2 LoUIS:1 > Cache level 1: > 32KB/64B 4-way data cache WT WB Read-Alloc > 32KB/64B 4-way instruction cache Read-Alloc > Cache level 2: > 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc > real memory =3D 536870912 (512 MB) > avail memory =3D 511303680 (487 MB) > random device not loaded; using insecure entropy > simplebus0: on fdtbus0 > a13_ccm0: mem 0x1c20000-0x1c203ff on > simplebus0 > a13_timer0: mem 0x1c20c00-0x1c20c8f irq 22 on > simplebus0 >=20 > vm_fault(0xc0716ff8, 0, 1, 0) -> 1 > Fatal kernel mode data abort: 'Translation Fault (S)' > trapframe: 0xc072aad4 > FSR=3D00000005, FAR=3D00000008, spsr=3Da00000d3 > r0 =3D00000000, r1 =3D00000004, r2 =3D00000001, r3 =3Dc2f93b48 > r4 =3D00000120, r5 =3D00000040, r6 =3Dc30ac500, r7 =3D00000000 > r8 =3Dc0716508, r9 =3D00000000, r10=3D00000016, r11=3Dc072ab40 > r12=3Dc0716da4, ssp=3Dc072ab20, slr=3Dc04b0c64, pc =3Dc04c013c >=20 > [ thread pid 0 tid 100000 ] > Stopped at arm_unmask_irq+0x24: ldr r2, [r0, #0x008] > db> >=20 >=20 > _______________________________________________ > 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" >=20