From owner-freebsd-embedded@FreeBSD.ORG Tue Oct 7 01:40:41 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 B8B871065687 for ; Tue, 7 Oct 2008 01:40:41 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8E57E8FC0C for ; Tue, 7 Oct 2008 01:40:41 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 264A41775CE for ; Mon, 6 Oct 2008 21:40:41 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 06 Oct 2008 21:40:41 -0400 X-Sasl-enc: BU/lwPR1hmh11vAhGEaZcdE4PljV8C/9mTY/Z09gokwm 1223343640 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id A97A226EAB for ; Mon, 6 Oct 2008 21:40:40 -0400 (EDT) Message-ID: <48EABE17.3010104@incunabulum.net> Date: Tue, 07 Oct 2008 02:40:39 +0100 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: freebsd-embedded@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Tue, 07 Oct 2008 01:40:41 -0000 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.] cheers BMS