From owner-freebsd-arm@FreeBSD.ORG Thu Jul 16 13:10:33 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 7B5D31065673 for ; Thu, 16 Jul 2009 13:10:33 +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 2F3868FC14 for ; Thu, 16 Jul 2009 13:10:33 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from stasss.yandex.ru (dhcp170-227-red.yandex.net [95.108.170.227]) by mx0.deglitch.com (Postfix) with ESMTPSA id 24BB78FC27; Thu, 16 Jul 2009 17:10:31 +0400 (MSD) Date: Thu, 16 Jul 2009 17:10:30 +0400 From: Stanislav Sedov To: hpcharles@gmail.com Message-Id: <20090716171030.a0e7a3f0.stas@FreeBSD.org> In-Reply-To: <4734a3ed0907150752g595b680frcacba26da7979479@mail.gmail.com> References: <4734a3ed0907150752g595b680frcacba26da7979479@mail.gmail.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=_Thu__16_Jul_2009_17_10_30_+0400_guTENwVAxq1_al2G" Cc: freebsd-arm@freebsd.org Subject: Re: qemu / boot parameter 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: Thu, 16 Jul 2009 13:10:33 -0000 --Signature=_Thu__16_Jul_2009_17_10_30_+0400_guTENwVAxq1_al2G Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 15 Jul 2009 16:52:40 +0200 Henri-Pierre Charles mentioned: > Hello list, I try to do my first FreeBSD/arm installation. I plan to > use qemu. I've started with this page > http://people.freebsd.org/~cognet/freebsd_arm.txt for kernel/world > build. For my personnal teaching, I've summarized these instructions > in the attached script. >=20 > Now, I'm stuck with qemu. I've tried many invocation, and the best > result I get is with qemu-system-arm hda.img -boot n \ > -tftp $ARMFS/boot/kernel/ -bootp /kernel \ > -kernel $ARMFS/boot/kernel/kernel \ > -m 300 \ > -M integratorc >=20 > And I get : > qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0200100 > (which is not far from KERNVIRTADDR) >=20 > I miss something somewhere ? Any idea ? >=20 As far as I know we don't currently support qemu ARM/intergrator platform. However, current versions of qemu can emulate XScale devices (gumstix, for example), so you may want to try this type of emulation with your XScale kernel. Please note, however, that qemu usually emulate specific memory layouts that may not match what FreeBSD kernel which was configured to run on the different hardware would expect. So a bit of hand-tweaking might be required. You should study where qemu maps memory and onboard devices, and how it passes the control to FreeBSD kernel and make the appropriate modifications to the code/kernel config. Hope that helps. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__16_Jul_2009_17_10_30_+0400_guTENwVAxq1_al2G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKXybGAAoJEKN82nOYvCd0oFEP/0PEIVKyls+UHmHdjJhtjXlF 8mFOLeQgua+f5FxYgOymTXhh+3Jq6wq1p/DElL/Qf9LIB78A14p6iDzHjHGuJKOS Q2RFEQpBkWIk1DeOlr2/g+wCOC+DLAtWnzxNYE2kmdjG9kxY4jQ0c0bGWTn7Omhg 3RhgwAlPmSEEyqy+1uNaXMsLXoVMIY1YmmEmylhMF/YlQU8JPknRPeCvGYAZHaWY XSqxhZVrFY4kWOKQcytJT+Fh0HiE3AW0zCvPmO9pEILSjOpafwEx9MOC1FrKO+vQ ea2uNMr4DWVg7oBHWl3hE44EkJ9u0i3uNiKPhRcEmkicX4Bb+IjcNFEXDX6YOnTv PPFUD1RkgZXT9HIgrbRISanp2H+oOkoafUf4x5QoZzjydHbbfw+kCubkuKZM64ar 5VSFE62Cs0+QUCFlV+0yXVaAMFXvipRz1wDGWysVBwwUrCe/R7BUkuDoNpKpzbO9 W9PMAbCmRDK9hKi7Ejb4iUW7HTSZyV+6bM3oioBiAldPrwEmiggayxtCOZ/bkZTq SFuWIXrPcpsVYKt6n3zjjbjFsLPvfV8fLX472PVDuScbrg0hd0lN8ZxfTVgTSquj LtpiQDAM4+lVevHlvwTC7BNnj4sxWpV4ccUkn1Qt2by7dBJ5nZMay5z6xoilYRrz WJJ7rep2r9HD314W0sCv =y1kB -----END PGP SIGNATURE----- --Signature=_Thu__16_Jul_2009_17_10_30_+0400_guTENwVAxq1_al2G--