DFL-200 » History » Version 5

Version 4 (Gordon Shumway, 09/16/2012 01:11 PM) → Version 5/69 (Gordon Shumway, 09/16/2012 01:16 PM)

h1. DFL-200

|Flash|4M|Intel _xxx_|
|Ethernet controller|RTL8100B|Realtek| controller|RTL8100B|
|IDE controller|PDC20275|Promise| controller|Promise PDC20275|
|RTC|RS5C372A|Ricoh| |RTC|Ricoh RS5C372A|

|100Eth|6|1 on NPE-? (WAN) (xxx wan is the rtl i think)
1 on the RTL8100B (DMZ)
4 on NPE-? connected to the switch|
|LEDs|1|GPIO-controlled |LEDs|1|GPIO controlled Status LED
(plus Ethernet port LEDs controlled by the switch)|
|BTNs|1|GPIO, Reset button on the rear panel, active low|
|GPIO|4|On GPIOA1; 2 of these are the IIC bus|
|CF|1|On the IDE controller|
|RTC|1|With battery backup; on the IIC bus|
|JTAG|2|1 standard 20-pin ARM JTAG
1 unknown, possibly the DSP engine|
|Serial|1|RS-232 on the rear panel|

The board has unpopulated space for two more SDRAMs and a Mini-PCI Type III connector (some supporting parts may be missing).

The board comes with RedBoot custom-tailored to run Clavister's second-stage loader and OS from the CF card.

h2. GPIO setup

|6|IIC SCL|Also on GPIOA1|
|7|IIC SDA|Also on GPIOA1|
|10|PCI INTB||
|12|Rear-panel Reset button|Active low|
|13|IO reset|probably; connected to switch #RESET pin|
|14|GPIO14|On GPIO1A|
|15|Status LED|(probably? Supposed to be the PCI clock?)|

h2. GPIOA1 header

|2, 4, 6, 8|GND|

h2. RedBoot

Console is 9600,8N1.

Flash layout:

|*Name*|*FLASH addr*|*Mem addr*|*Length*|*Entry point*|
|FIS directory|0x503E0000|0x503E0000|0x0001F000|0x00000000|
|RedBoot config|0x503FF000|0x503FF000|0x00001000|0x00000000|

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.

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.*

h3. Automatic booting

Booting the Clavister OS is done by the following command sequence:

load -m disk -b 0x100000 hda1:FWLOADER.CFX
go -c 0x101028

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:

* 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)
* The payload after that _must_ be a tagged image (ie. ELF)

h2. Miscellaneous notes

If GPIO5 is grounded when power is applied, the board enters some sort of a simple self-test routine.