I have a P2020RDB development board that runs Linux/Debian 2.6. I wish to develop my own application that runs on top of the OS running on this board. Note: that I do not wish to recompile the kernel or modify the BSP. I just want my own program to run on top of linux. How do I do that? Should I use CodWarrior to develop my program? and how will I transfer the binary to the board such that is is recognized by linux?
Yes, you can do Linux application debug with CodeWarrior for Power Architecture tools. In the CodeWarrior installation is a quick setup and start debugging document termed Quick Start Application Debug, which explains how to build the application in the Codewarrior IDE and debug it. However, be aware that CodeWarrior Linux tools support only the Red Hat and SuSE releases of Linux.
---Tom
I have done a bit of research and it seems there is something called the CodeWarrior Linux TRK that helps us develop and debug linux applications. My question is would the P2020RDB development board support this? And more importantly which version of CodeWarrior/LinuxTRK I should use for this particular development board?
Go to this CodeWarrior for Power Architecture page and look at the target processor matrix. There doesn't seem to be any support for Linux debug. (Actually the Linux support cell is blank, I have to look into this.) This page also mentions the supported Linux types and it turns out that I was in error: SuSE Linux (32-bit) is supported.
---Tom
I've checked with the engineers and you can do Linux debugging on this board. We are looking into updating the web page.
---Tom