From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 8 23:23:58 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DAB71065687 for ; Wed, 8 Oct 2008 23:23:58 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 091018FC20 for ; Wed, 8 Oct 2008 23:23:57 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=orion.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1Knhx2-0006gN-OO; Thu, 09 Oct 2008 02:56:16 +0400 Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id F30B9398F1; Thu, 9 Oct 2008 02:56:45 +0400 (MSD) Date: Thu, 9 Oct 2008 02:56:41 +0400 From: Stanislav Sedov To: Bruce M Simpson Message-Id: <20081009025641.e6d015bb.stas@FreeBSD.org> In-Reply-To: <48EABE17.3010104@incunabulum.net> References: <48EABE17.3010104@incunabulum.net> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__9_Oct_2008_02_56_41_+0400_1Wip06T1sB.p5Zjm" Cc: freebsd-embedded@freebsd.org Subject: Re: Problems with NSLU2 and U-Boot X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 23:23:58 -0000 --Signature=_Thu__9_Oct_2008_02_56_41_+0400_1Wip06T1sB.p5Zjm Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 07 Oct 2008 02:40:39 +0100 Bruce M Simpson mentioned: > I am trying to get the NSLU2 to natively boot FreeBSD from flash itself=20 > w/o any TFTP server. >=20 > Thanks to Rink and Rafal's help, I managed to get U-Boot installed and=20 > working on the Linksys NSLU2. > Using hints from the OpenMoko page, I generated a U-Boot image from an=20 > NSLU2 kernel build from -CURRENT, and managed to boot it over the=20 > network -- however -- the kernel is not coming up. > mkimage hints here: http://wiki.openmoko.org/wiki/FreeBSD >=20 > If I add 'options VERBOSE_SYSINIT' to the kernel config, I can see that=20 > the kernel is going off into space... right after init_turnstile0() is=20 > called. MMU problems? >=20 > [I had to track this down with nm, as addr2line seems to only print the=20 > first patch.] >=20 > I saw similar symptoms when trying to boot with the simple ELF=20 > trampoline, from both RedBoot and U-Boot on the NSLU2. An ELF kernel=20 > loaded into RedBoot seemed to work just fine, providing the load address= =20 > was given explicitly. >=20 > [Recall: The problem with RedBoot on the NSLU2 is that its boot-time=20 > settings cannot be changed, it is locked into executing a Linux-style=20 > image at a hard wired address, so a change of firmware may be necessary=20 > in order to boot FreeBSD natively on that platform.] >=20 Are you sure that u-boot loads your kernel to correct address. Have you tryed loading a plain ELF image (or binary) and jumping to entry point? --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__9_Oct_2008_02_56_41_+0400_1Wip06T1sB.p5Zjm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjtOq0ACgkQK/VZk+smlYGvyACfZfmiWAWcxe1oJRJTlHWtd3KH wVAAniAQix0ppQQ5m2Ei0oHv45fqsKyI =J7Tc -----END PGP SIGNATURE----- --Signature=_Thu__9_Oct_2008_02_56_41_+0400_1Wip06T1sB.p5Zjm--