How to use RTEMS building tools
Chris Caudle
chris at chriscaudle.org
Sun Nov 20 03:31:17 UTC 2005
On Friday 18 November 2005 07:02 pm, sam wrote:
> I basically want to install RTEMS into an
> LPC2138 100/10M Ethernet QuickStart Board.
And what were you going to do with a CD-ROM? That board doesn't have a CD
controller.
> Reference: http://www.embeddedartists.com/products/boards/lpc2138_100eth.php
Did you read the documentation you referenced? The "Quickstart Board Users
Guide" in section 3.2 describes how you get software onto the board. It
appears you either use a JTAG debugger to program the ROM, or you use the
flash programing utility that is provided to program over the RS232
connection.
> If I don't need to build an image (iso) file
You do have to build a system image file, but it would not be in ISO9660
filesystem format. Again according to the documentation on the web page you
referenced, the system image should be in hex format. The program objcopy
which comes with the gnu tools can copy the object file at the end of
compilation to that format for you.
> follow to build RTEMS into this board?
Which brings up the question you should have asked in your first email: Does
RTEMS support the LPC2138?
RTEMS has support for some ARM variants, but I seem to recall some emails a
few months back asking about support of the LPC2106, and that seemed to be
the first time anyone had investigated using RTEMS with an LPC device.
The LPC processors don't have much memory space, it looks like 512KByte of
flash memory and 32KByte of SRAM on the 2138. I think RTEMS will be a tight
squeeze in that amount of memory, and you will likely have to develop your
own board support package, and possibly your own drivers for the Ethernet
hardware.
You might be better off with an RTOS targetting smaller hardware than RTEMS,
like uC/OS-II which does have an LPC2138 port available.
http://www.ucos-ii.com/
The guy who originally wrote uC/OS also has a pretty good book which
introduces the concept of real time operating systems. I get the idea from
some of your questions that you do not have a great familiarity with embedded
design and embedded and real time operating systems, so that might be a good
starting point.
http://www.ucos-ii.com/frames/books.html
--
Chris Caudle
More information about the users
mailing list