Help with Marvel kernel for 88F6281

Donald T Hayford don at donhayford.com
Fri May 1 23:32:44 UTC 2009


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 at 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 at mythtv's password: 
Last login: Wed Apr 29 21:04:11 2009 from fed8-1 
hayford at mythtv$ cd /tftpboot/sheeva
hayford at 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 at 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


More information about the freebsd-arm mailing list