This Script will help you in creating bootable images for your Soekris
hardware. It has its limitations due to that it is only a shell
script. Here is what it is capable of Doing for you:
- Makes an image from the version of OS that you are currently
building from. (No Need in grabbing etxXX.tgz or baseXX.tgz
anymore)
- Function to either write directly to your CF or make an image
that can be dd'd at a later time.
- Customize the configs before the image is created.
- Archive configs, ssh_host keys, and kernels.
- And much much more...
The idea behind this work came from Chris Cappuccio <chris@nmedia.net> at
his webpage http://www.nmedia.net/~chris/soekris, and we thank him for
information on that website that spring boarded the idea of creating this.
This is a link to help you figure out drive geometry for your Compact Flash:
http://www.csgnetwork.com/mediasizecalc.html
If you find any bugs or want to add something please send a unified
diff. (ie diff -ruN file.orig file)
The Quick and dirty info needed to make a null modem cable for your
Soekris. This information was found at the following URL
http://www.geocities.com/SiliconValley/Heights/5704/serial1.html
and the individual gets full credit. I am only supplying the portion here
if for some reason you do not have internet access.
More, the "o" characters represent holes, the "." characters
represent pins.
A DB-25 looks like this...
Female: Male:
_____________________________ _____________________________
\ o o o o o o o o o o o o o / \ . . . . . . . . . . . . . /
\ o o o o o o o o o o o o / \ . . . . . . . . . . . . /
------------------------- -------------------------
A DB-9 looks like this...
Female: Male:
_____________ _____________
\ o o o o o / \ . . . . . /
\ o o o o / \ . . . . /
--------- ---------
Pin numbers
Each pin has a number assigned to it. When connecting null modem,
for example, it is important to know these numbers in order to select
DB-25 Connector
13 <------- 1
_____________________________
\ o o o o o o o o o o o o o /
\ o o o o o o o o o o o o /
-------------------------
25 <----- 14
1 -------> 13
_____________________________
\ . . . . . . . . . . . . . /
\ . . . . . . . . . . . . /
-------------------------
14 -----> 25
DB-9 Connector
5 4 3 2 1
_____________
\ o o o o o /
\ o o o o /
---------
9 8 7 6
1 2 3 4 5
_____________
\ . . . . . /
\ . . . . /
---------
6 7 8 9
Null Modem
Below is a chart of what pins go to what on the other end.
Only 8 pins are used in a null modem, therefore I will
only show those eight here.
DB25 to DB25 DB9 to DB9 DB25 to DB9
---------------- --------------- ---------------
2 to 3 1 & 6 to 4 2 to 2
3 to 2 2 to 3 3 to 3
4 to 5 3 to 2 4 to 8
5 to 4 4 to 1 & 6 5 to 7
6 & 8 to 20 5 to 5 6 & 8 to 4
7 to 7 7 to 8 7 to 5
20 to 6 & 8 8 to 7 20 to 6 & 1
$Id: README,v 1.7 2004/01/28 04:37:44 jnazario Exp $