From owner-freebsd-embedded@FreeBSD.ORG Mon Oct 29 11:07:03 2007 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 32C1416A469 for ; Mon, 29 Oct 2007 11:07:00 +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 0C2D313C480 for ; Mon, 29 Oct 2007 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TB6xMR090057 for ; Mon, 29 Oct 2007 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9TB6xsL090053 for freebsd-embedded@FreeBSD.org; Mon, 29 Oct 2007 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Oct 2007 11:06:59 GMT Message-Id: <200710291106.l9TB6xsL090053@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, 29 Oct 2007 11:07:04 -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 Thu Nov 1 21:30:56 2007 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 41CD116A421 for ; Thu, 1 Nov 2007 21:30:56 +0000 (UTC) (envelope-from dyeske@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id D143F13C494 for ; Thu, 1 Nov 2007 21:30:55 +0000 (UTC) (envelope-from dyeske@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so497017nfb for ; Thu, 01 Nov 2007 14:30:28 -0700 (PDT) Received: by 10.78.173.20 with SMTP id v20mr704613hue.1193942258188; Thu, 01 Nov 2007 11:37:38 -0700 (PDT) Received: by 10.78.106.10 with HTTP; Thu, 1 Nov 2007 11:37:38 -0700 (PDT) Message-ID: <85bdae4e0711011137m930c7e4w9ce5920b5d61f7f7@mail.gmail.com> Date: Thu, 1 Nov 2007 14:37:38 -0400 From: "David Yeske" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-embedded@freebsd.org Subject: remote binary upgrade from 4.10 to 6.2 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: Thu, 01 Nov 2007 21:30:56 -0000 I have a lot of appliances in the field running FreeBSD. These machines do not have a working compiler. They need to be upgraded from FreeBSD 4.10 to FreeBSD 6.2. Has anyone gone through this successfully? Does anyone have pointers on a clean way to do this? Due to the lack of console support for most of these machines, booting from the 6.2 cd will not work. This has to be a remote binary upgrade. I need to have FreeBSD 4.10 install FreeBSD 6.2, although this could be done in stages with multiple reboots. I want to avoid upgrading from FreeBSD 4.10 to 5.5 to 6.2. It appears that FreeBSD 6.2 runs just fine on UFS1. Regards, David Yeske From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 2 03:15:12 2007 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 A3BD716A476 for ; Fri, 2 Nov 2007 03:15:12 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout2-b.corp.dcn.yahoo.com (mrout2-b.corp.dcn.yahoo.com [216.109.112.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5654613C4B2 for ; Fri, 2 Nov 2007 03:15:12 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout2-b.corp.dcn.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id lA22XRsw007983 for ; Thu, 1 Nov 2007 19:33:31 -0700 (PDT) Date: Fri, 02 Nov 2007 11:33:23 +0900 Message-ID: From: gnn@freebsd.org To: embedded@freebsd.org User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1 (i386-apple-darwin8.9.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Subject: An interesting device we might want 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: Fri, 02 Nov 2007 03:15:12 -0000 Just saw this: http://www.buglabs.net/products I'm not sure what the state of our ARM port is, do we support the 1136JF processor? I note their IDE runs on Mac as well, so it may be portable enough to run on FreeBSD. Anything that lets us get more embedded stuff into peoples' hands to play with is a good thing (tm) IMHO. Later George From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 2 03:38:01 2007 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 7938C16A418; Fri, 2 Nov 2007 03:38:01 +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 38BA513C49D; Fri, 2 Nov 2007 03:38:01 +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 lA23ZKrX015184; Thu, 1 Nov 2007 21:35:20 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 01 Nov 2007 21:37:30 -0600 (MDT) Message-Id: <20071101.213730.1021578028.imp@bsdimp.com> To: gnn@freebsd.org From: "M. Warner Losh" In-Reply-To: References: 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: An interesting device we might want 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: Fri, 02 Nov 2007 03:38:01 -0000 In message: gnn@freebsd.org writes: : Just saw this: : : http://www.buglabs.net/products : : I'm not sure what the state of our ARM port is, do we support the : 1136JF processor? I just added the preliminary ARM9e, ARM10 and ARM11 support to -current. I've not ported over the pmap improvements from NetBSD for armv6 yet (I'm not even sure they are merged back into their mainline yet). The only ARM11 CPU was the ARM1136J-S. I'm not sure how the ARM1136J-F differs (I'm behind on my reading of ARM Ltd documents). : I note their IDE runs on Mac as well, so it may be portable enough to : run on FreeBSD. : : Anything that lets us get more embedded stuff into peoples' hands to : play with is a good thing (tm) IMHO. Correct! Warner From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 2 12:00:59 2007 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 0F2B416A418 for ; Fri, 2 Nov 2007 12:00:59 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id 9495E13C4A8 for ; Fri, 2 Nov 2007 12:00:58 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id 7F25032CDE7; Fri, 2 Nov 2007 07:58:17 +0100 (CET) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id KCA-VeosvHdw; Fri, 2 Nov 2007 07:58:14 +0100 (CET) Received: from [192.168.1.149] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id A55CC9E6B6; Fri, 2 Nov 2007 07:58:14 +0100 (CET) Message-ID: <472ACA9A.2090903@cederstrand.dk> Date: Fri, 02 Nov 2007 07:58:34 +0100 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: David Yeske References: <85bdae4e0711011137m930c7e4w9ce5920b5d61f7f7@mail.gmail.com> In-Reply-To: <85bdae4e0711011137m930c7e4w9ce5920b5d61f7f7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: remote binary upgrade from 4.10 to 6.2 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: Fri, 02 Nov 2007 12:00:59 -0000 David Yeske wrote: > I have a lot of appliances in the field running FreeBSD. These > machines do not have a working compiler. They need to be upgraded > from FreeBSD 4.10 to FreeBSD 6.2. Has anyone gone through this > successfully? Does anyone have pointers on a clean way to do this? > Due to the lack of console support for most of these machines, booting > from the 6.2 cd will not work. This has to be a remote binary > upgrade. I need to have FreeBSD 4.10 install FreeBSD 6.2, although > this could be done in stages with multiple reboots. I want to avoid > upgrading from FreeBSD 4.10 to 5.5 to 6.2. It appears that FreeBSD > 6.2 runs just fine on UFS1. First, I should mention that I have not done something like this before. However, I think it would help if you could be a little more specific. What are the specs of the machine (CPU, RAM, disk)? How remote are they (i.e. "next building" or "Greenland")? How many appliances need upgrading? Do you control the network they're attached to? A couple of ideas: 1) As you say, the official advice is 4.10 -> 5.5 -> 6.2. You could cross-compile the 5.5 world + kernel on a build machine and installworld/kernel on the appliance. Reboot, and repeat for 6.2. This assumes you have the disk space for the new world/kernel, or that you can at least NFS mount a remote /usr/obj. 2) If you have the disk space, you can create another partition, place a complete 6.2 distribution there (compiled on a build machine) and change the boot loader to boot the new partition. 3) If you are able to PXE boot the machine, you could do a network install of the appliance. 4) If you control the network, you could build a kernel with NFS_ROOT support so you're independent on the local disk. Wipe the disk and install a new distribution there. 5) Finally, if you have the RAM, you could build a kernel with MFS_ROOT support, place a memdisk image on the local disk and proceed as 4) Erik