Problems with NSLU2 and U-Boot
stas at FreeBSD.org
Wed Oct 8 23:23:58 UTC 2008
On Tue, 07 Oct 2008 02:40:39 +0100
Bruce M Simpson <bms at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-embedded/attachments/20081008/548c1124/attachment.pgp
More information about the freebsd-embedded