From owner-freebsd-arm@FreeBSD.ORG Tue May 5 00:12:21 2009 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 7891A106566B for ; Tue, 5 May 2009 00:12:21 +0000 (UTC) (envelope-from don@donhayford.com) Received: from rehobot.2ip.com (rehobot.2ip.com [75.125.216.154]) by mx1.freebsd.org (Postfix) with ESMTP id 303CD8FC08 for ; Tue, 5 May 2009 00:12:21 +0000 (UTC) (envelope-from don@donhayford.com) Received: from d47-69-178-97.try.wideopenwest.com ([69.47.97.178]:42236 helo=[192.168.1.104]) by rehobot.2ip.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M18Gd-00020t-VW; Mon, 04 May 2009 17:12:16 -0700 Message-ID: <49FF8461.6020406@donhayford.com> Date: Mon, 04 May 2009 20:12:17 -0400 From: Donald T Hayford User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Rafal Jaworowski References: <49FA5B75.9090008@donhayford.com> <49FADE9B.1080806@donhayford.com> <494D378B-B243-4D97-8554-AC3E74A30B8C@semihalf.com> <49FB8696.8020907@donhayford.com> <72D23F68-EE62-4297-88F4-6CA0132F0293@semihalf.com> In-Reply-To: <72D23F68-EE62-4297-88F4-6CA0132F0293@semihalf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rehobot.2ip.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - donhayford.com Cc: freebsd-arm@freebsd.org Subject: Re: Help with Marvel kernel for 88F6281 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: Tue, 05 May 2009 00:12:21 -0000 Rafal Jaworowski wrote: > > On 2009-05-02, at 01:32, Donald T Hayford wrote: > >> Rafal Jaworowski wrote: >>> >>> On 2009-05-01, at 13:35, Donald T Hayford wrote: >>> >>>> Rafal Jaworowski wrote: >>>> >>> >>> [...] >>> >>> I don't see any mismatches WRT internal SOC registers location etc. >>> and need to look a bit closer to the SheevaPlug docs. >>> >>> Just a basic clarification: you are 100% sure the correct DB-88F6XXX >>> kernel image is used, right? >>> >>> Rafal >>> >> I'm as sure as I can be. >> >> [verify the directory on the FreeBSD machine is the 6XXX directory] > > OK, thanks for verfiication. > >> Marvell>> go 0x900000 >> ## Starting application at 0x00900000 ... >> [sheevaplug hangs up] >> >> Note that the file size that was loaded by UBoot was 2863204 bytes >> long, the same as the length of the file in the directory listing >> above. The 5XXX kernel is slightly longer at 2870196 bytes. > > Please do a quick experiment: eliminate (#if 0) contents of the > platform_mpp_init() in sys/arm/mv/kirkwood/db88f6xxx.c and > recompile/rerun. The SP device could have MPP/GPIO layed out > differently (note you're using DB-88F6281 dev board configuration): we > could be overwriting UART lines connection settings and hence lose > console output. > > Rafal > Commented out all of the code in /usr/src/sys/arm/mv/kirkwood/db88f6xxx.c/platform_mpp_init(). New kernel size is 2862968; i.e., 336 bytes shorter. Unfortunately, the same result: Marvell>> go 0x900000 ## Starting application at 0x00900000 ... [sheevaplug hangs up] Regards, Don