Project

General

Profile

DFL-200 » History » Version 23

Gordon Shumway, 09/17/2012 05:34 PM

1 1 Gordon Shumway
h1. DFL-200
2 1 Gordon Shumway
3 12 Gordon Shumway
h2. %{color:red}This page is a work in progress and changes as the hardware is mapped out.%
4 1 Gordon Shumway
5 1 Gordon Shumway
Parts:
6 18 Gordon Shumway
|SoC|266MHz|Intel IXP422BB|
7 17 Gordon Shumway
|RAM|64M|Hynix HY57V281620ETP-H|
8 17 Gordon Shumway
|Flash|4M|Intel JS28F320|
9 17 Gordon Shumway
|Ethernet controller|1|Realtek RTL8100B|
10 17 Gordon Shumway
||2|IXP422 Built-in MAC|
11 17 Gordon Shumway
|Switch|1|Realtek RTL8305SB|
12 17 Gordon Shumway
|IDE controller|1|Promise PDC20275|
13 21 Gordon Shumway
|RTC||Ricoh RS5C372A|
14 1 Gordon Shumway
15 2 Gordon Shumway
Features:
16 17 Gordon Shumway
|10/100 Eth|6|1 on the RTL8100B (WAN)
17 13 Gordon Shumway
          1 on NPE-C connected to the switch (DMZ)
18 22 Gordon Shumway
          4 on NPE-B connected to the switch, PHY 32 (LAN)|
19 9 Gordon Shumway
|LEDs|1|GPIO-controlled Status LED (LED20)
20 2 Gordon Shumway
        (plus Ethernet port LEDs controlled by the switch)|
21 9 Gordon Shumway
|BTNs|1|GPIO, Reset button on the rear panel (RSW1), active low|
22 1 Gordon Shumway
|GPIO|4|On GPIOA1; 2 of these are the IIC bus|
23 4 Gordon Shumway
|CF|1|On the IDE controller|
24 4 Gordon Shumway
|RTC|1|With battery backup; on the IIC bus|
25 9 Gordon Shumway
|JTAG|2|1 standard 20-pin ARM JTAG (JB1)
26 9 Gordon Shumway
        1 unknown (DEBUG2), possibly the DSP engine|
27 1 Gordon Shumway
|Serial|1|RS-232 on the rear panel|
28 1 Gordon Shumway
29 1 Gordon Shumway
The board has unpopulated space for two more SDRAMs and a Mini-PCI Type III connector (some supporting parts may be missing).
30 1 Gordon Shumway
31 8 Gordon Shumway
The board comes with RedBoot custom-tailored to run Clavister's second-stage loader and OS from the CF card.
32 8 Gordon Shumway
33 8 Gordon Shumway
RedBoot is scattered over a total of 512K of the 4M flash.
34 1 Gordon Shumway
35 1 Gordon Shumway
h2. GPIO setup
36 1 Gordon Shumway
37 1 Gordon Shumway
|*GPIO*|*Function*|*Note*|
38 1 Gordon Shumway
|0|||
39 1 Gordon Shumway
|1|||
40 1 Gordon Shumway
|2|||
41 1 Gordon Shumway
|3|||
42 1 Gordon Shumway
|4|||
43 1 Gordon Shumway
|5|GPIO5|On GPIOA1|
44 1 Gordon Shumway
|6|IIC SCL|Also on GPIOA1|
45 1 Gordon Shumway
|7|IIC SDA|Also on GPIOA1|
46 1 Gordon Shumway
|8|||
47 15 Gordon Shumway
|9|PCI INTA|PDC20275 _%{color:red}verify me!%_|
48 15 Gordon Shumway
|10|PCI INTB|RTL8100B _%{color:red}verify me!%_|
49 1 Gordon Shumway
|11||
50 9 Gordon Shumway
|12|Rear-panel Reset button (RSW1)|Active low|
51 7 Gordon Shumway
|13|IO reset|probably;
52 7 Gordon Shumway
             connected to switch #RESET pin
53 7 Gordon Shumway
             also resets the PCI bus|
