Date: Fri, 01 May 2009 19:32:38 -0400 From: Donald T Hayford <don@donhayford.com> To: Rafal Jaworowski <raj@semihalf.com> Cc: freebsd-arm@freebsd.org Subject: Re: Help with Marvel kernel for 88F6281 Message-ID: <49FB8696.8020907@donhayford.com> In-Reply-To: <494D378B-B243-4D97-8554-AC3E74A30B8C@semihalf.com> References: <49FA5B75.9090008@donhayford.com> <D12A7520-0AA8-4A25-8FF7-EE75FE91C89D@semihalf.com> <49FADE9B.1080806@donhayford.com> <494D378B-B243-4D97-8554-AC3E74A30B8C@semihalf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49FB8696.8020907>