-
Essay / Porting Embedded Xinu to an Alternative Architecture
SUMMARY In this article, we discuss porting the Xinu embedded operating system (OS) to the 8-bit Arduino Mega 1280 due to its ability to meet several constraints. A 64-bit Linux environment and associated tools are used to develop Xinu for the AVR. The stages of carrying Xinu can be divided into several different stages. The final Xinu image for the Arduino is 35 KB without any compiler optimization. We discovered some interesting features of the platform such as SRAM splitting and are able to improve compatibility with existing Xinu files. However, the AVR lacks many elements of Xinu, such as interrupt handlers, asynchronous serial driver, priority scheduling, and better memory allocation function. General requirements Design . Keywords Xinu INTRODUCTION Over the past few years , several colleges and universities have adopted Embedded Xinu, a modest operating system developed in 1984 at Purdue University. The use of Embedded Xinu offers a homogeneous form of teaching with low implementation costs. Due to its simple design, Xinu is ideal for courses on operating systems, embedded devices, networking, and compilers. Xinu currently operates a wide range of devices, including DEC PDP-11, Motorola(R) 68000, Intel(R) x86, and MIPS IV architectures. Porting Xinu to a reduced alternative architecture is advantageous for a number of reasons. First, hardware diversification will make the transition to Embedded Xinu easier, which is especially true for colleges and universities that already use AVR processors in other courses. Next, the ATMEL(R) 8-bit Arduino Mega offers several unique and interesting modules. challenges. AVR is different from all other platforms Xinu currently operates on. For example...... middle of paper ......nted. An asynchronous serial driver and more output ports would allow for better performance. Variable optimizations for 8-bit architecture could be made throughout the code to make Xinu for AVR more efficient. ACKNOWLEDGMENTS My thanks to Dr. Dennis Brylow and the Xinu team for all their help this summer. Works Cited [1] Ardunio website. 2010. http://www.arduino.cc/.[2]Atmega640/1280/1281/2560/2561 Preliminary. 448 pages, Revision L. 2007. http://www.atmel.com/dyn/resources/prod_documents/doc0856.pdf.[3]AVR Runtime Library C. 2010. http://savannah.nongnu.org/ projects/avr-libc/.[4]AVR instruction set. 160 pages, Revision I. 2010. http://www.atmel.com/dyn/resources/prod_documents/doc0856.pdf.[5]AVR Libc website. 2009. http://www.nongnu.org/ar-libc/.[6]Comer, Douglas and Brylow, Dennis. Integrated Xinu. 2010. http://xinu.mscs.mu.edu/Main_Page/.