From owner-freebsd-arm@FreeBSD.ORG Fri Sep 25 13:20:51 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 D572A106568B for ; Fri, 25 Sep 2009 13:20:51 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 61CD48FC1B for ; Fri, 25 Sep 2009 13:20:51 +0000 (UTC) Received: from stasss.yandex.ru (dhcp170-227-red.yandex.net [95.108.170.227]) by mx0.deglitch.com (Postfix) with ESMTPSA id 8BFBF8FC45; Fri, 25 Sep 2009 17:20:49 +0400 (MSD) Date: Fri, 25 Sep 2009 17:20:49 +0400 From: Stanislav Sedov To: Tom Judge 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> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__25_Sep_2009_17_20_49_+0400_euEB_6gJnnEWpimv" Cc: Rui Paulo , freebsd-arm@freebsd.org Subject: Re: Adding support for the Intel SS4000-E NAS aka the EM-7210 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, 25 Sep 2009 13:20:52 -0000 --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 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--