From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 7 15:10:35 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30A2D464 for ; Wed, 7 Nov 2012 15:10:35 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id D08878FC0A for ; Wed, 7 Nov 2012 15:10:34 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id qA7FASmt069982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Nov 2012 16:10:33 +0100 (CET) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id qA7FASPD069981 for freebsd-embedded@freebsd.org; Wed, 7 Nov 2012 16:10:28 +0100 (CET) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Wed, 7 Nov 2012 16:10:28 +0100 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org Subject: Re: nanobsd boot problem Message-ID: <20121107151028.GA40957@psconsult.nl> References: <1351605941.79450.YahooMailNeo@web126002.mail.ne1.yahoo.com> <20121030145024.GA16785@psconsult.nl> <1352284360.76432.YahooMailNeo@web126003.mail.ne1.yahoo.com> <20121107120204.GA51120@psconsult.nl> <1352299354.47535.YahooMailNeo@web126004.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1352299354.47535.YahooMailNeo@web126004.mail.ne1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 15:10:35 -0000 On Wed, Nov 07, 2012 at 06:42:34AM -0800, Jack Mc Lauren wrote: > Thanks for your reply ... > > >>Pls. post the .conf file you used to build NanoBSD. > > > > this is the whole nanobsd.sh file. sorry it's a bit long ... Indeed too long to read from where I am now. Also, always leave the line starting with '# $FreeBSD:' in your replies as that will tell us which version of the script you used, but.. - All your config vars should go in a separate config file, say mynanobsd.conf, then run 'sh nanobsd.sh -c mynanobsd.conf' to build an image. - The line 'NANO_BOOTLOADER="boot/boot0sio"' selects a boot0 loader (the part that goes into the first sector of your flash device) to be one that supports only a serial console. If you want VGA use 'boot/boot0' there. There's no boot0 loader that supports both because it must be very small (max. 446 bytes). - If you go for serial console you should have a line 'customize_cmd cust_comconsole' in mynanobsd.conf, for VGA leave it out. - Later boot stages in FreeBSD support dual consoles (VGA and serial) but the nanobsd.sh script was not meant to support that. See nanobsd(8), boot(8) and: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/ for further information With kind regards, Paul Schenkeveld