FreeBSD on the Advantech PCM-8520

Here is some information on setting up FreeBSD to run on the Advantech PCM-8520 embedded PC.

Disk configuration

I am using a 128 MB CompactFlash card as nonvolatile memory. On this, all software and the operating system is installed. This CF card is available through the standard IDE disk driver, and detected as ad0. fdisk and disklabel setup are done as follows. As you can see, there is only one partition on the disk - we want to have everything mounted read-only anyways to be able to easily switch off the system, so nothing like syslog will fill up a filesystem. The (small) swap partition shall not be needed in production use, the kernel will be compiled without any swapping support - but for installation purposes, I have first included a swap partition here, and did not remove it afterwards. In theory, you should be able to live without one, we do not want the system to swap anyways.

fdisk

******* Working on device /dev/ad0 *******                                  
parameters extracted from in-core disklabel are:
cylinders=980 heads=8 sectors/track=32 (256 blks/cyl)

parameters to be used for BIOS calculations are:     
cylinders=980 heads=8 sectors/track=32 (256 blks/cyl)

Media sector size is 512                        
Warning: BIOS sector numbering starts with sector 1  
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)                  
    start 32, size 250848 (122 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 979/ head 7/ sector 32
The data for partition 2 is:                         
                             
The data for partition 3 is:           
                    
The data for partition 4 is:

disklabel

# /dev/ad0c:
type: ESDI
disk: ad2s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 8
sectors/cylinder: 256
cylinders: 979
sectors/unit: 250848
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   245760        0    4.2BSD     2048 16384    95   # (Cyl.    0 - 959)
  b:     5088   245760      swap                        # (Cyl.  960 - 979*)
  c:   250848        0    unused        0     0         # (Cyl.    0 - 979*)

More information about kernel configuration and system stripping will follow.


CategoryComputer


THIS DATA IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DATA, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

All product and brand names mentioned on there pages and in the source code are registered names and/or trademarks of the respective owner and are mentioned for identification purposes only.

For a full copyright notice, please see this link. For imprint and contact information, please see http://www.thiemo.net/.

Orpheus/OperatingSystem (last edited 2006-01-16 17:02:32 by ThiemoNordenholz)