From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 07:59:14 2004 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A991D16A4CE for ; Wed, 16 Jun 2004 07:59:14 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9630943D41 for ; Wed, 16 Jun 2004 07:59:11 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5G7wJNf000936; Wed, 16 Jun 2004 09:58:19 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5G7wRv9027032; Wed, 16 Jun 2004 09:58:27 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.12.10/8.12.10/Submit) id i5G7wPAv027029; Wed, 16 Jun 2004 09:58:25 +0200 (CEST) (envelope-from ftigeot) Date: Wed, 16 Jun 2004 09:58:25 +0200 From: Francois Tigeot To: Martin Nilsson Message-ID: <20040616075825.GB23345@aoi.wolfpond.org> References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> <40CEFDBC.8000108@univ-mlv.fr> <40CF0BF8.3040206@mullet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40CF0BF8.3040206@mullet.se> User-Agent: Mutt/1.4.2.1i cc: thinbsd@cogidis.com cc: freebsd-small@freebsd.org cc: David DELAVENNAT Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 07:59:14 -0000 On Tue, Jun 15, 2004 at 04:47:20PM +0200, Martin Nilsson wrote: > David DELAVENNAT wrote: > >|> I installed thinbsd on to a flash card yesterday only to find > >|> that I had a trident Cyberblade video in my tiny diskless client. > >|> > >what flash card did you use? > >on the todo list we have the flashboot faq :) > > The machine I used have a motherboard similar to this one: > http://web.lex.com.tw:7777/cv860a.htm > The flash I used was just an 256MB CF card that were available. > > How to install ThinBSD on flash. > 1. Boot the FreeBSD cdrom on the machine with installed CF card. > 2. In sysinstall goto Configure->label & fdisk. Crete one partition on > the flash, set it bootable, newfs and write the changes (you have to > also make a small swap partition, make it 1MB we won't use it) > > 3. exit & reboot. > > 4. put the flash in a box with a real running FreeBSD. > If you using a CF card an USB card reader is useful. > mount it under /mnt and cd there. > untar boot-xxx.tar.gz move the kernel from /mnt/boot/kernel/kernel to > /mnt and also put mfsroot.gz in /mnt (not in boot as for PXE install) > > 5. unmount and put flash in your thin computer and see it fly. This seems surprisingly easy. When we started the project, we thought about flash-based devices, but had not yet time to test them. It is good news to hear that they work almost out-of the box ! > The sysinstall part could probably be made a lot easier by calling fdisk > & disklabel directly from a script but the above was the way I knew > would work. > > >as it is done with pexes project maybe we could write a config script > >that put in the ramdisk only the drivers needed > >for a specific configuration. better than see the ramdisk grow to > >support every thinclient hardware in the world. > >something like the openbsd installer that config the keyboard, > >drivers, etc... > > Having a smorgasbord of compiled binaries for different programs, > drivers etc to choose from when creating the mfsroot would probably be > smart. A small script could then ask which ones to include on the ramdisk. Yes, this would be good. For the moment a good part of the work has to be done by hand. In the interim, I just put a new ramdisk image on the web site with support for the 'trident' driver. You will still have to edit xorg.conf to reflect your configuration, though. -- Francois Tigeot