From owner-freebsd-embedded@FreeBSD.ORG Tue Oct 14 09:30:04 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 9B23F106568C for ; Tue, 14 Oct 2008 09:30:04 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 651A28FC12 for ; Tue, 14 Oct 2008 09:30:04 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m9E9ANTF015146; Tue, 14 Oct 2008 03:10:24 -0600 Message-ID: <48F461FD.1050800@semihalf.com> Date: Tue, 14 Oct 2008 11:10:21 +0200 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: "M. Warner Losh" References: <48F39798.3010606@incunabulum.net> <20081013.125648.1239212699.imp@bsdimp.com> <48F3A0EE.7040003@incunabulum.net> <20081013.134720.1079617746.imp@bsdimp.com> In-Reply-To: <20081013.134720.1079617746.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: ELF loader problem with CFE on ASUS WL500g 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, 14 Oct 2008 09:30:04 -0000 M. Warner Losh wrote: > : Unfortunately CFE comes with bugs attached, and there are usually no > : alternative boot loaders available due to Broadcom's less than, shall we > : say, "open" attitude towards open source. *ahem* > : > : So yeah, it sounds like we probably need something like the ARM ELF > : trampoline for MIPS ideally. > > That's what I'm talking about. Using CFE to boot FreeBSD kernel. > we're unlikely to be able to put the u-boot syscall features into CFE, > so we won't be able to leverage that work... But CFE has its own notion of API that standalone apps ("applets" as they call it) can utilise. It shouldn't be too difficult to provide glue for loader(8) to work on top of CFE, provided the firmware exports some necessary functionality (console, net, maybe storage). Rafal