From owner-freebsd-arm@FreeBSD.ORG Sat May 2 15:30:49 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 6FA471065678 for ; Sat, 2 May 2009 15:30:49 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB6B8FC27 for ; Sat, 2 May 2009 15:30:49 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n42FUYL3031021; Sat, 2 May 2009 09:30:35 -0600 Received: from apn-77-113-24-183.dynamic.gprs.plus.pl (apn-77-113-24-183.dynamic.gprs.plus.pl [77.113.24.183]) by mail.semihalf.com (Postfix) with ESMTP id C68C9142A6; Sat, 2 May 2009 17:30:31 +0200 (CEST) Message-Id: <72D23F68-EE62-4297-88F4-6CA0132F0293@semihalf.com> From: Rafal Jaworowski To: Donald T Hayford In-Reply-To: <49FB8696.8020907@donhayford.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sat, 2 May 2009 17:30:25 +0200 References: <49FA5B75.9090008@donhayford.com> <49FADE9B.1080806@donhayford.com> <494D378B-B243-4D97-8554-AC3E74A30B8C@semihalf.com> <49FB8696.8020907@donhayford.com> X-Mailer: Apple Mail (2.930.3) 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: Sat, 02 May 2009 15:30:50 -0000 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: >>>> >>>> On 2009-05-01, at 04:16, Donald T Hayford wrote: >>>> >>>>> I built FreeBSD-8 (current) kernel and world for the Marvel >>>>> chipsets using the instructions here: >>>>> http://wiki.freebsd.org/FreeBSDMarvell >>>>> >>>>> When I tried booting a Sheevaplug (Marvel 88F6281), the system >>>>> hangs as soon as I start it: >>>> >>>> Please show the output of the 'map' command at U-Boot prompt. >>>> >>> I apologize for the bad pasting job - I'll try again. Hopefully >>> this one is easier to read. >>> >>> Marvell>> map CPU Interface >>> ------------- >> >> [...] >> >> 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