From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 14 11:06:57 2008 Return-Path: Delivered-To: freebsd-embedded@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B34C16A46B for ; Mon, 14 Jan 2008 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB9EF13C43E for ; Mon, 14 Jan 2008 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0EB6uGL052504 for ; Mon, 14 Jan 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0EB6u5q052500 for freebsd-embedded@FreeBSD.org; Mon, 14 Jan 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Jan 2008 11:06:56 GMT Message-Id: <200801141106.m0EB6u5q052500@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org 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: Mon, 14 Jan 2008 11:06:57 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o misc/28255 embedded [picobsd] picobsd documentation still references old . o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c f misc/52255 embedded [picobsd] picobsd build script fails under FreeBSD 5.0 o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 6 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 14 18:03:03 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 6961316A419 for ; Mon, 14 Jan 2008 18:03:03 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id D4D1613C447 for ; Mon, 14 Jan 2008 18:03:02 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 8EB628919D for ; Mon, 14 Jan 2008 12:43:37 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 14 Jan 2008 12:43:37 -0500 X-Sasl-enc: 8qWflj/uvnng8PBpIJdQyIWcO8wT7KeRpZKhu2R/BNxL 1200332617 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 ESMTP id E6E3A2D077 for ; Mon, 14 Jan 2008 12:43:36 -0500 (EST) Message-ID: <478B9F47.5010502@FreeBSD.org> Date: Mon, 14 Jan 2008 17:43:35 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: freebsd-embedded@FreeBSD.org Content-Type: multipart/mixed; boundary="------------090306040200080807080004" Cc: Subject: [Fwd: exmap port - shared memory profiler] 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: Mon, 14 Jan 2008 18:03:03 -0000 This is a multi-part message in MIME format. --------------090306040200080807080004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit FYI: exmap is very useful for profiling the loss in memory footprint (and subsequent gain in real memory available) for moving apps to embedded systems. again, any help to debug the exmap port would be very much appreciated -- it's nice to get these things out the door, but, I gotta earn a living too... cheers BMS --------------090306040200080807080004 Content-Type: message/rfc822; name="exmap port - shared memory profiler.eml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="exmap port - shared memory profiler.eml" Received: from compute1.internal (compute1.internal [10.202.2.41]) by store23m.internal (Cyrus v2.3.11-fmsvn13972) with LMTPA; Mon, 14 Jan 2008 11:28:54 -0500 X-Sieve: CMU Sieve 2.3 X-Spam-score: 0.0 X-Spam-source: IP='69.147.83.53', Host='mx2.freebsd.org', Country='US', FromHeader='net', MailFrom='org' X-Delivered-to: bms@incunabulum.net Received: from mx4.messagingengine.com ([10.202.2.203]) by compute1.internal (LMTPProxy); Mon, 14 Jan 2008 11:28:54 -0500 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx4.messagingengine.com (Postfix) with ESMTP id 20056B8 for ; Mon, 14 Jan 2008 11:28:52 -0500 (EST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 1A167BC65E; Mon, 14 Jan 2008 16:28:10 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 561D316A4F3; Mon, 14 Jan 2008 16:28:09 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D2B216A417 for ; Mon, 14 Jan 2008 16:28:02 +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 3047A13C4CC for ; Mon, 14 Jan 2008 16:28:02 +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 D6C37893B0 for ; Mon, 14 Jan 2008 11:12:39 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 14 Jan 2008 11:12:39 -0500 X-Sasl-enc: SJ9i3rD777E3duMg9CGcUy7bpAaZ6P3PX5FGb40Gslfh 1200327159 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 ESMTP id 76B7511FDD for ; Mon, 14 Jan 2008 11:12:39 -0500 (EST) Message-ID: <478B89F6.1010703@incunabulum.net> Date: Mon, 14 Jan 2008 16:12:38 +0000 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: exmap port - shared memory profiler X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org I began porting this: http://www.berthels.co.uk/exmap/ and it is here: http://people.freebsd.org/~bms/dump/exmap.tgz It needs debugging. Would anyone like to help? It is a very useful tool for profiling memory sharing between processes. cheers BMS P.S. I'm not on arch or hackers at the moment, please circulate this. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --------------090306040200080807080004-- From owner-freebsd-embedded@FreeBSD.ORG Tue Jan 15 15:49:38 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 5590D16A417 for ; Tue, 15 Jan 2008 15:49:38 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by mx1.freebsd.org (Postfix) with ESMTP id AC5B113C465 for ; Tue, 15 Jan 2008 15:49:37 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id A127314474 for ; Tue, 15 Jan 2008 16:56:04 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00710-06 for ; Tue, 15 Jan 2008 16:56:01 +0100 (CET) Message-ID: <478CD60B.7040901@semihalf.com> Date: Tue, 15 Jan 2008 16:49:31 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: Subject: 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 15:49:38 -0000 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. Rafal 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 From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 16 15:36:01 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 B3D3F16A468 for ; Wed, 16 Jan 2008 15:36:01 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA5813C45B for ; Wed, 16 Jan 2008 15:36:01 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 4FA3E1437E; Wed, 16 Jan 2008 16:42:35 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29406-05; Wed, 16 Jan 2008 16:42:33 +0100 (CET) Message-ID: <478E245C.2090306@semihalf.com> Date: Wed, 16 Jan 2008 16:35:56 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: "M. Warner Losh" References: <478CD60B.7040901@semihalf.com> <20080115.100600.-1350498837.imp@bsdimp.com> In-Reply-To: <20080115.100600.-1350498837.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com 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: Wed, 16 Jan 2008 15:36:01 -0000 M. Warner Losh wrote: > 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? > Pretty much what we had to the moment: in such case the kernel needs to be loaded to memory manually at U-Boot prompt and control passed to it explicitly. It would learn it hasn't been provided with regular metadata from the loader and fall back to some built-in settings... BTW: I have some preliminary ARM loader(8) gluing already written, but didn't manage to test the new API with this arch yet, but this will happen eventually :-) Rafal