Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 17:20:49 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Tom Judge <tom@tomjudge.com>
Cc:        Rui Paulo <rpaulo@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: Adding support for the Intel SS4000-E NAS aka the EM-7210
Message-ID:  <20090925172049.ebecbd64.stas@FreeBSD.org>
In-Reply-To: <4ABCC0AA.7040003@tomjudge.com>
References:  <4AB7A398.4040905@tomjudge.com> <5B269040-CEB8-4E07-9023-9605B04A62DA@gmail.com> <4ABCC0AA.7040003@tomjudge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__25_Sep_2009_17_20_49_+0400_euEB_6gJnnEWpimv
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, 25 Sep 2009 13:07:54 +0000
Tom Judge <tom@tomjudge.com> mentioned:

> Rui Paulo wrote:
> > On 21 Sep 2009, at 17:02, Tom Judge wrote:
> >
> >> Hi,
> >>
> >> I am trying to add support for the Intel SS4000-E/EM7210 to FreeBSD, I
> >> have copied all of the files for the EP80219 as this seems to be what
> >> the board is based on, and modified the interrupt assignment code.  See
> >> the patch agains sys/arm here: http://www.tomjudge.com/tmp/em-7210-pat=
ch
> >>
> >> I am also having trouble with loading the kernel at the default
> >> location, (instructions from here: http://wiki.freebsd.org/FreeBSDAvil=
a)
> >> as RedBoot reports that there is no memory at the load address.
> >> Currently when I try to load this kernel at the phys address using
> >> reboot and try to run the kernel I get nothing outputed on the console.
> >> I used the phys address from the addresses that the linux kernel is
> >> loaded into out of flash. (see output below)
> >>
> >> Could someone please give me some hints on what I am doing wrong and
> >> need to change?  The board is currently supported by the Linux kernel
> >> (as the em7210.c) so I was hoping that adding support to FreeBSD would
> >> not be difficult.
> >
> > Are you sure 0x200000 is the correct load address?
> >
> > --=20
> > Rui Paulo
> >
> >
> >
> Hi Rui,
>=20
> First I would like to say thanks for replying, this is my first=20
> experiment with trying to get freebsd to work on another platform so=20
> please treat me a newbe to all this (thanks).
>=20
> Looking that where the linux kernel is loaded it seems the load address=20
> is 0x01008000.
>=20
> However it seems like it could be loaded at 0x200000, as there is a=20
> second copy of redboot on the unit, that supports the NIC, that is=20
> loaded add this address.
>=20
> See this here for the details of what get loaded where on the unit:
> http://www.tomjudge.com/index.php/SS4000-E/FreeBSD_Install

The default load address of the AVILA FreeBSD kernel is 10200000 so
it expects to be loaded here.  As I see from your patch you changed
it to be 0x01008000 instead.  So you should probably either load the
kernel to this address, or change the corresponding KERNPHYSADDR
parameter to 0x200000.

Does this board has JTAG port available?  It will make the debugging
much easier.

--=20
Stanislav Sedov
ST4096-RIPE

--Signature=_Fri__25_Sep_2009_17_20_49_+0400_euEB_6gJnnEWpimv
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJKvMOxAAoJEKN82nOYvCd0mQYP/1dMotcqVHqpfsNsN4mfU+xu
oz/d1hHmVQa0LtFmQ+4SHFZDcWNRuzU1pmB7QO28mSKTSGI4qN3c5q7UuvHOVzvf
avtZXqGm0IXxhy88xauMAfeHNapQC8z36XBK6e0PSC+m1VSo+f7L3KcnvLoELL2o
DuwxMd7+r+j4pAJCat65sxFBGAtDNfyssNoJbWFQrwXcq6G34LpuZqq4ryqC+FlN
rmSvYzeyVN1nDCtyWkSU2QPzdcHZKwzucP5rLGgvRjSEOq8PVGOQIF3EbJ6k/bD0
yV6TzfTcIvO/9OlSJiGYOVnIEAWFih/+L3Eh0hrgn88QMlEavvdlaw3n+bETMIB+
2enZmTWJkSSjZHLlibo2uArhJAOzHGT5zzuzbz3sJhCJ3UThMpir6HFqX1kyQ+fo
nnw0ZsjBumSzVnOW95BnjY45Sd3BkYi6AlZNmStbMFp6keHq8BIAiSGxKKYu2IEc
FezwdJcO9h1ca2V4MkPV9sp8jhp9uNqXz6V9LeXzyqNAdUL011B/vpxLyc2XyUs9
VUMDYB93tJSuPuif5NW8aTCLkFqUfXaR50tvrMPyC4g634Xpg9/gWii2QN8UC6qc
ST22JYkZfePZ3NSSb+zJD45isFG5QsynyOSbYPseUSLGcCZXSymqBrtr+ekBSBG/
p77wSjc58tc6IqjnPWr8
=SX1Z
-----END PGP SIGNATURE-----

--Signature=_Fri__25_Sep_2009_17_20_49_+0400_euEB_6gJnnEWpimv--



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