Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 02:56:41 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Bruce M Simpson <bms@incunabulum.net>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Problems with NSLU2 and U-Boot
Message-ID:  <20081009025641.e6d015bb.stas@FreeBSD.org>
In-Reply-To: <48EABE17.3010104@incunabulum.net>
References:  <48EABE17.3010104@incunabulum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <bms@incunabulum.net> 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--



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