Project

General

Profile

DFL-200 » History » Version 7

Gordon Shumway, 09/16/2012 01:23 PM

1 1 Gordon Shumway
h1. DFL-200
2 1 Gordon Shumway
3 1 Gordon Shumway
4 1 Gordon Shumway
Parts:
5 1 Gordon Shumway
|SoC|IXP422|Intel|
6 1 Gordon Shumway
|RAM|64M|?|
7 4 Gordon Shumway
|Flash|4M|Intel _xxx_|
8 1 Gordon Shumway
|Switch|RTL8305SB|Realtek|
9 5 Gordon Shumway
|Ethernet controller|RTL8100B|Realtek|
10 5 Gordon Shumway
|IDE controller|PDC20275|Promise|
11 5 Gordon Shumway
|RTC|RS5C372A|Ricoh|
12 1 Gordon Shumway
13 2 Gordon Shumway
Features:
14 4 Gordon Shumway
|100Eth|6|1 on NPE-? (WAN) (xxx wan is the rtl i think)
15 4 Gordon Shumway
          1 on the RTL8100B (DMZ)
16 1 Gordon Shumway
          4 on NPE-? connected to the switch|
17 5 Gordon Shumway
|LEDs|1|GPIO-controlled Status LED
18 2 Gordon Shumway
        (plus Ethernet port LEDs controlled by the switch)|
19 1 Gordon Shumway
|BTNs|1|GPIO, Reset button on the rear panel, active low|
20 1 Gordon Shumway
|GPIO|4|On GPIOA1; 2 of these are the IIC bus|
21 4 Gordon Shumway
|CF|1|On the IDE controller|
22 4 Gordon Shumway
|RTC|1|With battery backup; on the IIC bus|
23 2 Gordon Shumway
|JTAG|2|1 standard 20-pin ARM JTAG
24 1 Gordon Shumway
        1 unknown, possibly the DSP engine|
25 1 Gordon Shumway
|Serial|1|RS-232 on the rear panel|
26 1 Gordon Shumway
27 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).
28 1 Gordon Shumway
29 6 Gordon Shumway
The board comes with RedBoot custom-tailored to run Clavister's second-stage loader and OS from the CF card. RedBoot is scattered over a total of 512K of the 4M flash.
30 1 Gordon Shumway
31 1 Gordon Shumway
h2. GPIO setup
32 1 Gordon Shumway
33 1 Gordon Shumway
|*GPIO*|*Function*|*Note*|
34 1 Gordon Shumway
|0|||
35 1 Gordon Shumway
|1|||
36 1 Gordon Shumway
|2|||
37 1 Gordon Shumway
|3|||
38 1 Gordon Shumway
|4|||
39 1 Gordon Shumway
|5|GPIO5|On GPIOA1|
40 1 Gordon Shumway
|6|IIC SCL|Also on GPIOA1|
41 1 Gordon Shumway
|7|IIC SDA|Also on GPIOA1|
42 1 Gordon Shumway
|8|||
43 1 Gordon Shumway
|9|PCI INTA||
44 1 Gordon Shumway
|10|PCI INTB||
45 1 Gordon Shumway
|11||
46 1 Gordon Shumway
|12|Rear-panel Reset button|Active low|
47 7 Gordon Shumway
|13|IO reset|probably;
48 7 Gordon Shumway
             connected to switch #RESET pin
49 7 Gordon Shumway
             also resets the PCI bus|
50 1 Gordon Shumway
|14|GPIO14|On GPIO1A|
51 1 Gordon Shumway
|15|Status LED|(probably? Supposed to be the PCI clock?)|
52 1 Gordon Shumway
53 1 Gordon Shumway
h2. GPIOA1 header
54 1 Gordon Shumway
55 1 Gordon Shumway
|*Pin*|*Function*|
56 1 Gordon Shumway
|1|GPIO14|
57 1 Gordon Shumway
|3|IIC SDA|
58 1 Gordon Shumway
|5|IIC SCL|
59 1 Gordon Shumway
|7|GPIO5|
60 1 Gordon Shumway
|2, 4, 6, 8|GND|
61 1 Gordon Shumway
62 1 Gordon Shumway
h2. RedBoot
63 1 Gordon Shumway
64 1 Gordon Shumway
Console is 9600,8N1.
65 1 Gordon Shumway
66 1 Gordon Shumway
Flash layout:
67 1 Gordon Shumway
68 1 Gordon Shumway
|*Name*|*FLASH addr*|*Mem addr*|*Length*|*Entry point*|
69 1 Gordon Shumway
|RedBoot|0x50000000|0x50000000|0x00040000|0x00000000|
70 1 Gordon Shumway
|mac|0x50040000|0x10000000|0x00020000|0x10000000|
71 1 Gordon Shumway
|FIS directory|0x503E0000|0x503E0000|0x0001F000|0x00000000|
72 1 Gordon Shumway
|RedBoot config|0x503FF000|0x503FF000|0x00001000|0x00000000|
73 1 Gordon Shumway
74 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.
75 1 Gordon Shumway
76 1 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.*
77 1 Gordon Shumway
78 1 Gordon Shumway
h3. Automatic booting
79 1 Gordon Shumway
80 1 Gordon Shumway
Booting the Clavister OS is done by the following command sequence:
81 1 Gordon Shumway
82 1 Gordon Shumway
<pre>
83 1 Gordon Shumway
load -m disk -b 0x100000 hda1:FWLOADER.CFX
84 1 Gordon Shumway
go -c 0x101028
85 1 Gordon Shumway
</pre>
86 1 Gordon Shumway
87 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:
88 1 Gordon Shumway
89 1 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)
90 6 Gordon Shumway
* The payload after the stub _must_ be a tagged image (ie. ELF)
91 1 Gordon Shumway
92 1 Gordon Shumway
h2. Miscellaneous notes
93 1 Gordon Shumway
94 1 Gordon Shumway
If GPIO5 is grounded when power is applied, the board enters some sort of a simple self-test routine.