From owner-freebsd-arm@FreeBSD.ORG Fri Nov 9 23:47:35 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BF1A16A420 for ; Fri, 9 Nov 2007 23:47:35 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from com1.ht-systems.ru (mr1.ht-systems.ru [78.110.50.56]) by mx1.freebsd.org (Postfix) with ESMTP id 0BF3613C4AA for ; Fri, 9 Nov 2007 23:47:34 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from quasar.ht-systems.ru ([78.110.49.49]) by com1.ht-systems.ru with esmtp (Exim 4.62) (envelope-from ) id 1IqdZQ-0004NT-Ct; Sat, 10 Nov 2007 02:47:28 +0300 Received: from quasar.ht-systems.ru (localhost [127.0.0.1]) by quasar.ht-systems.ru (8.14.1/8.14.1) with ESMTP id lA9NmQIX074249; Sat, 10 Nov 2007 02:48:26 +0300 (MSK) (envelope-from stas@quasar.ht-systems.ru) Received: (from stas@localhost) by quasar.ht-systems.ru (8.14.1/8.14.1/Submit) id lA9NmPJm074248; Sat, 10 Nov 2007 02:48:25 +0300 (MSK) (envelope-from stas) Date: Sat, 10 Nov 2007 02:48:25 +0300 From: Stanislav Sedov To: Olivier Houchard Message-ID: <20071109234825.GI899@dracon.ht-systems.ru> References: <20071109133153.GE899@dracon.ht-systems.ru> <20071109152203.GA50755@ci0.org> <20071109144932.GG899@dracon.ht-systems.ru> <20071109154712.GA51100@ci0.org> <20071109152304.GH899@dracon.ht-systems.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071109152304.GH899@dracon.ht-systems.ru> Organization: The FreeBSD Project X-Voice: +7 916 849 20 23 X-XMPP: ssedov@jabber.ru X-Yahoo: stanislav_sedov X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-University: MEPhI X-Mailer: carrier-pigeon X-Operating-System: FreeBSD quasar.ht-systems.ru 7.0-BETA2 FreeBSD 7.0-BETA2 Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD under skyeye X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 23:47:35 -0000 On Fri, Nov 09, 2007 at 06:23:04PM +0300 Stanislav Sedov mentioned: > On Fri, Nov 09, 2007 at 04:47:12PM +0100 Olivier Houchard mentioned: > > Yes that's the correct procedure. > > If it's stopped at the _start address, it's probably a memory mapping issue. > > Well, it was my fault to think it stops at _start. If gdb server is enabled it > requires explicit 'continue' call to start. > > After a bit of investigation I discovered it stops just after enabling the MMU > (mcr command, locore.S:153). Thus it's really something wrong with mappings. > Ok, it seems that I've found the problem. The STARTUP_PAGETABLE_ADDR address was set up to 0x20800000, and there was no mapping for this address in the skyeye config. So it's my definitely my fault. Now it boots slightly further, but then hangs:-( So there exists some work to do. -- Stanislav Sedov ST4096-RIPE