From owner-freebsd-arm@FreeBSD.ORG Fri May 1 23:32:43 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 BFA6E106564A for ; Fri, 1 May 2009 23:32:43 +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 8BD938FC0C for ; Fri, 1 May 2009 23:32:43 +0000 (UTC) (envelope-from don@donhayford.com) Received: from d47-69-178-97.try.wideopenwest.com ([69.47.97.178]:54956 helo=[192.168.1.104]) by rehobot.2ip.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M02Dd-0003qI-HU; Fri, 01 May 2009 16:32:37 -0700 Message-ID: <49FB8696.8020907@donhayford.com> Date: Fri, 01 May 2009 19:32:38 -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> In-Reply-To: <494D378B-B243-4D97-8554-AC3E74A30B8C@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: Fri, 01 May 2009 23:32:44 -0000 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] $ pwd /usr/obj/arm/usr/src/sys/DB-88F6XXX $ ls -la | grep kernel -rwxr-xr-x 1 root wheel 3656905 Apr 26 16:55 kernel -rwxr-xr-x 1 root wheel 2863204 Apr 26 16:55 kernel.bin -rwxr-xr-x 1 root wheel 1467105 Apr 26 16:55 kernel.gz.tramp -rwxr-xr-x 1 root wheel 1455194 Apr 26 16:55 kernel.gz.tramp.bin -rwxr-xr-x 1 root wheel 3494694 Apr 26 16:55 kernel.tramp -rwxr-xr-x 1 root wheel 3483799 Apr 26 16:55 kernel.tramp.bin [copy kernel.bin to my tftp server as /tftpboot/sheeva/6XXXkernel.bin] $ scp kernel.bin mythtv:/tftpboot/sheeva/6XXXkernel.bin hayford@mythtv's password: kernel.bin 0% 0 0.0KB/s --:-- ETA kernel.bin 100% 2796KB 2.7MB/s 00:01 [log onto tftp server and list the appropriate directory] $ ssh mythtv hayford@mythtv's password: Last login: Wed Apr 29 21:04:11 2009 from fed8-1 hayford@mythtv$ cd /tftpboot/sheeva hayford@mythtv$ ls -la total 8428 drwxrwxr-x 2 hayford hayford 4096 2009-04-30 20:47 . drwxrwxrwx 17 nobody nobody 4096 2009-04-26 12:22 .. -rwxr-xr-x 1 hayford hayford 2870196 2009-04-30 20:47 5XXXkernel.bin -rwxr-xr-x 1 hayford hayford 2863204 2009-05-01 18:17 6XXXkernel.bin -rwxr-xr-x 1 hayford hayford 2863204 2009-04-26 12:27 kernel.bin hayford@mythtv$ exit [now boot up the sheevaplug] Marvell>> tftpboot 0x900000 sheeva/6XXXkernel.bin Using egiga0 device TFTP from server 192.168.1.102; our IP address is 192.168.1.246 Filename 'sheeva/6XXXkernel.bin'. Load address: 0x900000 Loading: *#################################################################\ ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################################## done Bytes transferred = 2863204 (2bb064 hex) 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. Thanks for looking into it. Regards, Don