ArticleslgStudy

computer science

Xinu

Xinu is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Xinu rather than just read about it. In short: XINU Is Not Unix (XINU, a recursive acronym), is an operating system for embedded systems, originally developed by Douglas Comer for educational use at Purdue University in the 1980s. The name is both recursive, and is Unix spelled backwards.

Key takeaways

  • Xinu belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Xinu to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Xinu from memory before moving on to harder problems.

Reference excerpt

XINU Is Not Unix (XINU, a recursive acronym), is an operating system for embedded systems, originally developed by Douglas Comer for educational use at Purdue University in the 1980s. The name is both recursive, and is Unix spelled backwards. It has been ported to many hardware platforms, including the DEC PDP-11 and VAX systems, Motorola 68k (Sun-2 and Sun-3 workstations, AT&T UNIX PC, MECB), Intel x86, PowerPC G3, MIPS, ARM architecture and AVR (atmega328p/Arduino). Xinu was also used for some models of Lexmark printers. Despite its name suggesting some similarity to Unix, Xinu is a different type of operating system, written with no knowledge of the Unix source code, or compatibility goals. It uses different abstractions, and system calls, some with names matching those of Unix, but different semantics.

History Xinu first ran on the LSI-11 platform. A Motorola 68000 port was done by Derrick Burns in 1983. A VAX port was done in 1986 by Comer and Tom Stonecypher, an IBM PC compatible port in 1988 by Comer and Timothy Fossum, a second Motorola 68000 (Sun 3) port circa 1988 by Shawn Ostermann and Steve Chapin, a Macintosh platform port in 1989 by Comer and Steven Munson, an Intel 80486 version by John Lin in 1995, a SPARC port by Jim Griffioen, and a PowerPC port in 2005 and MIPS port of Embedded Xinu in 2008 by Dennis Brylow.

Later developments Dennis Brylow at Marquette University has ported Xinu to both the PowerPC and MIPSEL (little-endian MIPS) processor architectures. Porting Xinu to reduced instruction set computing (RISC) architectures greatly simplified its implementation, increasing its ability to be used as a tool for teaching and research. MIPSEL was chosen as a target architecture due to the proliferation of the MIPSEL-based WRT54GL router and the cool incentive that motivates some students to become involved in projects. The first embedded Xinu systems laboratory based on the WRT54GL router was developed at Marquette University. In collaboration with the Marquette Xinu team, an embedded Xinu laboratory was formed at the University of Mississippi, laying the groundwork for further work on developing a Virtual Xinu Laboratory.

Embedded Xinu Embedded Xinu is a fresh reimplementation of the Xinu design, in ANSI C, on an embedded RISC architecture. The MIPS port of Embedded Xinu was developed from 2006 to 2010 at Marquette University, under the direction of Dr. Dennis Brylow. The Embedded Xinu operating system is copyright (c) 2007, 2008, 2009, and 2010 by Douglas Comer and Dennis Brylow.

University of Mississippi Embedded Xinu Laboratory The Xinu Laboratory in the University of Mississippi's Department of Computer and Information Science was formed during the summer of 2008 by Dr. Paul Ruth. Assisting him in the project were Jianshu Zhao and Patrick Hoover, who were both graduate students at the time. Also assisting him were Chelsea Norman and Kevin Kent, who were undergraduates at the time. The initial laboratory is based on the Marquette University Embedded Xinu Laboratory. Located in the server room of Weir Hall on the campus of the University of Mississippi, is composed of a dozen modified Linksys WRT54GL wireless routers, a 32 port Digi Etherlite serial annex, a 24 port 10/100 Mbit/s Ethernet switch, a BayTech serial controlled power strip, and quite a few wires. The system is controlled by a standard PC running Debian Linux. The whole system cost less than $3000, not including the PC. The WRT54G routers use the MIPSEL architecture and are used as backend devices on which the Xinu embedded operating system runs. The PC runs several daemons which enable and manage the users ability to access the backends.

Nexos Project, Embedded Xinu, Virtual Xinu The Nexos Project is a joint effort between Marquette University, the University at Buffalo, and the University of Mississippi to build curriculum materials and a supporting experimental laboratory for hands-on projects in computer systems courses. The approach focuses on low cost, flexible, commodity embedded hardware, freely available development and debugging tools, and a fresh implementation of a classic operating system, Embedded Xinu, that is ideal for student exploration. Virtual Xinu addresses two challenges that limit the effectiveness of Nexos. First, the hardware modifications and time investment remain impediments to adoption by interested faculty educators. Second, Xinu uses a shared subnet. This lets student projects interfere with each other, in ways that are difficult to recreate, debug, and understand. Xinu was ported to the QEMU virtual hardware and a virtual networking platform was developed. Dr Ruth used this successfully for 1 semester of the Operating Systems course at the University of Mississippi.

Latest versions Several versions of Xinu are available for platforms such as x86, ARM, AVR (Arduino), and MIPS. The last versions by Douglas Comer work on Intel x86 (Galileo) and on ARM Cortex-A8 (BeagleBone Black). The version for AVR requires 32 KB of flash, thus Arduino Uno boards and the like are supported. The source code of these versions is freely available.

Publications Operating System Design Volume 2: Internetworking with XINU. Prentice-Hall. 1987. ISBN 013637414X. Operating System Design Volume 1: The XINU Approach, PC version. Prentice-Hall. 1988. ISBN 0136381804. Operating System Design Volume 1: The XINU Approach, Macintosh version. Prentice-Hall. 1989. ISBN 013638529X. Internetworking With TCP/IP Volume II (3rd ed.). PHI Learning Pvt. Ltd. 1998. ISBN 8120322851. (Discusses the implementation of TCP/IP protocol in XINU to illustrate concepts) Operating System Design: The Xinu Approach (2nd ed.). Chapman & Hall. 2015. ISBN 9781498712439. Operating System Design: The Xinu Approach (3rd ed.). Chapman & Hall. 2025. ISBN 9781032980997.

Compared to other teaching operating systems

See also List of operating systems Timeline of operating systems

References

External links Official website Douglas Comer at Purdue University Embedded Xinu and RISC Xinu at Marquette University Archived 2006-08-31 at the Wayback Machine Books On Computer Architecture and Operating Systems Xinu for the LSI-11 in the Unix Archive XINU FAQ (very old) installation instructions University of Mississippi embedded Xinu lab Nexos Project

Worked examples

Example 1 — a first encounter with Xinu

Start with the simplest possible case. Write down what Xinu claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Xinu before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Xinu ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Xinu

In research
Xinu appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Xinu in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Xinu is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1981 software, Computing platforms, Cross-platform free software, so understanding it makes those chapters shorter.
In everyday life
Look for Xinu outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Xinu” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Xinu in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Xinu means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Xinu out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Xinu in simple terms?

XINU Is Not Unix (XINU, a recursive acronym), is an operating system for embedded systems, originally developed by Douglas Comer for educational use at Purdue University in the 1980s. The name is both recursive, and is Unix spelled backwards.

Why does Xinu matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Xinu?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Xinu.

Tags

  • 1981 software
  • Computing platforms
  • Cross-platform free software
  • Educational operating systems
  • Embedded operating systems
  • Free software operating systems
  • MIPS operating systems
  • X86 operating systems

Keep exploring