nanobsd boot problem
Paul Schenkeveld
freebsd at psconsult.nl
Wed Nov 7 15:10:35 UTC 2012
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
More information about the freebsd-embedded
mailing list