From owner-freebsd-arm@FreeBSD.ORG Mon Feb 10 04:26:42 2014 Return-Path: Delivered-To: freebsd-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 ESMTPS id 2007B85A; Mon, 10 Feb 2014 04:26:42 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0CA71D12; Mon, 10 Feb 2014 04:26:41 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s1A4QdU5051013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 10 Feb 2014 05:26:39 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s1A4Qbap002450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Feb 2014 05:26:37 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s1A4QbuL091724; Mon, 10 Feb 2014 05:26:37 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s1A4Qb8B091723; Mon, 10 Feb 2014 05:26:37 +0100 (CET) (envelope-from ticso) Date: Mon, 10 Feb 2014 05:26:37 +0100 From: Bernd Walter To: Ian Lepore Subject: Re: wandboard / imx6 / exynos4 / cortex-a9 "wrong-endian bug" fixed Message-ID: <20140210042637.GC89777@cicely7.cicely.de> References: <1391371204.13026.43.camel@revolution.hippie.lan> <20140202230450.GA42331@cicely7.cicely.de> <20140210041313.GB89777@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140210041313.GB89777@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm , Bernd Walter X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: ticso@cicely.de List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 04:26:42 -0000 On Mon, Feb 10, 2014 at 05:13:13AM +0100, Bernd Walter wrote: > On Mon, Feb 03, 2014 at 12:04:50AM +0100, Bernd Walter wrote: > > On Sun, Feb 02, 2014 at 01:00:04PM -0700, Ian Lepore wrote: > > > As some of you know from previous email or irc conversations, I've been > > > chasing a strange bug for months that affects some cortex-a9 chips, > > > which I've been calling the "wrong-endian bug", where some registers get > > > restored with wrong-endian values on return from an interrupt, leading > > > to a panic or crash during boot. > > > > This is very great news and a pretty amazing job to find this. > > Thank you very much! > > In the end it also exaplains the tempeerature dependency on the > > Wandboards and why it always happened on my MarSboard. > > Unfortunately I'm still time contrained, but likely I will at least > > find enough time to do some tests on my iMX6 board collection next > > weekend. > > I did build recent current (R261700) with recent crochet. > the ethernet problem is not reproduceable, this resize crash however is with a fresh dd'ed image. > uhub2: MTT enabled > Root mount waiting for: usbus1 > uhub2: 4 ports with 4 removable, self powered > ugen1.3: at usbus1 > uhid0: on usbus1 > Trying to mount root from ufs:mmcsd0s2a []... > warning: no time-of-day clock registered, system time will not be set accurately > start_init: trying /sbin/init > Enlarging root partition > GEOM_PART: mmcsd0s2 was automatically resized > GEOM_PART: partition 1 is not aligned on 4194304 bytes > GEOM: Reconfigure ufsid/52f839542ea1d0a7, start 0 length 7887366144 end 7887366143 > > vm_fault(0xc24e4560, 0, 1, 0) -> 1 > Fatal kernel mode data abort: 'Translation Fault (P)' > trapframe: 0xf4723d68 > FSR=00000017, FAR=00000038, spsr=60000113 > r0 =c6e39f00, r1 =c240670f, r2 =00000000, r3 =c6e3a2e0 > r4 =c6fd9600, r5 =00000000, r6 =00000000, r7 =00000001 > r8 =d61fa800, r9 =00000001, r10=00000000, r11=f4723dc0 > r12=00000001, ssp=f4723db8, slr=c211b354, pc =c211b35c > -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.