| Hacking the TCSX-1 for fun and profit |
John Lombardo (Dec. 11, 2001)
Getting to know the TCSX-1
They say good things come in small packages. Advantage Business Computer Systems' TCSX-1 Thin Client is one of those good things. Add a keyboard, mouse and VGA monitor to this little box and you have a simple Network, Serial or X Windows terminal. And, if within your chest beats a techie's heart, you'll also have loads of fun taking the TCSX-1 apart to see what makes it tick.


What's inside?
Inside the 6-1/8 x 4-1/2 x 1-3/4 in. surface-mountable box you'll find . . . - A PC/104-expandable "embedded PC" motherboard -- probably the most expensive part of the whole system, this motherboard is quite small. It has a connector for a DiskOnChip flash module, but it's empty in Advantage's design.
- AMI BIOS
- 75MHz STPC Processor -- essentially a 75MHz '486, this processor is a bit underpowered for some applications, but it provides more than enough horsepower for Advantage's Thin Client application.
- 16 Megabytes of RAM
 A 16 Megabyte DiskOnModule (DOM) -- this cool little device essentially is 16 megs of flash memory stuck on the end of a IDE cable with some logic that make it look like an IDE drive. The only drawback is the size of the unit. It sticks up almost another inch above the connector -- this might be a problem for some applications. The TCSX-1 box is tall enough, so no problem here. If you were using it in an application, it could be moved with a short piece of ribbon cable.
 External connections
Coming out the back of the TCSX-1 are . . . - Reset and power switches -- 5 volts, DC. The big red didn't-mean-to-hit-it reset switch disappears in the next revision of the product.
- Two serial Ports -- back in the stone age, before we all had real computers on our desks and had to connect to "The Computer" through serial connections using our dumb terminals, we all dreamed of having two serial connections. Well, now you have them. If you've left the stone age and now use an Ethernet network, then these two serial connectors do not go to waste. One can be used for a bar code scanner, and the other can be used for a serial printer.
- A parallel port -- the TCSX-1 software shares the parallel port (and presumably the printer attached to it) to the network using the p910nd software.
- A VGA connector
- A single Ethernet connector
- A single keyboard/mouse DIN connector
Installation
Installation couldn't be much easier! Plug in the keyboard, mouse, VGA, and Ethernet, and turn the box on. It will ask you whether you want it to be a Serial, Network, or X terminal. I chose Network. After configuring the network, you are presented with a screen that allows you to press return to connect to your server.
Using the TCSX-1
Once you're connected to your server, you use the TCSX-1 just like any other terminal. Type characters into it and get responses out. Even though I didn't try the X terminal, I expect it works like any other X terminal -- nice graphical output from your server on your desktop.
Hacking the TCSX-1
Now for the fun part; hacking into the TCSX-1 to see what makes it tick.
At first I thought I could just hack into it using some sort of shell trick. Knowing that when it is in Setup mode it's running a shell script that does a shell "read" followed by some sort of shell "if [ ]; then" sequence, I thought I could just give it some magic ASCII shell escape sequence to get myself to the shell. No such luck. I did manage to get the shell script to barf error codes several times, but that was the best I could do. Time to break out the screw driver and do it the hard way.
 Once I had it apart, I figured that I could just plug the DiskOnModule into the secondary IDE of my scratch PC's motherboard. Again no luck. For some reason my scratch PC wouldn't recognize the DOM as a hard drive. I tried it both with and without using the TCSX-1 as the power supply for the DOM. So, if I was going to see what was on the DOM, I was going to have to keep it plugged into the TCSX-1. Fortunately, the motherboard inside the TCSX-1 has a floppy drive connector. After connecting a spare floppy drive and fiddling with the BIOS a bit, I was able to boot Toms Root Boot -- "The most GNU/Linux on 1 floppy disk."
Once booted, I mounted /dev/hda1 and /dev/hda2 from the DOM onto /1 and /2. Now looking at what the TCSX-1 is doing is easy enough. Searching through the various /etc/rc.* scripts, I found that the backdoor to the shell prompt is "abcssupport". Also, like any good embedded Linux device, the TCSX-1 uses Busybox for most of its shell commands.
The good points
- A highly functional, stable, almost solid state computer that's just a little bigger than a 3 1/2 floppy drive.
- 16MB of RAM + 16MB of flash is plenty for a lot of applications.
- The software that's included is solid and functional. Anyone trying to build their own embedded Linux device would do well to study how Advantage put the TCSX-1's software together.
Nits - In addition to telnet, ssh would be nice.
- There is practically no documentation for the product. To be fair, the TCSX-1 wasn't meant to be a product that one buys off-the-shelf. Advantage builds them to sell to their vertical market customers.
- 75MHz 486 is cutting it pretty thin, processor-wise, for many applications.
- At $400, this box is really pricey for what you get. Unfortunately, this is just the way it is in the embedded-PC world. If someone could put a box this size together and sell it without software for less than $100, they'd sell them by the truckloads.
Availability
The TCSX-1 is available from http://www.disklessworkstations.com.
About the author: John Lombardo has been working with Linux since the "0.9" days. However, he does remember downloading a very early version and thinking: "Yeah, right -- how is this Linux thing going to compete with Coherent" (an early 1990's Unix clone from The Mark Williams Company). Lately, John has been working on several embedded Linux projects, including easy-to-use IPSEC routers, ARM7-based NAT routers, and a book called Embedded Linux published by New Rider's Publishing. You can reach John at john@linuxdevices.com.
Related stories:
Talk back! Do you have comments or questions on this story? talkback here
(Click here for further information)
|
|
|
FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.
Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.
Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.
Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.
High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.
Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.
Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.
Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.
7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.
|
|
|
|
|