Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 07:45:49 -0300
From:      Rafael Mentz Aquino <rafael@lk6.com.br>
To:        "\"Rafal Jaworowski\"" <raj@semihalf.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Marvel Sheevaplug
Message-ID:  <de208d19356addf570b102774d649ebd@webmail.lk6.com.br>
In-Reply-To: <6AF5CD36-1B59-407C-994C-7D68F46F9227@semihalf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 Hi, there,

I was doing my tests inside a virtual machine. As long as I don=C2=B4t =
know if
that was a problem,
I decided to start from scratch. Using a real machine, after cvsup to
FreeBSD-8-BETA2, I apllied the patch,
and was able to compile the SHEEVAPLUG kernel sucessfully, but after load
into 90000 address position,
it hangs when I run the command "go".

Here is the result of map command.

Marvell>> map

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....base 10000000, size 256MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base 90000000, size 256MB
PEX0_IO ....base f0000000, size 16MB
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base f9000000, size 8MB
SPI_CS ....base f8000000, size 16MB
BOOT_ROM_CS ....base ff000000, size 16MB
DEV_BOOTCS ....base ff000000, size 16MB
CRYPT_ENG ....base fb000000, size 64KB

AHB To MBUS Bridge:
-------------------
win0 - PEX0_MEM base 90000000, ....size 256MB
win1 - NFLASH_CS base f9000000, ....size 8MB
win2 - PEX0_IO base f0000000, ....size 16MB
win3 - SPI_CS base f8000000, ....size 16MB
win4 - BOOT_ROM_CS base ff000000, ....size 16MB
win5 - disable
win6 - disable
win7 - CRYPT_ENG base fb000000, ....size 64KB
win8 - INTER_REGS base f1000000, ....size 1MB

PEX0:
-----

Pex Bars

Internal Regs Bar0.... base f1000000, size 1MB
DRAM Bar1............. base 00000000, size 512MB
Devices Bar2.......... disable

Pex Decode Windows

win0 - SDRAM_CS0 base 00000000, ....size 256MB
win1 - SDRAM_CS1 base 10000000, ....size 256MB
win2 - disable
win3 - disable
win4 - disable
win5 - disable
default win - target unknown
Expansion ROM - NFLASH_CS

USB:
----
Device 0:
win0 - SDRAM_CS0 base 00000000, size 256MB
win1 - SDRAM_CS1 base 10000000, size 256MB
win2 - PEX0_MEM base 90000000, size 256MB
win3 - disable

ETH 0:
----
win0 - SDRAM_CS0 base 00000000, ....size 256MB
win1 - SDRAM_CS1 base 10000000, ....size 256MB
win2 - NFLASH_CS base f9000000, ....size 8MB
win3 - SPI_CS base f8000000, ....size 16MB
win4 - BOOT_ROM_CS base ff000000, ....size 16MB
win5 - disable

ETH 1:
----
win0 - SDRAM_CS0 base 00000000, ....size 256MB
win1 - SDRAM_CS1 base 10000000, ....size 256MB
win2 - NFLASH_CS base f9000000, ....size 8MB
win3 - SPI_CS base f8000000, ....size 16MB
win4 - BOOT_ROM_CS base ff000000, ....size 16MB
win5 - disable

XOR 0:
----
win0 - NFLASH_CS base f9000000, size 8MB
win1 - PEX0_MEM base 90000000, size 256MB
win2 - SDRAM_CS0 base 0, size 256MB
win3 - SDRAM_CS1 base 10000000, size 256MB
win4 - SPI_CS base f8000000, size 16MB
win5 - CRYPT_ENG base fb000000, size 64KB
win6 - disable
win7 - disable

XOR 1:
----
win0 - NFLASH_CS base f9000000, size 8MB
win1 - PEX0_MEM base 90000000, size 256MB
win2 - SDRAM_CS0 base 0, size 256MB
win3 - SDRAM_CS1 base 10000000, size 256MB
win4 - SPI_CS base f8000000, size 16MB
win5 - CRYPT_ENG base fb000000, size 64KB
win6 - disable
win7 - disable

AUDIO:
----
win0 - SDRAM_CS0 base 00000000, ....size 256MB
win1 - SDRAM_CS1 base 10000000, ....size 256MB
Marvell>>

The size of kernel.bin is 2728820.

Marvell>> dhcp
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 52
*** Unhandled DHCP Option in OFFER/ACK: 52
DHCP client bound to address 192.168.2.103
Marvell>> set serverip 192.168.2.10
Marvell>> tftpboot 90000 kernel.bin
Using egiga0 device
TFTP from server 192.168.2.10; our IP address is 192.168.2.103
Filename 'kernel.bin'.
Load address: 0x90000
Loading: #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #############
done
Bytes transferred =3D 2728820 (29a374 hex)
Marvell>> go 90000
## Starting application at 0x00090000 ...

(after that... nothing...)


Thanks again!!!

Rafael Mentz Aquino

=20
----------------mensagem original-----------------
De: "Rafal Jaworowski" raj@semihalf.com
Para: "Rafael Mentz Aquino" rafael@lk6.com.br
cc: freebsd-arm@freebsd.org
Data: Thu, 20 Aug 2009 21:26:34 +0200
-------------------------------------------------
=20
=20
>=20
> On 2009-08-20, at 20:54, Rafael Mentz Aquino wrote:
>=20
>> Good Afternoon,
>>
>> O bought one Marvel Sheevaplug. I already created the cross-compiled=20
>> world,
>> but when I try to compile kernel SHEEVAPLUG, I got an error. I already
>> applied
>=20
> Please include error messages you observe. I received a confirmation=20
> from Donald Hayford that the patch worked fine for him with sources=20
> around Aug 15.
>=20
> The patch as is would not apply cleanly however for very recent HEAD=20
> as some of the changes from the diff were committed individually to=20
> the tree. I'll try to come up with an udated version against =
recent=C5=BD=20
> HEAD tomorrow.
>=20
>> the patch according to the thread below:
>>
>>=20
>> http://lists.freebsd.org/pipermail/freebsd-arm/2009-August/001918.
>> html
>>
>> Without the patch, I can compile kernel 88F6XXX, but freezes when I
>> try to use it at sheevaplug.
>=20
> Don't use the DB- config for SP, it won't work.
>=20
> Rafal
>=20
>=20
> --=20
> Esta mensagem foi verificada pelo sistema de antiv=C3=ADrus e
> acredita-se estar livre de perigo.
>=20
>=20

--=20

Rafael Mentz Aquino

LK6 Inform=C3=A1tica Ltda.

051 - 4063 6269





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de208d19356addf570b102774d649ebd>