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
[-- Attachment #1 --] 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 > w/o any TFTP server. > > Thanks to Rink and Rafal's help, I managed to get U-Boot installed and > working on the Linksys NSLU2. > Using hints from the OpenMoko page, I generated a U-Boot image from an > NSLU2 kernel build from -CURRENT, and managed to boot it over the > network -- however -- the kernel is not coming up. > mkimage hints here: http://wiki.openmoko.org/wiki/FreeBSD > > If I add 'options VERBOSE_SYSINIT' to the kernel config, I can see that > the kernel is going off into space... right after init_turnstile0() is > called. MMU problems? > > [I had to track this down with nm, as addr2line seems to only print the > first patch.] > > I saw similar symptoms when trying to boot with the simple ELF > trampoline, from both RedBoot and U-Boot on the NSLU2. An ELF kernel > loaded into RedBoot seemed to work just fine, providing the load address > was given explicitly. > > [Recall: The problem with RedBoot on the NSLU2 is that its boot-time > settings cannot be changed, it is locked into executing a Linux-style > image at a hard wired address, so a change of firmware may be necessary > in order to boot FreeBSD natively on that platform.] > 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? -- Stanislav Sedov ST4096-RIPE [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjtOq0ACgkQK/VZk+smlYGvyACfZfmiWAWcxe1oJRJTlHWtd3KH wVAAniAQix0ppQQ5m2Ei0oHv45fqsKyI =J7Tc -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081009025641.e6d015bb.stas>
