From owner-freebsd-embedded@FreeBSD.ORG Tue Jan 15 17:08:32 2008 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 252D216A468 for ; Tue, 15 Jan 2008 17:08:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id DFC1C13C4E9 for ; Tue, 15 Jan 2008 17:08:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id m0FH4AEt068194; Tue, 15 Jan 2008 10:04:11 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 15 Jan 2008 10:06:00 -0700 (MST) Message-Id: <20080115.100600.-1350498837.imp@bsdimp.com> To: raj@semihalf.com From: "M. Warner Losh" In-Reply-To: <478CD60B.7040901@semihalf.com> References: <478CD60B.7040901@semihalf.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: embedded@freebsd.org Subject: Re: Interfacing FreeBSD with 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, 15 Jan 2008 17:08:32 -0000 In message: <478CD60B.7040901@semihalf.com> Rafal Jaworowski writes: : Hi, : : The topic of integrating FreeBSD with U-Boot has already been discussed here, : so I'd like to let people know that the following code has recently been : integrated with main line U-Boot: : : http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=500856eb1707ed17d9204baa61dd59948d3b2899 : : This brings a machine and arch independent API which allows to utilise U-Boot : facilities (console, storage, networking) in standalone applications; the : interface was developed in order to have embedded FreeBSD/powerpc running on : U-Boot-based devices in native and uniform manner: loader(8) runs as a : standalone application on top of U-Boot and kicks off the kernel as expected. : : Initial code for loader(8) + gluing with this new API is available on the P4 : e500 branch, and was tested with Freescale MPC85xx PowerPC systems. It mostly : comprises a generic lib, with only a tiny and well defined piece dependent on : the machine so that other embedded architectures (ARM, MIPS) can use it with : minimal effort. This is great news. I'll see about getting the necessary bits for the arm and mips stuff I'm working on in shape. I'm curious about one thing. What would happen if one were to boot the kernel directly on an unmodified uboot system? Warner