Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2005 12:41:59 +0000
From:      Randy Dawson <dnasoc@swbell.net>
To:        freebsd-small@freebsd.org
Subject:   I/O, flash, usb general embedded BSD questions
Message-ID:  <200505141242.00057.dnasoc@swbell.net>

next in thread | raw e-mail | index | archive | help
Hi all

First thanks for the list, and Luigi, your script got me started!

I am making a remote digital camera to communicate over a serial line.  It is 
PicoBSD running a file transfer program connected to a digital camera that 
acts as a USB mass storage device.

I am attempting to install picoBSD on a Kontron DIMM-PC credit card size PC.

I have success with the bridge config, to genereate a picobsd.bin, make a 
floppy.  it boots just fine.  Then I tried a dd of the image to the 32MB 
flash on the kontron, set the bios to boot from it, and that boots OK to, yet 
still asking for /etc from the floppy.

My development environment has a motherboard to hold this little PC, so I have 
keyboard and video there and ethernet for the host-target development.  I can 
talk to it from a desktop PC with a full FreeBSD 5.3 and all the comforts

so I am all set, but I need just a little help to learn how to configure my 
picoBSD with these generic embedded facilities:

usb and mass storage scsi drivers
discrete i/o to the lpt port from my application (I need to set bits from my 
app)
headless diskless, how do I remove the floppy mount requirement at the end of 
the boot

the end of the build I desire a .bin I dd to the flash. 

So far, I have done this:  To fork from the standard working build, I copied 
 /usr/src/release/picobsd/bridge
to
 /usr/src/release/picobsd/kontron

I added at the end of PICOBSD
device uhci
device usb
device umass
device scbus
device da
device pass

The new directory shows up in the script menu when I run Luigis latest and it 
builds without complaints.

I dont know what to do about the floppy size, so I set it to 4 meg, it did 
make a 4 meg image (wrong I am sure)

The resulting image does not boot, on any hardware.  The previous(bridge)  
image I could dd to a usb thumb drive and boot from that on different 
machines as a hardware sanity check.

So group, how do we really go about making a tiny FreeBSD to put on an 
emembedded flash PC?

If you throw me back to the fishes, let me tell you I already have been down 
the WhiteDwarf-Linux, Linux From Scratch trail.  Everything seems to just 
work better, (The ports!) in FreeBSD.

Randy Dawson







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