Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 16:10:28 +0100
From:      Paul Schenkeveld <freebsd@psconsult.nl>
To:        freebsd-embedded@freebsd.org
Subject:   Re: nanobsd boot problem
Message-ID:  <20121107151028.GA40957@psconsult.nl>
In-Reply-To: <1352299354.47535.YahooMailNeo@web126004.mail.ne1.yahoo.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121107151028.GA40957>