From owner-freebsd-arm@FreeBSD.ORG Sun Jul 28 05:51:33 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2185D96C for ; Sun, 28 Jul 2013 05:51:33 +0000 (UTC) (envelope-from rpaulo@felyko.com) Received: from felyko.com (felyko.com [174.136.100.2]) by mx1.freebsd.org (Postfix) with ESMTP id 065D121BB for ; Sun, 28 Jul 2013 05:51:32 +0000 (UTC) Received: from [IPv6:2601:9:4d00:119:7114:a5a0:cbe8:5309] (unknown [IPv6:2601:9:4d00:119:7114:a5a0:cbe8:5309]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 3E1503982B for ; Sat, 27 Jul 2013 22:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=felyko.com; s=mail; t=1374990692; bh=YSWozDLkZJRkaGbSK8zPnkCbPFDvnRzfwW8UoYG8p7k=; h=Subject:From:In-Reply-To:Date:References:To; b=TLLyNVCPXl0s0grAFdQ67jOtsv7Gdpo3yjo29O50pjF4SA+0jIZE5A9WP1r5H/RhM TvN5KOu279y4Y1YY7bp1eP7ivtXzPy1PHTctNn4w3jsIinYR3EJa2Prs2mvpSkXRuK jvDnzD0rz0sSdPEj04wn9ziy++pKZJH3syej3Zs0= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: External Non-Linefetch Abort (S) From: Rui Paulo In-Reply-To: <3C6B0B0D-3F16-44A5-8DF2-A79CBD0D02D3@felyko.com> Date: Sat, 27 Jul 2013 22:51:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3C6B0B0D-3F16-44A5-8DF2-A79CBD0D02D3@felyko.com> To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.1508) 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: Sun, 28 Jul 2013 05:51:33 -0000 On 27 Jul 2013, at 20:33, Rui Paulo wrote: > On the BeagleBone, I'm trying to access this address 0x4a300000. I = know there is a device there (the PRUSS) and I should be able to access = it, but instead I get this data abort trap: >=20 > Fatal kernel mode data abort: 'External Non-Linefetch Abort (S)' > trapframe: 0xc08c5c84 > FSR=3D00001008, FAR=3Dd4a5c000, spsr=3D60000093 > r0 =3D00000000, r1 =3Dd4a5c000, r2 =3D00000000, r3 =3Dc062a908 > r4 =3D00000000, r5 =3Dc08c5ce4, r6 =3Dc1825500, r7 =3Dc18eb700 > r8 =3Dffffffff, r9 =3Dc1825d80, r10=3Dc1825500, r11=3Dc05511e0 > r12=3D00000015, ssp=3Dc08c5cd0, slr=3Dc052f1b0, pc =3Dc050bf78 >=20 > [ thread pid 0 tid 100000 ] > Stopped at generic_bs_r_4: ldr r0, [r1, r2] >=20 > It looks like 0xd4a5c000 is the virtual address that points to = 0x4a300000 (I checked with vtophys()). >=20 > Does anyone know what this problem could be? I made sure the clock for = this device are running. Nevermind, I missed one PRCM bit... -- Rui Paulo