54 16 Gordon Shumway
|14|GPIO14|On GPIOA1|
55 9 Gordon Shumway
|15|Status LED (LED20)|(probably? Supposed to be the PCI clock?)|
56 1 Gordon Shumway
57 23 Gordon Shumway
h2. Headers and connectors
58 1 Gordon Shumway
59 23 Gordon Shumway
h3. GPIOA1 header
60 23 Gordon Shumway
61 1 Gordon Shumway
|*Pin*|*Function*|
62 1 Gordon Shumway
|1|GPIO14|
63 1 Gordon Shumway
|3|IIC SDA|
64 1 Gordon Shumway
|5|IIC SCL|
65 1 Gordon Shumway
|7|GPIO5|
66 1 Gordon Shumway
|2, 4, 6, 8|GND|
67 1 Gordon Shumway
68 19 Gordon Shumway
69 23 Gordon Shumway
h3. EJC1 header
70 19 Gordon Shumway
71 19 Gordon Shumway
Apparently a simplified JTAG header. _%{color:red}verify me!%_
72 19 Gordon Shumway
73 19 Gordon Shumway
|*Pin*|*Function*|
74 19 Gordon Shumway
|2|TCK|
75 19 Gordon Shumway
|4|TMS|
76 19 Gordon Shumway
|6|TDI|
77 1 Gordon Shumway
|8|TDO|
78 19 Gordon Shumway
|1, 3, 5, 7|GND|
79 19 Gordon Shumway
80 23 Gordon Shumway
h3. PS4S1 4-pin Berg- (Mini-Molex-) type power supply connector
81 20 Gordon Shumway
82 20 Gordon Shumway
|*Pin*|*Function*|
83 20 Gordon Shumway
|1|+5V|
84 20 Gordon Shumway
|2|GND|
85 20 Gordon Shumway
|3|GND|
86 20 Gordon Shumway
|4|N/C|
87 20 Gordon Shumway
88 20 Gordon Shumway
Of note, there is no +12V.
89 19 Gordon Shumway
90 1 Gordon Shumway
h2. RedBoot
91 1 Gordon Shumway
92 1 Gordon Shumway
Console is 9600,8N1.
93 1 Gordon Shumway
94 1 Gordon Shumway
Flash layout:
95 1 Gordon Shumway
96 1 Gordon Shumway
|*Name*|*FLASH addr*|*Mem addr*|*Length*|*Entry point*|
97 1 Gordon Shumway
|RedBoot|0x50000000|0x50000000|0x00040000|0x00000000|
98 1 Gordon Shumway
|mac|0x50040000|0x10000000|0x00020000|0x10000000|
99 1 Gordon Shumway
|FIS directory|0x503E0000|0x503E0000|0x0001F000|0x00000000|
100 1 Gordon Shumway
|RedBoot config|0x503FF000|0x503FF000|0x00001000|0x00000000|
101 1 Gordon Shumway
102 1 Gordon Shumway
RedBoot comes up with a default menu that allows selecting between booting the Clavister OS (this is done automatically after a timeout) or enter the RedBoot command line.
103 1 Gordon Shumway
104 9 Gordon Shumway
Although RedBoot is able to write configuration to flash memory, it ignores (at least some of the) settings contained there (console_baud_rate). The flash config doesn't contain the NPE MAC addresses either. *Make note of your MAC addresses from the original OS*. They may also be printed on stickers on the Ethernet jacks.
105 1 Gordon Shumway
106 1 Gordon Shumway
h3. Automatic booting
107 1 Gordon Shumway
108 1 Gordon Shumway
Booting the Clavister OS is done by the following command sequence:
109 1 Gordon Shumway
110 1 Gordon Shumway
<pre>
111 1 Gordon Shumway
load -m disk -b 0x100000 hda1:FWLOADER.CFX
112 1 Gordon Shumway
go -c 0x101028
113 1 Gordon Shumway
</pre>
114 1 Gordon Shumway
115 1 Gordon Shumway
This will load FWLOADER.CFX from the first CF partition, which must be either FAT (16?) or ext2fs. Any file named FWLOADER.CFX can be loaded as long as it satisfies the following (known) constraints:
116 1 Gordon Shumway
117 11 Gordon Shumway
* Begins with a 4136-byte long DOS/PE stub (it _must_ be a proper DOS/PE stub, at least to some as-of-yet-unknown extent)
118 1 Gordon Shumway
* The payload after the stub _must_ be a tagged image (ie. ELF)
119 1 Gordon Shumway
120 1 Gordon Shumway
h2. Miscellaneous notes
121 1 Gordon Shumway
122 1 Gordon Shumway
If GPIO5 is grounded when power is applied, the board enters some sort of a simple self-test routine.
123 1 Gordon Shumway
124 23 Gordon Shumway
JP2 supplies Vref and VCC to the ARM JTAG.
125 23 Gordon Shumway
126 23 Gordon Shumway
RTCK (pin 11) on JB1 (JTAG) is pulled to ground.
127 17 Gordon Shumway
128 17 Gordon Shumway
RSW2 is the system reset button (apparently the same as the nSRST JTAG signal).