Bellows are EP7312¡¯s brief features:
The core is the EP7312 CPU with the CS8900 NIC IC. Actually there is also a brand new IC: CS89712, which is definitely a combination of EP7312 and CS8900, the same as we used in the machine. We had taken them into consideration and even designed for it. But at the last minute, we give up because CS89712 has a quite small package style: PBGA 256, in which there are 256 pins as a 16 by 16 matrix right under the small chip. The chip is only 1.5cm by 1.5cm. It is so difficult to assemble it that the cost for assembling is quite high, 3 times than EP7312.
The CS8900 is a quite plain NIC IC, which directly connected to the data/address bus of EP7312. Flash ROM is of one-byte width while the SDRAM is a double-byte one. As we mentioned before, much decision is done by the fact of cost. But keep a 16-bit RAM can do a lot benefit to the speed.
Codec chip, which is a simple 8-bit/8KHz PCM codec, is connected to the codec interface of EP7312 as required in the datasheet of EP7312. The only thing we need to do here, is to find a proper codec chip with the pins and function defined by EP7312. Luckily, there is a lot standard one.
The size of Flash ROM and SDRAM took a lot of time for us to make the decision. For reason of cost, we use a 2MB ROM, while RAM can has a size of 16MB.
The CPU is such a low power chip that every thing becomes simple. Because of the low power drain, designing for the power section of the whole machine is an easy job. Because of the low power drain, there is much lower noise in the circle than other CPUs, especially than Intel x86 family chips. This is very good. Although the core speed is 75MHz in the chip, the clock is 3MHz and the speed of the bus is 18MHz. These data reduce the difficulty of the wiring on the PCB. The total result is a clean, cheap PCB layout that only employs 4 layers in a size of 10cm by 12cm. And the most magic thing is that without a high-speed emulation, the PCB itself works so stable that we make the whole system run at the first time we solder all the parts on without any fly wire. The low consume of power bring us much more benefit such as no need to consider the problem of heat. We had powered it on for more than 72 hours. And the surface of the CPU was quite cold after full cycle work as a web server during the past 72 hours. There is no any heat sink at all and the power supply is a small wall adapter.
I¡¯d admit Cirrus Logic is a small company that they have less technical support than Intel, who produces more powerful StrongARM. We got a Linux CD from Cirrus Logic with an out-of-date Linux kernel of 2.2.1. The further worst thing is that there is a download tool in the CD without source code! Checking all we have, we found the software job in four phases:
Thus our downloader works in a complex way. The machine is connected to a PC with serial line, as well as Ethernet. First step is plug the jumper on, then fire up the machine. Our downloader then is going to send a small program of 2048-byte. The 2048-byte seed then bring much more data from downloader program into the static RAM and jump there. The later ask downloader a bootloader, which is to be put in the flash. After that, the jumper should be removed and the machine restarted. It will be bring up by the bootloader then.
Porting the kernel to our board is quite a huge job. There is a porting to EP7110, a near relative of EP7312. But at least these things are quite deferent:
Finally we have a Linux porting to the machine with kernel 2.4.3. All the function works including the network, LCD, keypad and codec. The detail is too complex to be explained here.
The initrd then is simple for there is a lot resource in the Internet.
The whole telephony program also is ported to the machine. The application program is easy to port, because the Linux in the machine is a standard one. This is the benefit to use Linux as the operating system: it is easy for application programmer. They even need not to care that the machine is not an x86 PC.
The speed is good with clock rate at 75MHz. The BogoMIPS reported by Linux is about 65MIPS.